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 பதிலளி
  • 45 இந்த பிரச்னைகள் உள்ளது
  • 1 view
  • Last reply by cor-el

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)

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