Pesquisar no site de suporte

Evite golpes de suporte. Nunca pedimos que você ligue ou envie uma mensagem de texto para um número de telefone, ou compartilhe informações pessoais. Denuncie atividades suspeitas usando a opção “Denunciar abuso”.

Learn More

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

  • 1 resposta
  • 45 têm este problema
  • 8 visualizações
  • Última resposta de 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.

Todas as respostas (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