Re:Show HN: Hacker News 2.0 - A Work in Progress
by zupreme on Sunday April 22, 2012 @04:48PM
(#3876032)
Next up: Handling sites gracefully that employ frame busting methods. I don't mind the ones that break out of the frame and redirect the visitor to their site - if they wish to do that, then that's fine by me.
What I need to figure out is how to best handle the sites that simply refuse to show their content. I'm thinking that, I should create a Javascript event that will just forward the user to that site (window.location = xxx) in the event that the site refuses to show content in an iframe. That way the user still gets to the content they want without interruption.
Does anyone have any feedback on that approach, or can anyone suggest a different one?
What I need to figure out is how to best handle the sites that simply refuse to show their content. I'm thinking that, I should create a Javascript event that will just forward the user to that site (window.location = xxx) in the event that the site refuses to show content in an iframe. That way the user still gets to the content they want without interruption.
Does anyone have any feedback on that approach, or can anyone suggest a different one?