Skip to content

Instantly share code, notes, and snippets.

@PMK
Last active September 8, 2015 15:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PMK/f9496249a187f5064b3c to your computer and use it in GitHub Desktop.
Save PMK/f9496249a187f5064b3c to your computer and use it in GitHub Desktop.
Plug.dj "auto woot" bookmarklet. Install instructions: http://alturl.com/gfhzv. When you change rooms, you need to re-enable it.
javascript:(function(){window.API.on(window.API.HISTORY_UPDATE,function(){setTimeout(function(){window.jQuery("#woot").click();},1000);});window.onbeforeunload=function(){window.API.off(window.API.HISTORY_UPDATE);};}());
@PMK
Copy link
Author

PMK commented Sep 8, 2015

Some browsers do have security things enabled. When pasting the code in the URL bar, make sure it starts with javascript:. For Safari (OSX), enable Allow JavaScript from Search Smart Field from the Developer menu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment