News for hackers. Stuff that matters.
Re:Show HN: TopLevel – A New Way to JavaScript Your HTML by barosl on Thursday June 05, 2014 @01:38AM (#7850399)
By looking the code, the script injects <plaintext> tag while being loaded. So, all the HTML followed by the script element will lose their meanings, just to be rendered as a plain text.

Due to the approach, I guess the start and end tags don't need to be <!-- and -->. It can be anything. The only reason they chose them I guess is that it relieves confusion, though I still think the insertion of the comments in the regular HTML tags looks a bit weird.

Re:Show HN: TopLevel – A New Way to JavaScript Your HTML by kristopolous on Thursday June 05, 2014 @01:47AM (#7850419)
I'm trying to incur the smallest impact possible on existing scrapers and give a solution which could still be used to make validating HTML.