Showing posts with label Firefox Tricks. Show all posts
Showing posts with label Firefox Tricks. Show all posts

Modify the Firefox interface with user Chrome.css

If you want to do some serious Modifying  to the Firefox interface, you're going to have to get your hands dirty and edit a file called userChrome.css. This file is a cascading style sheet and contains instructions on how the Firefox interface should display.

Before you can edit the file, though, you need to create it, because by default, Firefox doesn't create one for you. You'll need to take an existing .css file, and rename it to userChrome.css. In Windows Vista, go to C:\Users\Your Name\AppData\Roaming\Mozilla\Firefox\Profiles\xxxxxxxx.default\chrome, where Your Name is your account name, and the .xxxxxxxx is a random selection of eight characters.

In Windows XP, go to C:\Documents and Settings\Your Name\Application Data\Mozilla\Firefox\Profiles\default.xxxxxxxx\chrome, where Your Name is your XP account name, and the .xxxxxxxx will be a random selection of characters. In the folder, you'll find a file called userChrome-example.css. Rename that userChrome.css, and you'll be ready to start editing.


Note: The Application Data folder may not be visible to you unless you have checked the option to display hidden files and folders. To do this from a folder window, click on Tools and select Folder Options, then click on View, then select the radio button for Show hidden files and folders.

The userChrome-example.css file is a plain-text file, so you'll edit it with a text editor such as Notepad or an alternative. As you'll see in the following tricks, you'll add code and text to the userChrome.css file in order to change the Firefox interface.

It's a good idea, when inserting the code, to include a reminder so that later you remember what that code does. The file userChrome.css will ignore your reminder and won't try to interpret it as code. To create a reminder, surround your comments with /* to begin and */ to end, like this:



/* This is a comment */


The userChrome.css file will ignore everything inside the /* and */.

With that background under your belt, it's time to teach Firefox some new tricks.

Download New version of Firefox

Click on this link to new version of Firefox



Load a bookmarked Web page in the sidebar

If you've bookmarked a Web page, when you visit it next, you can have Firefox load it in the Sidebar, rather than in your main browser area. To do that, right-click the bookmark that you want to load in the Sidebar, select Properties, check the box marked "Load this bookmark in the sidebar," then click OK. When you then select the bookmark to go to the site, the site will load in the Sidebar. You may need to expand the width of the sidebar by dragging the right edge, to get the site to display properly. The nearby figure shows one site loaded in the Sidebar and another in the main browsing area.


Modify or setup Firefox printing

Firefox offers quite a bit of control over how you print your Web pages, including printing headers and footers, what to put in those headers and footers, page margins and a good deal more. To customize printing, choose File-->Page Setup. Click the Margins & Header/Footer tab, and you'll see a screen like that shown nearby.


Most of this is pretty self-explanatory. The top part of the screen lets you set the margins along the top, bottom and sides of the page. The bottom part lets you choose whether to print headers and footers, and choose to print text such as the URL of the page, the date and the time, and so on. Just make your selection from the drop-down list.

You're not stuck with just what's on the drop-down list, either. You can customize your printing as well. Select Custom from any of the drop-down lists, and a Custom text box appears. Whatever text you type in that box will appear when you print. The power of this becomes apparent when you combine this with special codes that use variables. Following are the list of variables you can put into the text box and what they'll do:


Printing shortcuts
Variable
What it prints
&PTPage number and total number of pages (for example: "1 of 4")
&PPage number
&DDate
&UURL
&TPage title

You can combine these codes with text. So, for example, if you visited a Web page on Dec. 15, 2008, the Web page was five printed pages long and you typed in this code:

Preston printed &P on &D

this is what you'd see on page 3 of the printout:

Preston printed 3 of 5 on 12/15/2008

List of Firefox keyboard shortcuts

Quit mousing around when you use Firefox -- get work done faster with the following keyboard shortcuts.

General shortcuts
Keyboard shortcut
What it does
Ctrl-DAdd bookmarks
Ctrl-BDisplay bookmarks in the sidebar
Ctrl-JDisplay downloads
F11Full screen view
Ctrl-HDisplay history
Ctrl-PPrint
F5Refresh page
Navigation shortcuts
Keyboard shortcut
What it does
Alt-Left ArrowBack
Alt-Right ArrowForward
Ctrl-OFile Open
F6Next Frame
Shift-F6Previous Frame
Alt-HomeGo to Home Page
Ctrl-LGo to the Address Bar
Ctrl-KGo to the Search Box
EscStop
Ctrl-TOpen a tab
Ctrl-WClose a tab
Ctrl-TabGo to the next tab
Ctrl-Shift-TabGo to the previous tab
Ctrl- (1-9)Select a specific tab
Alt-F4Close a window
Ctrl-NOpen a new window
Text shortcuts
Keyboard shortcut
What it does
Ctrl-CCopy
Ctrl plus -Decrease text size
Ctrl plus +Increase text size
Ctrl-0Return to text size default

Limit Firefox's use of RAM

Does Firefox use up too much of your RAM? Teach it to behave by limiting the amount of RAM it uses. To do it:
  1. Type about:config into your address bar and hit Enter.
  2. In the Filter text box, at the top of the page, type browser.cache.
  3. Double-click the "browser.cache.memory.capacity" entry.
  4. The default is 50000. If you don't have a lot of memory on your system, for example, between 512MB and 1GB, change the number to 15000 and click OK.

