搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How do I disable Autocomplete using the config files - NOT by using Options>Privacy...

  • 4 个回答
  • 1 人有此问题
  • 93 次查看
  • 最后回复者为 x2i4eva

more options

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

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)

more options

I see that you asked this also on the mozillaZine forum site.

Do those answers help?

more options

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?

由x2i4eva于修改

more options

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?

more options

选择的解决方案

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);

由x2i4eva于修改