Last active
September 8, 2015 15:05
-
-
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.
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
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);};}()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.