Blocked opening in a new window: the frame is sandboxed without allow-popups
The page in your frame tries to open a new window or tab. Your sandbox attribute does not have allow-popups, so the browser blocks it.
- Chrome
- Edge
- Firefox
- Safari
Updated
Blocked opening 'https://example.com/help' in a new window because the request was made in a sandboxed frame whose 'allow-popups' permission is not set.
A link with target="_blank" or a window.open() call does nothing.
Blocked opening 'https://example.com/help' in a new window because the request was made in a sandboxed frame whose 'allow-popups' permission is not set.
A link with target="_blank" or a window.open() call does nothing.
On this page
What it means
Why it happens
Check the page
See the headers the page sends now
Fix it if you own the site
<iframe src="https://example.com/" sandbox="allow-scripts allow-popups allow-popups-to-escape-sandbox" ></iframe>
Do not add allow-scripts and allow-same-origin together to a frame from your own origin. The page in the frame can then remove its own sandbox.
If you do not own the site
- Ask for the flag
Ask the owner of the embed code to add allow-popups to the sandbox attribute.
- Open the page in a new tab
Link to the page so it runs with no sandbox.