PopupBlocking
Allow certain websites to display popups and be redirected by third-party frames. Third-party redirect blocking is an extension of the pop-up blocker, so the same origins and settings apply to both.
Compatibility
Section titled “Compatibility”| Firefox | Firefox ESR | Firefox Enterprise |
|---|---|---|
| Available since 60 | Available since 60 | Available since 149 |
CCK2 Equivalent: permissions.popup
OMA-URI: PopupBlocking
Preferences Affected: dom.disable_open_during_load
Examples
Section titled “Examples”{ "policies": { "PopupBlocking": { "Allow": [ "https://example.org/", "https://example.edu/" ], "Default": true, "Locked": true } }}JSON schema
{ "type": "object", "properties": { "Allow": { "type": "array", "items": { "type": "string", "format": "uri", "pattern": "^([Ff][Ii][Ll][Ee]://.*|[Hh][Tt][Tt][Pp][Ss]?://[^/]+/?)$" } }, "Default": { "type": "boolean" }, "Locked": { "type": "boolean" } }}Values
Section titled “Values”Allowis a list of origins where popup-windows and third-party redirects are allowed.Defaultdetermines whether or not pop-up windows and third-party redirects are allowed by default.Lockedprevents the user from changing pop-up windows and third-party redirects preferences.
Windows (GPO)
Section titled “Windows (GPO)”Software\Policies\Mozilla\Firefox\PopupBlocking\Allow\1 = "https://example.org"Software\Policies\Mozilla\Firefox\PopupBlocking\Allow\2 = "https://example.edu"Software\Policies\Mozilla\Firefox\PopupBlocking\Default = 0x1 | 0x0Software\Policies\Mozilla\Firefox\PopupBlocking\Locked = 0x1 | 0x0<dict> <key>PopupBlocking</key> <dict> <key>Allow</key> <array> <string>http://example.org</string> <string>http://example.edu</string> </array> <key>Default</key> <true/> | <false/> <key>Locked</key> <true/> | <false/> </dict></dict>See also
Section titled “See also”- Pop-up blocker settings, exceptions and troubleshooting on support.mozilla.org