Re:HN reader
by simonw on Friday December 23, 2011 @09:37AM
(#3385793)
Wow, it looks like a surprisingly large number of sites refuse to be framed. Shouldn't be too much of a surprise when you consider the threat of click-jacking, but interesting to see none-the-less.
[ Parent
| on HN ]
Yes, I've written my own HN reader as well as other apps using iframes...and basically the situation sucks.
With a reader like this, you have two real options: * Include regular iframes and risk an increasing number of sites opting out with JavaScript or (more politely) an X-Frame-Options header. * Use <iframe sandbox> to prevent people busting out of it with JavaScript. But that stops all JavaScript, so apps and videos won't show up.
Pity. iFrames have so many great uses like this Reader. Browsers really need to deal with the clickjacking problem instead of forcing everyone to bust out of them and making sites like this unusable.
Why not use separate windows?
Poor user experience. I like articles sliding in and out.
Re:HN reader
by chrisfarms on Friday December 23, 2011 @10:33AM
(#3385949)
Yeah that's a real show stopper ... otherwise I'd use this all day.
Guess standalone app is the only route to avoid this? I think even Chrome extensions couldn't get around this since they dropped the experimental sidebar thing :/