Toshiba Help Center

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Monday, 25 June 2007

Hacking Firefox: The secrets of about:config User Interface

Posted on 20:38 by Unknown
Make the user interface behave

Another big reason people hack Firefox's settings is to modify the user interface -- either to make it a little easier to do something, or to revert to a behavior that was prevalent in Version 1.x but changed in 2.0.

Get case-sensitive, in-page searches
The integer preference accessibility.typeaheadfind.casesensitive controls how Firefox's "Find as You Type" feature behaves. The default is 0 for case-insensitive searches; set it to 1 for case-sensitive matching.

Control address bar searches
You may have noticed that if you type something into Firefox's address bar that's not an address (a "keyword"), Firefox typically passes it on to Google as an "I'm Feeling Lucky" search term. The exact search engine string to use is defined in the string preference keyword.URL; if you want to change it to something else, you can simply edit this string.

For instance, to make Microsoft's Live.com the default keyword search, set this string to
http://search.live.com/results.aspx?q=

For a Yahoo search, it would be
http://search.yahoo.com/search?p=

If you want to restore the default search, use
http://www.google.com/search?ie=UTF-8&oe=
UTF-8&sourceid=navclient&gfns=1&q=

Finally, if you want to turn this address-bar keyword functionality off altogether, set the Boolean preference keyword.enabled to false.

Note that with Google, the more generic the keyword, the less likely it is to be used as an "I'm Feeling Lucky" search -- although what constitutes "generic" isn't always clear. For instance, typing "clean" into the address bar returns a generic Google search page, but "sideways" takes me to the Internet Movie Database entry for the movie of that name (the "I'm Feeling Lucky" result). Your mileage will almost certainly vary.

Select just a word
The Boolean preference layout.word_select.eat_space_to_next_word governs one of Firefox's tiny, but for me incredibly annoying, little behaviors. When you double-click on a word in a Web page to select it, Firefox automatically includes the space after the word. Most of the time I don't want that; I just want the selection to stop at the end of the word. Setting this to false will defeat that behavior.

Select a word and its punctuation
Somewhat contrarily, if you double-click a word that's next to any kind of punctuation mark, Firefox defaults to selecting only the word itself, not its adjacent punctuation. Set the Boolean preference layout.word_select.stop_at_punctuation to false to select the word and its adjacent punctuation.

Get Alt-hotkey shortcuts back
One minor change in Firefox 2 was the way in which form elements on a Web page had hotkey bindings assigned to them. In Firefox 1.x, when a Web page assigned a hotkey to a form element, you pressed Alt-hotkey to access it. In Version 2.x, this was changed to Alt-Shift-hotkey. To revert to the original 1.x behavior, set the integer preference ui.key.contentAccess to 4. This is useful if you have, for instance, a Web-based interface you spend a lot of time in, and use Alt-key bindings to do things quickly in that particular page.

Note that one possible consequence of setting this back to the old behavior is that Alt-key bindings on a Web page can now override the default key sequences for the program itself (such as Alt-S for History), but you can always get around this by tapping Alt to activate the menu and then tapping the program hotkey in question.

Change scrollbar behavior
By default, clicking in the empty areas of the Firefox window's scrollbar will simply cause the view to move up or down one page. You can change this behavior by creating a Boolean preference called ui.scrollToClick and setting its value to true. Now clicking in a scrollbar will cause the view to jump directly to that point in the page (basically the same as dragging the scrollbar to that position).

Get click-and-hold context menus back (for Macs only)
If you want to restore the classic click-and-hold context-menu behavior on the Macintosh, edit or create the Boolean preference ui.click_hold_context_menus and set it to true.



Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Toshiba's stylish Tekbright 7 digital photo frame
    As the barrage of new Toshiba gear continues to flow from Paris, along comes a device that we ...
  • 20 Open Source Windows Apps For You
    Some of the commercial software like Photoshop are so expensive that an average user can not afford to buy it. Lately I am looking for some ...
  • Mortgage insurance
    Mortgage Life Insurance refers to an insurance policy that guarantees repayment of a mortgage loan in the event of death or, possibly, di...
  • So You Want To Be An Affiliate Marketer
    If you're like 99% of the population, you have some interest that you are passionate about. Maybe it's travel, or sports or animals....
  • Windows XP Home and Professional Command Line Commands | Run Line Commands
    One big negative of being a desktop specialist can be the daunting task for browsing through multiple directorys and/or shortcuts to find ma...
  • Money
    Economics offers various definitions for money, though it is now commonly defined as any good or token that functions as a medium of exchang...
  • Performance bond
    A performance bond is a surety bond issued by an insurance company to guarantee satisfactory completion of a project by a contractor. For ex...
  • MBA
    Master of Business Administration (MBA) is a master’s degree in business administration, which attracts people from a wide range of academic...
  • Steam Powered Car to Hit 200MPH
    This is the Inspiration, the British steam powered car that is attempting to take the British and World land speed records (for steam vehicl...
  • Asian currencies get lift from rising shares
    BEIJING: Rising Asian shares buoyed most regional currencies on Friday, with the Philippine peso leading the pack after the central bank in...

Categories

  • accessories
  • aid
  • application
  • banks
  • broker
  • business
  • business.news
  • casual
  • credit
  • education
  • firefox
  • forex
  • gadgets
  • games
  • help
  • internet
  • laws
  • linux
  • mechanical
  • media
  • microsoft
  • mobile
  • newa
  • news
  • online
  • scripts
  • technology
  • tems
  • terms
  • training
  • windows application
  • windows tweaks

Blog Archive

  • ▼  2007 (149)
    • ►  August (14)
    • ►  July (120)
    • ▼  June (15)
      • How do you burn a 760mb iso file into a 700mb cd-r...
      • How to copy a DVD
      • The folder option in my control panel has been dis...
      • How to Install Windows Vista-illustrated
      • How Do I Add A Logo And Support Information To My ...
      • How Do I Install Windows XP-illustrated For Beginner
      • High Yield Investment Program
      • Hacking Firefox: The secrets of about:config Stop ...
      • Hacking Firefox: The secrets of about:config Hack ...
      • Hacking Firefox: The secrets of about:config User ...
      • Hacking Firefox: The secrets of about:config Tabbe...
      • Hacking Firefox: The secrets of about:config Speed up
      • Hacking Firefox: The secrets of about:config
      • Investment
      • MBA
Powered by Blogger.

About Me

Unknown
View my complete profile