theaeblackthorn (
theaeblackthorn) wrote in
ao3some2013-03-06 03:32 pm
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[community profile]](https://www.dreamwidth.org/img/silk/identity/community.png)
Entry tags:
AO3 Navigation Tweaks
Hi all,
I made a greasemonkey script for AO3 that has some handy shortcuts in it.
Essentially this is just me sharing with the rest of the internet something I made to make my ao3 reading easier.
With this script:
- when viewing the works page in AO3, left arrow goes back a page in the pagination, right arrow goes forward a page, like tumblr's navigation.
- when viewing an individual work in AO3, left arrow goes to the next chapter, right to the previous chapter
- when on a work pressing the following keys causes the following behaviour:
-- 'd': downloads the .mobi version of the fic
-- 'k': leaves kudos
-- 'm': marks it for later
-- 's': subscribes
-- '#': sets the filters to 'english' and 'completed works only'*
Like I said, not comprehensive, just something I made to make my reading experience lazier and I thought other people might like as well.
(*pretty tailored to me, but I've left it in there incase someone else wants to use it)
It'd be great to hear if anyone else finds it helpful :)
I made a greasemonkey script for AO3 that has some handy shortcuts in it.
Essentially this is just me sharing with the rest of the internet something I made to make my ao3 reading easier.
With this script:
- when viewing the works page in AO3, left arrow goes back a page in the pagination, right arrow goes forward a page, like tumblr's navigation.
- when viewing an individual work in AO3, left arrow goes to the next chapter, right to the previous chapter
- when on a work pressing the following keys causes the following behaviour:
-- 'd': downloads the .mobi version of the fic
-- 'k': leaves kudos
-- 'm': marks it for later
-- 's': subscribes
-- '#': sets the filters to 'english' and 'completed works only'*
Like I said, not comprehensive, just something I made to make my reading experience lazier and I thought other people might like as well.
(*pretty tailored to me, but I've left it in there incase someone else wants to use it)
It'd be great to hear if anyone else finds it helpful :)
no subject
no subject
no subject
But is it really "left arrow goes to the next chapter, right to the previous chapter"? That sound so backwards!
no subject
no subject
no subject
no subject
no subject
I'll need to make some edits to suit my use, but I've longed for a script like that for a while now. Thank you for sharing this :D
ETA 1: After testing, sadly, only the left/right arrow keypresses work for me. Probably due to the fact that I have a french AZERTY keyboard. I'll investigate.
ETA2: I've managed to get everything but the download part working by replacing the keydown function by its keypress counterpart.
ETA3: Managed to make the download work & to allow some flexibility for the download format. I'll add what I modified below in case it is of use to someone else.
no subject
Mmm virtual baked goods! Aha, and that's interesting, I switched it last night from keydown to keypress because a chrome mac user was having trouble with the arrow events not registering which switching to keypress seemed to fix on chrome and ff on a mac, and ff on a pc. (I'm a ff user, using a mac at work and a pc at home [I'd never read fic at work <.<])
Thanks for tracking it down! Can you let me know your setup, browser and os? I'm curious about it now...
no subject
From what I've read on keypress/keydown, keypress only guarantees character keys, not the arrows key. Maybe if you separated the arrow keypress to a different function? Keep keypress for the char keys and keydown for the rest? *shrugs*
no subject
no subject
no subject
Edit: In the interest of being a better person, anyone know how to modify this to automatically leave kudos when I download something?