Showing posts with label firefox. Show all posts
Showing posts with label firefox. Show all posts

Saturday, 19 August 2017

[firefox] View Source in your favorite editor



To view source code of any website in your favorite source editor:
You can do this by changing 2 hidden preferences.
- Type about:config into the location bar and press enter.
- Accept the warning message that appears, you will be taken to a list of preferences
- In the filter box type view_source
- Double-click on view_source.editor.external to change its value to true.
- Double-click on view_source.editor.path and set it to C:\Program Files\Notepad++\notepad++.exe (if Notepad++ is stored elsewhere change that to where it is stored or you can choose any editor of your preference)

Cheers,

Friday, 11 August 2017

Firefox shortcuts to make your life easier

Search in your opened tabs, enter the % in URL bar



Find Links As You Type ' (apostrophe)
Find Text As You Type /
Open Manage Bookmarks Window Ctrl+B
Add Page to Bookmarks Ctrl+D
Reload Ctrl+R
Force Reload (not from cache) Ctrl+Shift+R
Location Bar Ctrl+L
Move to Next/Previous Link or Form Element in a Web Page Tab/Shift+Tab
Full Screen (toggle) F11
Zoom Text Smaller Ctrl+- (minus sign)
Zoom Text Larger Ctrl+= (plus sign)
View Page Source Ctrl+U

Use pipelining to speed up your Firefox browser

If you have a broadband connection (and most of us do), you can use pipelining to speed up your page loads. This allows Firefox to load multiple things on a page at once, instead of one at a time (by default, it’s optimized for dialup connections). Here’s how:



    Type “about:config” into the address bar and hit return. Type “network.http” in the filter field, and change the following settings (double-click on them to change them):

=>    Set “network.http.pipelining” to “true”
=>    Set “network.http.proxy.pipelining” to “true”
=>    Set “network.http.pipelining.maxrequests” to a number like 30.

This will allow it to make 30 requests at once.
Also, right-click anywhere and select New-> Integer. Name it “nglayout.initialpaint.delay” and set its value to “0″. This value is the amount of time the browser waits before it acts on information it receives.

Using Applescript to open multiple tabs

Hi,

After starting the machine, we feel to open Mozilla/Safari for browsing our favorite websites. So, we need to open the each tab again and again and enter the url or click on bookmark of our favorite website. This task can be make simpler by using AppleScript.



Here is the code

[code]
tell application "Safari"
open location "http://coding-scripting.blogspot.co.in"
open location "http://www.google.com/"
open location "http://www.nokia.com/"
open location "http://www.yahoo.com/"
end tell
[/code]

In same manner, you can use Firefox application, if you are firefox lover. Just replace Safari with Firefox.