Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I allow pop-ups from local files (file:/// addresses) in Firefox 5?

I've created an HTML file on my local machine that I open using a file:/// address. It includes JavaScript that opens new browser windows using window.open().

When I view this page in Firefox 5, the pop-up blocker blocks the new window. I can't override this behavior; clicking the pop-up blocker "Preferences" shows a menu item "Allow pop-ups for", which has no effect.

How do I allow pop-ups for file:/// addresses in Firefox 5?

like image 277
Russell Silva Avatar asked Aug 09 '11 17:08

Russell Silva


People also ask

How do I block pop-ups from a specific site in Firefox?

Click Privacy & Security located on the left side. Select Block pop-up windows below the Permissions section. To allow pop-ups for all sites, clear the check box for Block pop-up windows. To allow or block pop-ups for a specific site, click the Exceptions box and enter the site address.

How do I allow pop-ups on Firefox Android?

Open Firefox. Tap the hamburger menu button at the bottom. Swipe left, and then choose Settings. Turn on the toggle for Block Pop-up Windows to block pop-ups, or turn it off to allow pop-ups.


1 Answers

Add <file> to the allowed list under Preferences/Options -> Content -> Block pop-up windows... Exceptions.

edit: This no longer works, see comments

like image 166
ST0 Avatar answered Sep 21 '22 04:09

ST0