Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

allowing popup exception for local javascript files ("file://")

  • 1 baphendule
  • 45 zinale nkinga
  • 1 view
  • Igcine ukuphendulwa ngu cor-el

more options

I use Firefox to write local applications on my laptop. When doing so the URL always begins with file:///. When a local document is opened the output of document.domain is "domain." If I disable popup blocker my local html based application creates a new browser window and then two additional windows are opened in new tabs. This is what I want but I do not want to disable popup blocker, I want to add an exception. If popup blocker is enabled then only the new browser window is displayed.

I use Firefox to write local applications on my laptop. When doing so the URL always begins with file:///. When a local document is opened the output of document.domain is "domain." If I disable popup blocker my local html based application creates a new browser window and then two additional windows are opened in new tabs. This is what I want but I do not want to disable popup blocker, I want to add an exception. If popup blocker is enabled then only the new browser window is displayed.

All Replies (1)

more options

AFAIK then you can't make an exception for links opened via the file:// protocol
You need to open such links via http://localhost