Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

How do I Install default popup exceptions when installing Firefox

  • 2 ответа
  • 1 имеет эту проблему
  • 1 просмотр
  • Последний ответ от aquateen

more options

I have some software that installs Firefox. I would like to include some default exceptions for the popup blocker on a new install. How can I do this?

I know the exceptions are stored in this file: permissions.sqlite. I can add and remove exceptions from this db file, but this file does not exist until the user first starts up Firefox for the first time on a new install.

I tried putting permissions.sqlite in the following locations to try and use it as a template without any luck. C:\Program Files\Mozilla Firefox\defaults C:\Program Files\Mozilla Firefox\defaults\pref C:\Program Files\Mozilla Firefox\defaults\profile

I would be very grateful for any help!!!

Cheers

Mark

I have some software that installs Firefox. I would like to include some default exceptions for the popup blocker on a new install. How can I do this? I know the exceptions are stored in this file: permissions.sqlite. I can add and remove exceptions from this db file, but this file does not exist until the user first starts up Firefox for the first time on a new install. I tried putting permissions.sqlite in the following locations to try and use it as a template without any luck. C:\Program Files\Mozilla Firefox\defaults C:\Program Files\Mozilla Firefox\defaults\pref C:\Program Files\Mozilla Firefox\defaults\profile I would be very grateful for any help!!! Cheers Mark

Все ответы (2)

more options

Creating the default\profile folder and placing the file(s) in this folder should work to initialize a new profile.

If you want to initialize prefs then you need to create a defaults\preferences folder.

more options

Yea I followed that link and even though it says that as of version 21 permissions.sqlite should go into C:\Program Files (x86)\Mozilla Firefox\defaults\profile NOT \browser\defaults\profile - it doesn't work. BUT if I put permissions.sqlite into \browser\defaults\profile... it works (version 22).

BTW I spent hours determining that since the link above seems to be only easy place to find for current information on doing this. However, I did find that the author of that site created a Firefox add-on called CCK which has a nice little GUI wizard that generates all of these settings for you. I only walked through the wizard, I never actually used it when deploying Firefox since permissions.sqlite was the last thing I had to figure out.

Изменено aquateen