News for hackers. Stuff that matters.
Re:Awesome Highlighter (YC summer 08) by wave on Sunday June 22, 2008 @11:48AM (#224249)
Congratulation to hooande. I remember when he mentioned it http://news.ycombinator.com/item?id=174900

Awesome Highlighter uses frames to view other websites and some websites prevent their pages to be viewed in someone else's frameset (if (top != self) top.location.href = 'example.com'). There is no way I know of to disable this and need to respect their wish not be viewed in frameset.

Re:Awesome Highlighter (YC summer 08) by grag on Sunday June 22, 2008 @03:42PM (#224379)
Actually they appear to be caching the pages, which is how they are able to detect what is highlighted (otherwise it would be cross domain scripting). So they could just have their caching script strip out that JS and problem solved.

I image that page caching could lead to problems with some sites though. I wanted to do something similar for a project I was working on but scrapped the idea because I couldn't get around the whole cross domain scripting issue, and caching just introduces a host of other problems.

Re:Awesome Highlighter (YC summer 08) by BrandonM on Sunday June 22, 2008 @12:55PM (#224285)
There's got to be a greasemonkey script or a Firefox plugin that disables this behavior. Perhaps Awesome Highlighter should link to one of these solutions.