Created
September 30, 2014 17:45
-
-
Save matiascarranza/ddffc3dd8ad1426de88b to your computer and use it in GitHub Desktop.
Unleash the Gremlings
This file contains hidden or 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
// Bookmarklet Gremling | |
javascript: (function() { | |
function callback() { | |
gremlins.createHorde().unleash() | |
} | |
var s = document.createElement("script"); | |
s.src = "https://rawgithub.com/marmelab/gremlins.js/master/gremlins.min.js"; | |
if (s.addEventListener) { | |
s.addEventListener("load", callback, false) | |
} else if (s.readyState) { | |
s.onreadystatechange = callback | |
} | |
document.body.appendChild(s); | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment