搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Firefox 36 command line adjust popup exceptions list?

  • 3 回覆
  • 1 有這個問題
  • 15 次檢視
  • 最近回覆由 cor-el

more options

I'm stuck with Firefox version 36 with no options to change. I need to be able to send a config file or batch file to multiple users that will update the popups exceptions list with a specific site while leaving popup blocker enabled. I'm also running Windows XP (also stuck to this with no option of upgrade). I've tried using a hostperm.1 file with this line in it: "host popup 1 mysite.com" and this doesn't work. I've also tried adding it to the auto config file with this line: "pref("xpinstall.whitelist.add", "mysite.com");" but this doesn't work either. Is there a command line that will do this for me? Or another config file that will accomplish this?

Thanks, John

所有回覆 (3)

more options

Support for hostperm.1 has been removed a very long time ago from Firefox and has been replaced by an SQLite database file named permissions.sqlite.

more options

Hi cor-el - thanks for the post! I've read about the permissions.sqlite file but I don't know how to update it? Is it possible just to edit the file and then send to all users? Or some other command line way to update and get a site whitelisted?

more options

You can't edit the file. Only an SQLite database management utility can modify the file and possibly add the exceptions.

The SQLite Manager extension can do this in Firefox.

You can click the Directory button the select a different profile folder or use the current profile folder by default.