3 ms·
if (window.top !== window) { window.top.location = window.location } It's useful if your website is being iframed to display ads or exploited with
by abrkn 14y ago
if (window.top !== window) {
window.top.location = window.location
}
It's useful if your website is being iframed to display ads or exploited with cross window communication security holes (old school)
http://i.imgur.com/ePFbiIT.png http://i.imgur.com/ePFbiIT.png
- justindocanto 14y agoWould it be wrong of me to implement on the site to prevent that from happening? haha