Hacker News new | ask | show | jobs
by T-Winsnes 1282 days ago
This reminds me of the 90s when sites where hosted inside iframes to inject ads. ISPs were notorious for doing this. Every site started running javascript to break out of iframes because of it. I'm not sure if this would work for you, but something like this could help you

if (window.location.hostname !== 'your host name') { window.location.replace('url on your website');

1 comments

Thanks for this reminder. You gotta love frames and the corresponding reloads.