Prohledat stránky podpory

Vyhněte se podvodům. Za účelem poskytnutí podpory vás nikdy nežádáme, abyste zavolali nebo poslali SMS na nějaké telefonní číslo nebo abyste sdělili své osobní údaje. Jakékoliv podezřelé chování nám prosím nahlaste pomocí odkazu „Nahlásit zneužití“.

Learn More

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

  • 1 odpověď
  • 45 má tento problém
  • 8 zobrazení
  • Poslední odpověď od 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.

Všechny odpovědi (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