Permalink
Browse files

Whimisical parsing

  • Loading branch information...
1 parent 1701ea7 commit 2a78d90aeef6f843f477f652126de9b4c1b32fd4 @pearkes pearkes committed May 28, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 html7.js
View
@@ -0,0 +1,7 @@
+function parse() {
+ document.removeChild(document.documentElement);
+ document.write('<h1 style="font-size: 200px;">You\'re an idiot.</h1>');
makc
makc May 30, 2012

I think the description in readme is misleading, this script actually writes an insult to current document (see line 3) instead of adding support for all those tags. I propose that either readme or this script should be changed to be consistent with each other.

+}
+
+// Parse the HTML7
+window.onload = parse;

1 comment on commit 2a78d90

sferik commented on 2a78d90 May 28, 2012

LOL!

Please sign in to comment.