View Single Post
Old 03-24-2020, 03:29 AM  
Denny
Too lazy to set a custom title
 
Denny's Avatar
 
Industry Role:
Join Date: Feb 2005
Posts: 17,090
Quote:
Originally Posted by xxx6live View Post
You could try experimenting with the "sandbox" attribute, if you don't need scripts at all just add 'sandbox' in the iframe tag. Someone did this when embedding one of my sites, to stop the popup blocking JavaScript from working

https://www.w3schools.com/tags/att_iframe_sandbox.asp
.
Yes, this should work but I noticed it doesn't work if a visitor uses Firefox and your site is behind Cloudflare.
__________________
Denny is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote