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?
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.
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.
Add <file> to the allowed list under Preferences/Options -> Content -> Block pop-up windows... Exceptions.
edit: This no longer works, see comments
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With