Skip to content

Instantly share code, notes, and snippets.

@shrunyan
Last active December 17, 2015 07:08
Show Gist options
  • Save shrunyan/5570054 to your computer and use it in GitHub Desktop.
Save shrunyan/5570054 to your computer and use it in GitHub Desktop.
Dynamically insert fartscroll while your co-worker is away from their desk. Insert line 1 into a users console, followed up by line 2.
var script = document.createElement( 'script' ); script.type = 'text/javascript'; script.src = 'http://code.onion.com/fartscroll.js'; document.getElementsByTagName('body')[0].appendChild( script );
fartscroll();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment