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

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

  • 1 resposta
  • 45 have this problem
  • 1 view
  • Last reply by 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