Friday 29 March 2013

Change Firefox preferences from the Developer Toolbar


Change Firefox preferences from the Developer Toolbar

By  on October 10, 2012 - Tags:
If you want to change advanced Firefox preferences you have two core options to do so. You can enter about:config in the address bar, confirm that you will be careful and edit away, or edit the prefs.js file located in your user profile directory manually instead when the browser is not running on the system.
Ken Saunders just informed me that there is a third option which I think is pretty cool. You can change preferences from the Firefox Developer Toolbar instead. This works well if you know the preference name and value that you want to set, and not so well if you do not.
The process itself however is faster and easier than that of the methods mentioned above. Let me explain how you would go about it.
You can open the Firefox Developer Toolbar with the Shift-F2 shortcut. This opens a small toolbar at the bottom of the page. It contains an input console as well as links to various tools that Mozilla integrated into the browser. All we need is the console.
The basic command to change a Firefox preference using the toolbar is the following: pref set name value
firefox developer toolbar preferences
The command pref set browser.tabs.onTop false will move the tabs below the address bar in the browser. It is really easy to use, and if you just want to browse a bit, you can do that by using the auto-complete feature here. Once you have entered pref set here you will see a list of suggested preferences that you can edit. When you start typing in characters, Firefox will automatically match what you type with the preferences, so that you only see matching preference suggestions here. When you find the one you are looking for, select it with a left mouse click or the up and down keys on the keyboard and enter to select. Some preference become active immediately, while others may require you to restart the browser before they do.
If you are a fast typer, of have copied the preference name before, you can speed up the editing of preferences in the browser significantly. Just hit shift-F2, enter pref set, paste in the preference name with Ctrl-V, and enter the value afterwards. You need to press enter to send the command to the browser. The first time you do that, you will a warning message that editing preferences can be dangerous. Just accept the warning, and you won't see the message again.
Enjoyed the article?: Then sign-up for our free newsletter or RSS feed to kick off your day with the latest technology news and tips, or share the article with your friends and contacts on Facebook, Twitter or Google+ using the icons below.

No comments:

Post a Comment