Created
October 25, 2016 20:55
-
-
Save indolering/a62552a30e836a6db919ad306095f8c8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(document){ | |
try { | |
var h1 = document.createElement("h1"); | |
var text = document.createTextNode("Hello World!"); | |
h1.appendChild(text); | |
document.body.appendChild(h1); | |
document.title = "Hello World!"; | |
} catch (error) {} | |
} | |
console.log("Hello World!"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Also:
https://cdn.rawgit.com/indolering/a62552a30e836a6db919ad306095f8c8/raw/4e63206009491cc880428a313e497da87aaf3fdb/hello.js