Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Whimisical parsing

  • Loading branch information...
commit 2a78d90aeef6f843f477f652126de9b4c1b32fd4 1 parent 1701ea7
Jack Pearkes pearkes authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 html7.js
7 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 added a note

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
+}
+
+// Parse the HTML7
+window.onload = parse;

1 comment on commit 2a78d90

Erik Michaels-Ober

LOL!

makc

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.

Please sign in to comment.
Something went wrong with that request. Please try again.