HOME | DD

bakkeby β€” How to add dA keyboard shortcuts

Published: 2012-03-22 19:19:12 +0000 UTC; Views: 4171; Favourites: 24; Downloads: 34
Redirect to original
Description I'm not particularly active on dA anymore as work and general life is devouring my time, but I check in with dA from time to time to look through the many wonderful pieces of art that can be found.

By now after having joined many groups, etc. I have more than 10000 deviations waiting in my inbox. When viewing deviation stacks I can click the "Remove from Messages" button to go to the next one. This is a good feature, but I don't like having to scroll to find it in order to move to the next one.

So I thought I'd share a tip with all of you on how to set up keyboard shortcuts to help routine tasks around dA (or any other web-page for that matter).

I have come across this plugin for Google Chrome called "Shortcut Manager" which allows you to set up keyboard shortcuts to either open web pages or to execute custom JavaScript. What I did was simply to simulate the click of the "Remove from Messages" when I press the "]" button.

The reason for the "]" button is just for convenience as I use the same key when archiving read emails within GMail. You can set this to whatever you want.

Using a keyboard shortcut to skip to next deviation works really well and is quite a time saver. This is just a single shortcut of course, but you could easily add a shortcut to add a deviation to favourites or to navigate around dA!

The plugin can be found at:

chrome.google.com/webstore/det…

and how I set it up can be seen in the image above.

Alternative plugin (the Shortcut Manager looks to have been removed from the Chrome Store):
chrome.google.com/webstore/det…



Some shortcut suggestions:

Add to favourites:
javascript:$('#gmi -ResourceViewFavouriteButton').click();

Remove from messages
javascript:$('#gmi -ResourceViewMessageButton > .remove-message-button').click();

Select all (within deviation stack)
return $($('#gmi -ResourceStream').closest('div.mczone')[0]).data('pagedview').click('selectall');

Remove all (within deviation stack)
return $($('#gmi -ResourceStream').closest('div.mczone')[0]).data('pagedview').click('remove')

Select and remove all (within deviation stack)
$($('#gmi -ResourceStream').closest('div.mczone')[0]).data('pagedview').click('selectall');
return $($('#gmi -ResourceStream').closest('div.mczone')[0]).data('pagedview').click('remove')


I hope this is useful for someone.

If you have any questions or if you know how to do this for other browsers let me know.
Related content
Comments: 20

IDKN0W [2023-07-31 05:21:18 +0000 UTC]

πŸ‘: 0 ⏩: 0

Shamans09 [2019-01-01 23:38:56 +0000 UTC]

if I may ask... is there a java codeΒ that will add the image to favorites alt folder?

πŸ‘: 0 ⏩: 0

MaxiMax01 [2017-11-12 13:20:25 +0000 UTC]

does it still work?

πŸ‘: 0 ⏩: 1

bakkeby In reply to MaxiMax01 [2017-11-17 10:32:06 +0000 UTC]

Yes looks like it.

πŸ‘: 0 ⏩: 1

MaxiMax01 In reply to bakkeby [2017-11-18 10:58:00 +0000 UTC]

ha yessss

i use firefox , and it worked , i just didn't refresh tabs before using the Shortcuts.

sorry and thx ^^

πŸ‘: 0 ⏩: 0

CommodoreZeke [2013-10-20 05:10:04 +0000 UTC]

Have you tried pressing X? This seems to be an undocumented feature, but it works for me. People were bringing it up when dA briefly put the Remove button in an awkward place.

πŸ‘: 0 ⏩: 1

bakkeby In reply to CommodoreZeke [2013-10-20 13:51:02 +0000 UTC]

Very interesting, so dA does have some built-in shortcut functionality. Haven't heard of this before, would be interesting to know when it was added.

πŸ‘: 0 ⏩: 1

xerxes31415 In reply to bakkeby [2014-09-16 16:02:36 +0000 UTC]

X is working for me (As that's what I wanted to make into a shortcut). Β But thanks for posting the image and instructions.

πŸ‘: 0 ⏩: 0

lorienstarlight [2013-09-15 15:31:01 +0000 UTC]

The changes they made on dA broke my shortcuts! Can you update these, please? I particularly want the one for Remove from messages

πŸ‘: 0 ⏩: 2

bakkeby In reply to lorienstarlight [2013-09-23 07:26:24 +0000 UTC]

Thanks for letting me know about the broken shortcuts, I have now checked and updated all of them

πŸ‘: 0 ⏩: 0

bakkeby In reply to lorienstarlight [2013-09-17 10:28:27 +0000 UTC]

I have updated the "Remove from messages" one, it should now be:
javascript:$('#gmi-ResourceViewMessageButton > .remove-message-button').click();


I haven't checked the others yet, I will do so later.

πŸ‘: 0 ⏩: 1

lorienstarlight In reply to bakkeby [2013-09-18 01:21:24 +0000 UTC]

THANK YOU SO MUCH


You have no idea how much frustration you've saved me. I tried to do it myself, but I didn't understand it well enough. Hopefully I can get thrugh my backlog of messages much faster now. Thank you!

πŸ‘: 0 ⏩: 2

martonrobert In reply to lorienstarlight [2013-10-11 22:34:09 +0000 UTC]

same here I will fly through my backlog with this tool great stuff, man, thanks for sharing!!

πŸ‘: 0 ⏩: 0

bakkeby In reply to lorienstarlight [2013-09-18 06:56:08 +0000 UTC]

Yes this keyboard shortcut has been invaluable to me too, it also makes going through your watch list much more enjoyable.


I am hoping that dA will add built-in support for keyboard shortcuts some time in the future.

πŸ‘: 0 ⏩: 0

Jakeukalane [2012-08-02 10:09:04 +0000 UTC]

Do you know the code to add to favorites?
Greetings!

πŸ‘: 0 ⏩: 1

bakkeby In reply to Jakeukalane [2012-08-02 14:38:12 +0000 UTC]

Hi Alberto,

to simply add a deviation to your favourites the code is quite simple:
javascript:$('#gmi-ResourceViewFaveButton').click();

I tried to tinker about to allow you to add a deviations to one of your collections, but this is not as straightforward unfortunately.

Thanks for the faves btw.

-Stein

πŸ‘: 0 ⏩: 1

Jakeukalane In reply to bakkeby [2012-08-02 15:57:21 +0000 UTC]

Well, I take my time to classify. Usually i just fave and fave and fave and if there is something that is worth doble-fave, then I classified.... so thank you very much. I will try righ now
Greetings!!

πŸ‘: 0 ⏩: 0

Torquinox [2012-03-22 22:11:58 +0000 UTC]

Good to hear from you. I do hope life is treating you well.

πŸ‘: 0 ⏩: 1

bakkeby In reply to Torquinox [2012-03-24 07:34:58 +0000 UTC]

There has certainly been lots going on. I've moved to another country, changed job roles, walked from Porto to Santiago de Compostela, juggling time consuming hobbies and there is always stuff to do in and around the house. Right now I have quite a lot of wood to chop and stack. I have been programming quite a bit on some personal projects as well. Anything new at your end?

πŸ‘: 0 ⏩: 1

Torquinox In reply to bakkeby [2012-03-24 20:48:32 +0000 UTC]

Wood to chop? Must get cold where you are! Sounds like you're getting your share of excitement, though. Here is relatively quiet, evolving steadily.

πŸ‘: 0 ⏩: 0