X
Tap here to go to the mobile version of the site.
Your Firefox is out of date and may contain a security risk! Upgrade Firefox

Support Forum

How do I add a website to the popup blocker exception list using a command prompt?

Posted

I have many users with Firefox 2. I need a specific web site to be allowed for popups if their popup blocker is turned on. I need to be able to execute this command in a script which will run from a command prompt when the user logs in.

Chosen solution

I don't think that you can do that.

However Firefox 2.0 version use a text file hostperm.1 to store the exceptions.

See http://kb.mozillazine.org/hostperm.1

Read this answer in context 0

Additional System Details

Application

  • User Agent:

More Information

cor-el
  • Top 10 Contributor
  • Moderator
10749 solutions 96724 answers

Chosen Solution

I don't think that you can do that.

However Firefox 2.0 version use a text file hostperm.1 to store the exceptions.

See http://kb.mozillazine.org/hostperm.1

Question owner

cor-el,

The link you sent gave me all the details I needed for Firefox 2. The hostperm.1 file is a text file. I was able to use the Copy command in a script to combine hostperm.1 file with a text file containing the website I needed.

Firefox 3 looks like it uses a database for that function, so I think you're right that it's not do-able in that version.

Thanks!

cor-el
  • Top 10 Contributor
  • Moderator
10749 solutions 96724 answers

You're welcome