How to Protect privacy when surfing with Firefox


When you surf the Internet, your life is an open book. Web sites can gather an astonishing amount of information about you, including tracking your online travels, knowing what operating system and browser you're running, finding out your machine name, uncovering the last sites you've visited, and examining your IP address and using that to learn basic information about you such as your geographic location and more.

There's a simple way to keep that information away from prying Web sites -- use the FoxTor add-in. It uses Tor software to, in essence, bounce all of your communications around a giant network of Tor servers called "onion routers" until it's impossible for sites or people to be able to track your activities.

First, you need to install the free software Tor. Download it, and install Tor and the included Privoxy, a proxy program. It's all self-explanatory.

Once you do that, install the FoxTor add-in. After you install it, you'll see your Tor status on the lower-left corner of the screen, either Unmasked (which means you're not protected), or Masked (which means you are protected). To toggle between modes, click the corner.

Other link click here

How to Remove Firefox menu items

How to Remove Firefox menu items

Are there menu items -- for example, Help -- that you never use? If so, you can easily make them disappear. To remove the Help menu, add this to userChrome.css:

/* Remove the Help menu */
menu[label="Help"] {
display: none !important; }

You can remove any of the other menus as well. Use the same syntax as above and substitute its name (File, Edit, View, History, Bookmarks or Tools). So, for example, to remove both the Help and Tools menu, you'd add these lines to userChrome.css:

/* Remove the Help and Tools menus */
menu[label="Tools"], menu[label="Help"] {
display: none !important; }


Put your own photo on the Firefox tool bar

Put your own photo on the Firefox tool bar

If you don't like the plain background of Firefox's tool bar, don't worry -- you can put your own graphic there. Type the following into the userChrome.css file and put the graphic that you want to use, background.gif, in the same directory as userChrome.css. The graphic can be any name and any type of image file supported by Firefox.

Here's the code to use:


/* Change the toolbar graphic */
menubar, toolbox, toolbar, .tabbrowser-tabs {
   background-image: url("background.gif") !important;
   background-color: none !important;
   }


The graphic you use will automatically be scaled to fit the tool bar. For example, if it's small, it will be tiled.

Use keywords to speed up bookmarks

Use keywords to speed up bookmarks
Visiting your favorite sites using Firefox's bookmarks is far too much of a chore -- do you really want to do all that mousing around? Instead, you can use keywords to instantly jump to any site you've bookmarked. To do it, after you bookmark a site, right-click on the bookmark, select Properties, type in a short keyword (or even just a letter or two) in the keyword field and click OK. Now, to visit the site, type in the keyword in Firefox's address bar, and you'll jump straight to the site.




Speed up Firefox with pipelining

Here's a simple way to speed up Web browsing with Firefox -- turn on its hidden pipelining feature. When you turn on pipelining, you send several requests to a Web server at a time, rather than sending them one by one, so you can load multiple items on a page concurrently. By default, pipelining is turned off in Firefox, but it's easy to turn it on:

  • Type about:config into your address bar and hit Enter.
  • In the Filter text box, at the top of the page, type network.http. A list of settings appears, as you can see in the nearby figure.
  • Double-click the "network.http.pipelining" setting, to change it to true.
  • Double-click the "network.http.proxy.pipelining" setting, to change it to true.
  • Double-click the "network.http.pipelining.maxrequests" setting, and in the text box that appears, type in 8 and click OK.
Note that not all Web servers can handle pipelining. If for some reason, you find that your performance suffers with it turned on, reverse the above steps to turn it off.

Click on photo for Zoom

Build own Firefox search engine

Build your own Firefox search engine

Want to power up Firefox's search box? It's easy to create your own search engine, so that you can rifle through any site from right within Firefox. Adding a search engine that has already been written, of course, is easy. Click the down arrow to the left of the search box, select "Manage Search Engines," then click the "Get more search engines" link at the bottom of the screen. From the Web site that appears, click the search engine you want to install, and you're done.

There are plenty of sites that don't have prebuilt search engines, though. No problem: It's easy to build your own search engine. First install the OpenSearchFox add-on. Then, when you're on a search site, right-click the search box and choose the Add OpenSearch plug-in. From the screen that appears (shown below), type in the name that you want to be associated with the search engine, add a description of the search engine and click Next. Then click Finish, and the site will be added as a search engine that you can choose like any other -- by clicking the arrow to the left of the search box and selecting the engine.

Note that as of this writing, OpenSearchFox doesn't work properly with Firefox v. 2.0.0.10 or 2.0.0.11, although it may be fixed as you read this. When you use the add-on in v. 2.0.0.1 or 2.0.0.11, you'll get an error message after you click Finish, although in some instances, even if you get the error message, the search engine will still be added.

Use keywords to speed up your searching
Don't want to go to the trouble of adding your search engine -- or you can't get OpenSearchFox to work properly? Here's another way to do an instant search. When you're at a site, right-click on its search box and select "Add a Keyword for this Search." Type in a name for it and an easy-to-remember shortcut (for example, hp for the Huffington Post blog site). Then click OK. Now, to search the site, go to the Address Bar, and type in your shortcut, followed by a search term, such as hp Clinton. You'll search the site, just as if you were there. Note that on occasion, the search won't work properly, but it will on most sites.

 
Worlds best tips and tricks website