msgbartop
News, views, tips and tricks on Oracle and other fun stuff
msgbarbottom

Firefox tips

I have a couple of Firefox tips I would like to share with you. First, to block sending referrer information, i.e. to stop sites you visit from seeing where you come from, follow these steps:

  1. In the address bar of your Firefox browser type: about:config and hit Enter.
  2. In the Filter input field type: network.http.sendRefererHeader.
  3. Double click on the preference name.
  4. Change the value from 2 to 0 and hit OK.

That’s it. In case you are wondering, 0 means don’t send any referrer information, 1 means send only on clicks and 2 means send on clicks and image requests.

For the second tip, consider this scenario: you have a URL wrapped over multiple lines. For example:

http://www.goo
gle.com/

Now, copy and paste the above URL (the two lines) into the address bar, you will end up only with the first line, the second line is gone. Your address bar will contain http://www.goo only. This behavior has always annoyed me. It turns out that there is a workaround, here it is:

  1. In the address bar of your Firefox browser type: about:config and hit Enter.
  2. In the Filter input field type: editor.singleLine.pasteNewlines.
  3. Double click on the preference name.
  4. Change the value from 1 to 3 and hit OK.

That’s it. Now, try to copy and paste the above URL (the two lines) into the address bar again. Voila! In case you are wondering again, 1 means paste first line only, 2 means replace new line characters with spaces and 3 means strip new line characters.

Do you have a useful Firefox tip? Please share.

Related links:
Pasting Wrapped URLs

Related articles:


Filed in Firefox, Tips on 17 Aug 05 | Tags:


Reader's Comments

  1. |

    WARNING: If you follow tip #1, you may find some websites unusable. Unfortunately, there are sites out there that use the referrer to try and validate requests to their site as being valid. If you disable referrers globally, those sites will probably block your attempts to access the site.

    This probably won’t affect your normal surfing, but could affect you using certain private web applications.

    NOTE TO DEVELOPERS: You should never develop code that uses the Http referrer as a security method. It’s neither secure, nor guaranteed to be available.

  2. |

    Dan, I completely agree with you. Thanks.

  3. |

    Thanks for this, very useful. I recently blogged about a Firefox feature I discovered. I’ll let you decide if it’s useful.

    http://www.orablogs.com/sergio/archives/001480.html

    Sergio

  4. |

    Seems very usefull! Being a newbe have a question though. Are there and witch differenties using tip 1 compared to using a proxy?

  5. |

    Here is the middle ground I discovered by accident, halfway between “Find Text as I Type” and “Ctrl-F”:

    http://tahitiviews.blogspot.com/2007/12/alternative-firefox-shortcut-for-find.html