This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Mozilla Support में खोजें

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

clear all history with user_pref

  • 4 प्रत्युत्तर
  • 2
  • 16 views
  • के द्वारा अंतिम प्रतियुतर cor-el

more options

Hello,

At work we use Firefox with an different profile configured for an internal need. there is this user.js file:

user_pref("startup.homepage_override_url", "http://10.0.1.26:8888"); user_pref("startup.homepage_welcome_url", "http://10.0.1.26:8888"); user_pref("javascript.enabled", true); user_pref("app.update.enabled", false); user_pref("browser.startup.homepage", "http://10.0.1.26:8888"); user_pref("accessibility.browsewithcaret", false); user_pref("browser.cache.disk.enable", false); user_pref("browser.popups.showPopupBlocker", false); user_pref("browser.cache.memory.enable", false); user_pref("browser.shell.checkDefaultBrowser", false); user_pref("browser.backspace_action", 2); user_pref("privacy.popups.disable_from_plugins", 0); user_pref("privacy.sanitize.sanitizeOnShutdown", true); user_pref("update_notifications.enabled", false); user_pref("browser.tabs.showSingleWindowModePrefs", true); user_pref("accessibility.browsewithcaret_shortcut.enabled", false); user_pref("plugins.hide_infobar_for_outdated_plugin", true); user_pref("extensions.blocklist.enabled", false); user_pref("browser.newtabpage.enabled", false); user_pref("browser.newtab.url", "http://10.0.1.26:8888"); user_pref("browser.tabs.autoHide", false); user_pref("zoom.minPercent", 100); user_pref("zoom.maxPercent", 100);

In some cases, (some) users are asked to save the password, and if they save it they don't need to re-fill the field despite there is:

user_pref("privacy.sanitize.sanitizeOnShutdown", true);

in user.js

does someone have an idea? And is there any other way to avoid password saving or enforce clearing passwords.

Thanks

Sam

Hello, At work we use Firefox with an different profile configured for an internal need. there is this user.js file: user_pref("startup.homepage_override_url", "http://10.0.1.26:8888"); user_pref("startup.homepage_welcome_url", "http://10.0.1.26:8888"); user_pref("javascript.enabled", true); user_pref("app.update.enabled", false); user_pref("browser.startup.homepage", "http://10.0.1.26:8888"); user_pref("accessibility.browsewithcaret", false); user_pref("browser.cache.disk.enable", false); user_pref("browser.popups.showPopupBlocker", false); user_pref("browser.cache.memory.enable", false); user_pref("browser.shell.checkDefaultBrowser", false); user_pref("browser.backspace_action", 2); user_pref("privacy.popups.disable_from_plugins", 0); user_pref("privacy.sanitize.sanitizeOnShutdown", true); user_pref("update_notifications.enabled", false); user_pref("browser.tabs.showSingleWindowModePrefs", true); user_pref("accessibility.browsewithcaret_shortcut.enabled", false); user_pref("plugins.hide_infobar_for_outdated_plugin", true); user_pref("extensions.blocklist.enabled", false); user_pref("browser.newtabpage.enabled", false); user_pref("browser.newtab.url", "http://10.0.1.26:8888"); user_pref("browser.tabs.autoHide", false); user_pref("zoom.minPercent", 100); user_pref("zoom.maxPercent", 100); In some cases, (some) users are asked to save the password, and if they save it they don't need to re-fill the field despite there is: user_pref("privacy.sanitize.sanitizeOnShutdown", true); in user.js does someone have an idea? And is there any other way to avoid password saving or enforce clearing passwords. Thanks Sam

NiteSupport द्वारा सम्पादित

All Replies (4)

more options

Hello,

use also the next and check it again :

  • user_pref("privacy.item.passwords", true);


thank you

more options

Why would you want to disable the memory cache?

user_pref("browser.cache.memory.enable", false);

You would have to set this pref ot remove stored passwords:

  • user_pref('privacy.clearOnShutdown.passwords", true);

Note that details like websites remembering you (log you in automatically) are stored in a cookie. So you would have to clear cookies or let cookies expire when you close Firefox to prevent this from happening.

cor-el द्वारा सम्पादित

more options

Hello,

Thanks a lot, it works fine.

@cor-el, I don't know why the cache memory is disable, the "app" why configured for us by an external company for different purpose, both internet and intranet. So i don't want to touch this. The password in all cases doesn't have to be saved.

Thanks Sam

more options

It would make more sense to disable the disk cache than the memory cache if you compare that with clearing possible stored passwords (prevent Firefox from storing personal data) unless you want to force Firefox to store all data in the disk cache by disabling the memory cache.

Note that Firefox will disable the disk cache if you use "Clear history when Firefox closes" to clear the Cache (see the about:cache page)