Need to be able to set `sandbox` property to empty string
See original GitHub issueI have an application using this component which renders a PDF inside an IFRAME. This component seems to set the sandbox
property (at least in Chrome) to be wide open:
sandbox="allow-forms allow-pointer-lock allow-popups allow-same-origin allow-scripts allow-top-navigation"
I had to remove this component and replace it with a basic HTML <iframe> tag to get the PDF to render so I could set the sandbox attribute to be blank.
Help?
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Need to be able to set sandbox property to empty string #35
I have an application using this component which renders a PDF inside an IFRAME. This component seems to set the sandbox property (at...
Read more >Add HTML5 sandbox attribute to an iframe using Javascript
href) i need to set the attribute sandbox="allow-forms allow-scripts allow-same-origin , because the framed site "deframes". How to set location ...
Read more >Play safely in sandboxed IFrames - web.dev
Constructing a rich experience on today's web almost unavoidably involves embedding components and content over which you have no real ...
Read more >HTML DOM IFrame sandbox Property - W3Schools
The sandbox attribute is used to enable security restrictions for iframes with untrusted content (such as scripts and forms). If specified as an...
Read more >iFrame sandbox permissions tutorial | Google Cloud Blog
We'll need to be able to serve both HTML and JS for this demo. To do this, I whipped up a function to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Good idea, will implement!
man. 24. sep. 2018 kl. 19:18 skrev gtwilliams03 notifications@github.com:
– Mvh, Sven Anders Robbestad https://www.robbestad.com http://www.robbestad.com/
I updated and all is well with me! Many, many thanks!