Created
December 27, 2012 21:52
-
-
Save anonymous/4392373 to your computer and use it in GitHub Desktop.
Simple bookmarklet to activate two keyboard shortcuts on http://my.deviantart.com/messages/#view=deviations single deviation view. First is to 'a' to "Add to Favorites", second is 'k' to remove from messages. (kill is mnemonic for 'k'). Instructions: add bookmark with contents of this file. When on dA single deviation view click on bookmark.
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
javascript: document.onkeypress = function(event) {switch(event.keyCode){case 107: document.getElementsByClassName('remove-message-button')[0].click(); break; case 97: document.getElementById('gmi-ResourceViewFaveButton').click(); break; }}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was not logged in while submitting Gist, lol.