Sidebar plugin: add allow-popups-to-escape-sandbox to iframe sandbox

  • 5 April 2024
  • 1 reply


With the current sandboxing rules if you have a link that opens in a new window (which is allowed) using `target=”_blank”` the window opens but it is restricted to the same sandbox as the original iFrame. Adding `allow-popups-to-escape-sandbox` should allow that new window to break out of the sandbox.


This is useful because once you are out of the sidebar iframe allowing confirm and alert pop ups no longer has the risk that they will be confused with popups from the container page. Allowing these as well as downloading etc on the new page would be useful in a number of cases.


I understand that you should be able to use the SDK and the `openUrl` function that should function similarly, but depending on the application and use case updating the `target` on urls could be simpler solution.


I can add this to the ideas board as well, but this seems like more of a bug or oversight since the sandbox already includes `allow-popups`.


Best answer by jason 5 April 2024, 19:47

View original

1 reply

Userlevel 4
Badge +8

Thanks for the feedback. I would advise adding as a feature suggestion via our Product Ideas portal to ensure it’s in the best place for our Product and Engineering teams to review.