tuff_ghost: (Default)
tuff_ghost ([personal profile] tuff_ghost) wrote in [community profile] ao3some2012-11-16 02:20 pm

userscripts: download buttons, saved filters, tumblr savior

Here are a couple scripts to tweak the works index pages. They run on Greasemonkey in Fx or Tampermonkey in Chrome.



https://greasyfork.org/users/3831-tuff-ghost

Please let me know if you got questions, or if I made any mistakes!
isweedan: White jittering text "art is the weapon" on red field (Default)

[personal profile] isweedan 2012-11-16 11:45 pm (UTC)(link)
I am SUPER EXCITED about the saved filter script but I can't figure out how to ...make it go?

(I'm in Chrome and I've done scrips via userscripts.org before, both the old way and the new 'drop them into the extensions' way.)

So I've dl'd Tampermonkey and dl'd your script from github, dragged and dropped it into 'add new script' and 'ao3 saved filters' is definitely in there, update URL and all.

I went to the bandom/works page and a few others but didn't see the 'saved filters' feature. I searched within works, thinking that might trigger the appearance of the script but I still can't see the boxes /o\

I just restarted chrome and checked the ao3 again but still can't find it. Is there a Really Obvious Step I am missing?

Possibly I need some step-by-step instructions. Help?
isweedan: White jittering text "art is the weapon" on red field (Default)

[personal profile] isweedan 2012-11-17 01:41 am (UTC)(link)
The 'Global' one totally shows up now! \\\o///

And sometimes I can get it to work! Which means I have EVEN MORE QUESTIONS.

To activate it, you type in something, like... -humor, save it, and then click 'sort and filter'?

And this isn't like tumblr savior in how it just runs all the time, I have to do a 'sort and filter' to activate it?(The charming blue highlighted 'Your filter was: [-humor].' does not always appear. I am trying to figure out whyyyy.)

Should I also have a 'Fandom:' box? I have only the 'Global:' box.

Oooh, and what happens if I fiddle with 'User matches'/'User includes'/'User excludes' in the settings at Tampermonkey?
isweedan: White jittering text "art is the weapon" on red field (Default)

[personal profile] isweedan 2012-11-17 03:21 am (UTC)(link)
Thank you for all these clarifications, they are MOST useful. <33333



(oh man making it more tumblr savior-esque would be a TALL ORDER.)
isweedan: White jittering text "art is the weapon" on red field (Default)

[personal profile] isweedan 2012-11-21 12:45 am (UTC)(link)
I've just DL'd the new ao3-saved-filters and it is doing it's pre-loading thing! I like it lots.

I don't think tumblr savior *is* being developed as a userscript anymore? I have it as a chrome extension (along with missing-e because together they are the PB and J of my tumblr bread if that metaphor makes any sense)

But it looks like in the four days since I last checked up on this thread (>.>) you have played around with savior-esque-ing up your code. Cool!
isweedan: White jittering text "art is the weapon" on red field (Default)

[personal profile] isweedan 2012-11-21 12:52 am (UTC)(link)
I've tried out the ao3-savior script (chrome and tampermonkey again) and I have the problem I had back with the original script - there isn't a 'saved filters' menu.
isweedan: White jittering text "art is the weapon" on red field (Default)

[personal profile] isweedan 2013-01-13 09:57 am (UTC)(link)
my new year resolution was to start DLing ebooks so fics could never be lost to me again and your dl script is being VERY HELPFUL in getting all my already-read favs onto my hard-drive. So TY for this one too now! *g*

[identity profile] hangebokhan.livejournal.com 2014-10-11 07:19 pm (UTC)(link)
Years after you posted this but... I restarted FF after installing greasemonkey and installed the script. Went to a *works* page and no joy. I tried toggling it on and off multiple times, re installing it, restarting firefox, then restarting my computer. All no no avail. Any advice? Trying to use the -tag one. I just never want to see an A/B/O or MPreg again....

[identity profile] hangebokhan.livejournal.com 2014-10-12 02:39 am (UTC)(link)
Steps taken:

Install greasemonkey (I uninstalled it after it the script didn't appear to work the first time and all the associated scripts)

restart FF

Instal AO3 Save Filters

Disable PeerBlock/Guardian thingey (just in case)

Go to http://archiveofourown.org/tags/Derek%20Hale*s*Stiles%20Stilinski/works

I don't see the dialogue box that appears in the screen shot, do I need to edit the script first for it to appear?

[identity profile] hangebokhan.livejournal.com 2014-10-12 07:07 am (UTC)(link)
*shrug* Don't know why it is happening but I did do a reset of FF and it still does not work. I'm not willing to do a complete fresh instal so who knows. Also, the other AO3 download button script never worked. Anyways, thanks for trying.
montanaharper: close-up of helena montana on a map (Default)

[personal profile] montanaharper 2012-11-17 12:35 am (UTC)(link)
Just FYI, the download button shows up on Collections, but doesn't seem to function properly. I tested it with TW_FallHarvest.
montanaharper: close-up of helena montana on a map (Default)

[personal profile] montanaharper 2012-11-17 01:28 am (UTC)(link)
Awesome. :-) And thank you for the great scripts, which I should've said before, but I'm apparently a mannerless oaf today.
Edited (i accidentally a whole word) 2012-11-17 01:28 (UTC)
resonance_and_d: stevonnie from steven universe (Default)

