Jump to content
Not connected, Your IP:
Sign in to follow this  

Holistic approach to Firefox settings via user.js

Recommended Posts

I've came across with different settings via about:config and found them too tiresome, so I've decided to amend the existing user.js from ghacks

Short description is here:


In Firefox profile folder (


Help-> Troubleshooting information-> Profile directory


copy and save your current pref.js file. If something falls apart you can safely delete your user.js and replace  pref.js with its older version. It's important!!


The following part is my amendments to ghacks user.js.


user_pref("network.cookie.cookieBehavior", 1);


2- is too much, you cannot enter some websites with it. Or be ready to change it in user.js ( and in pref.js as it preserve previous user's choice) every time.


user_pref("network.cookie.lifetimePolicy", 2);


the commented option from original file was 0 (The originated server sets the cookie lifetime. (default))


user_pref("privacy.clearOnShutdown.cookies", true);


it was false on ghacks-user.js, but true was the good default option

I also uncommented related safebrowsing options, for example:


 user_pref("browser.safebrowsing.malware.enabled", false);
user_pref("browser.safebrowsing.phishing.enabled", false);


I like some old add-ons , so


user_pref("extensions.legacy.enabled", true);


For those, who prefer searching from the address string


user_pref("keyword.enabled", true);



Yes, this is invocation for DuckDuckGo


user_pref("browser.search.defaultenginename", "DuckDuckGo");

Share this post

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Security Check
    Play CAPTCHA Audio
    Refresh Image
Sign in to follow this  

  • Create New...