![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
How do I disable Autocomplete using the config files - NOT by using Options>Privacy...
Hi, I have around 300 computers around the country which need the Autocomplete feature turning off for forms.
Obviously it wouldn't be practical to remote onto each machine and change the setting in Options > Privacy > Firefox Will... > Use custom settings for history > Remember search and form history - nor is it practical to use the about:config screen since the address and toolbars are disabled by default to prevent users from browsing to other pages they aren't meant to.
I was wondering if there was a config file or a registry setting where I can change this setting in the backgorund, that way we can push the config files or a registry tweak out the all machines that would change this setting.
Any help would be appreciated greatly.
Dan
Выбранное решение
I realised that you can't hide the autofill dropdown in CSS anyway so scrapped that idea.
I think that the following in the prefs.js file might have worked though, I am yet to try it on one of the PC's it will be pushed out to. It works on my machine as far as I can see though:
user_pref("browser.formfill.enable", false); user_pref("signon.rememberSignons", false); user_pref("signon. prefillForms", false);
Прочитайте этот ответ в контексте 👍 0Все ответы (4)
I see that you asked this also on the mozillaZine forum site.
Do those answers help?
I can see where those answers are going, there must be an easy way to do it using js config files or userChrome.css.though.
I tried doing an entry in userChrome whereby it hides the autocomplete box by overriding the pages stylesheet but the entry only seemed to work on a per domain basis... however the site that the browsers will be using is an intranet and therefore each PC will have a different URL to go to - making it impractical for masses of machines. Not sure if this can be worked upon to apply to every site?
Изменено
What code are you using?
Code in userChrome.css shouldn't be site specific as such code would go in userContent.css
Does setting browser.formfill.enable to false do what you want or do you want something else in case we misunderstand?
Выбранное решение
I realised that you can't hide the autofill dropdown in CSS anyway so scrapped that idea.
I think that the following in the prefs.js file might have worked though, I am yet to try it on one of the PC's it will be pushed out to. It works on my machine as far as I can see though:
user_pref("browser.formfill.enable", false); user_pref("signon.rememberSignons", false); user_pref("signon. prefillForms", false);
Изменено