[personal profile] resonance_and_d 2012-11-17 03:50 am (UTC)(link)
This is awesome! Thank you for sharing!
cesy: "Cesy" - An old-fashioned quill and ink (Default)

[personal profile] cesy 2012-11-17 12:51 pm (UTC)(link)
Thank you; these are handy!
cesy: "Cesy" - An old-fashioned quill and ink (Default)

[personal profile] cesy 2012-11-20 06:56 pm (UTC)(link)
I just found a possible issue - the downloads one needs a tweak to the includes to cover series pages as well, and possibly an adjustment of the classes it applies to.
amalthia: (Default)

[personal profile] amalthia 2012-12-08 02:33 am (UTC)(link)
Hi,

These scripts look wonderful, only I'm not sure how to install them?

EDIT: Never mind. Figured out how to make a new user script in Greasemonkey. I hadn't realized you can add the code directly into it.
Edited 2012-12-08 02:41 (UTC)
amalthia: (Default)

[personal profile] amalthia 2012-12-08 09:43 pm (UTC)(link)
Okay the scripts are installed correctly (I assume) only when I go to A03 I cannot see any download buttons? Am I supposed to edit the script in some way for the buttons to display? I've gone to various pages on A03 and so far only the default download button shows up.

EDIT: P.S. I'm using the default A03 skin and I'm logged into my A03 account. I'm not sure if the skin used makes a difference?
Edited 2012-12-08 21:49 (UTC)
amalthia: (Default)

[personal profile] amalthia 2012-12-09 07:17 am (UTC)(link)
I went to Tools -> Greasemonkey and the options were listed and checked but for some reason not working. I ended up going to the link at userscripts and the install button worked perfectly. :)

Thank you so much for sharing the location with the install button. I'm not sure how I messed up on installing the script myself but it all works now.
stepps: ([misc] coffee and clouds)

[personal profile] stepps 2012-12-17 02:10 am (UTC)(link)
Thanks so much for sharing these! The download button on all pages is just what I needed! Also you introduced me to Tampermoney yay!

[personal profile] hapakitsune 2013-01-30 05:55 am (UTC)(link)
ooh this is awesome and working great thus far!
onthehill: Pete gazes adoringly at Patrick (bandom-petepatrick)

[personal profile] onthehill 2013-03-16 02:19 am (UTC)(link)
The download buttonssssssssssss! I don't know you but I ♥ you!
brownbetty: (Default)

[personal profile] brownbetty 2013-04-08 10:18 pm (UTC)(link)
I dunno if you're still supporting this script, but I notice it's gone a bit hincky since the latest AO3 code push: the "share" box at the top of a fic is expanded by default when I have this script enabled. Has anyone else noticed this effect, or is it possible it's something I've done to myself by fiddling with various other scripts?

(Anonymous) 2013-06-29 06:06 pm (UTC)(link)
I was wondering if you knew if ao3 would be updated? I love the script, but it appears to not work with Chrome anymore.
valiha: watercolor painting of my cat Lola (Default)

[personal profile] valiha 2013-07-31 12:59 am (UTC)(link)
Hi there; I recently installed this userscript because I wanted to have a way to exclude some pairings and freeform tags, but I'm not sure I know how to use it. So I start from the works page, search something - I see several filters are used in the example screenshot at the same time, both without any commas or other punctuation; two-word keywords in quotes. Clear so far. I click on the works button and clear the filters, ok.

Is there a way to go back and add a filter? Because it doesn't seem to be possible. Say I added several filters, and they didn't work out, giving me 0 results. If I hit a back button, the page just reloads and brings me back to my zero results. I have to clear the filters and start over. Yes?

With ao3 savior, can I e.g. blacklist relationships, not just tags and authors? And how exactly do I edit it, just add my keywords in the square brackets in the CONFIG section? It does not seem to be working for me. Or maybe it is, but I don't know what it's supposed to look, so I can't recognize it.

(Sorry if I'm rambling and if I've missed something obvious; I find it easier to figure something out if I go through it out loud as if I'm asking someone questions.)
hl: Drawing of Ada Lovelace as a young child, reading a Calculus book (Default)

[personal profile] hl 2013-09-15 06:01 pm (UTC)(link)
Hii, sorry to be a bother (because almost certainly I'm missing something), but I was trying the saved filters script, and for some reason it works perfectly well on FF with GreaseM, but doesn't in Chrome with Tampermonkey. The 'Saved Filters' section of the filters just doesn't appear at all.

I'm not sure if I should be doing anything else?
hl: Drawing of Ada Lovelace as a young child, reading a Calculus book (Default)

[personal profile] hl 2013-09-15 06:06 pm (UTC)(link)
Also, because I'm not sure what's relevant info: I went to your link and installed it, and it appears with the green doot in TM, so apparently it's enabled?
hl: Drawing of Ada Lovelace as a young child, reading a Calculus book (Default)

[personal profile] hl 2013-09-15 11:49 pm (UTC)(link)
Thanks, you're awesome!

It will be really a big help for those people who want to exclude using the tagging structure, since we can do that using the tag's ID now, but searching for the ID number every time or remembering it by heart would be such a huge pain.

[personal profile] ainyre 2013-12-14 03:22 pm (UTC)(link)
Love the DL buttons, but is there any way to add them to a user's list of bookmarks? For example, ao3.org/users/*username*/bookmarks?

[personal profile] ainyre 2013-12-15 05:01 pm (UTC)(link)
Seems to work fine! Thank you so much!