Skip to content

Instantly share code, notes, and snippets.

@chrishokamp
Last active February 16, 2021 13:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrishokamp/5860559 to your computer and use it in GitHub Desktop.
Save chrishokamp/5860559 to your computer and use it in GitHub Desktop.
add some unicorns to your life -- paste this into console
var _loadScript = function(path, callback){ var script= document.createElement('script'); script.type= 'text/javascript'; script.src= path; document.head.appendChild(script); setTimeout(function() {callback();}, 5000); }; var draw = function() {var func = document.createElement('script'); func.type='text/javascript';var f='for (var i=20; i>0; i -= 1) { cornify_add(); }';func.innerText = f;document.head.appendChild(func);}; _loadScript('https://www.cornify.com/js/cornify.js', draw);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment