tuff_ghost (
tuff_ghost) wrote in
ao3some2012-11-16 02:20 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:
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!

https://greasyfork.org/users/3831-tuff-ghost
Please let me know if you got questions, or if I made any mistakes!
no subject
(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?
no subject
no subject
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?
no subject
fandom filters are only active if a fandom "owns" the tag you're currently searching in. Like, Harry potter fandom owns hermione but not "books". That's the design anyway, bugs may be interfering.
excludes disable the script on matched pages and includes enable it. hopefully it doesn't do anything if it ends up running where it's not supposed to.
I might be able to make it more like tumblr savior, we'll see.
no subject
(oh man making it more tumblr savior-esque would be a TALL ORDER.)
no subject
I...actually can't get tumblr savior working for me as a userscript, so I'm not exaaactly sure what the UX is. But just from reading the code, it looks like it simply hides blacklisted posts. I considered this approach on ao3, but it would result in empty or sparse index pages (does tumblr savior produce this if you don't use infinite scrolling on your dash?) if you're filtering out stuff that's very prevalent. So I think it's better to just submit the form and apply the filter for realz.
no subject
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!
no subject
no subject
You should see the saved filters menu if you still have the saved filters script enabled, but the inputs there don't affect the savior script.
I can add a gui config if anyone really wants it.
no subject
no subject
no subject
https://greasyfork.org/users/3831-tuff-ghost
If you're still having problems, tell me which script and the exact steps you followed to install+customize it please
Get rid of the old ones first ;)
no subject
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?
no subject
Is the script enabled? See the checkbox:
http://i.imgur.com/Ggt4qND.png
Apparently there are 3 Derek/Stiles fics not tagged with Teen Wolf, out of 29620
edit: hang on, you did say you tried toggling it on and off. Sorry! I can't think why it's not showing up for you now then :( My steps to see your case were:
1. Visit greasyfork
2. Install saved filters script via "Install" button
3. Visit the ao3 link you gave
4. See the filter box
...nothing special :(
I can only think of oddball things for you to try at this point
- look in the console for any js errors
- disable all other addons and scripts
- try a fresh install of Fx
- see if other of my scripts are also AWOL for you
- make sure you're not using NoScript or anything else that would disable js
Those are all kinda stupid suggestions. If I think of anything better I'll come back.
I can at least say that you shouldn't need to restart Fx or toggle GreaseMonkey in order to get userscripts to work, just refreshing the page should be good enough.
no subject
no subject
no subject
I'm not sure if it's possible to handle the remaining cases (where a work's dl uri doesn't match its title), but I'll keep looking.
no subject
no subject
no subject
no subject
no subject
no subject
no subject
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.
no subject
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?
no subject
To check that the script is installed properly and enabled, go to a page like http://archiveofourown.org/*works* where the * can be anything (anything that produces a non-404 page). Then in your Firefox toolbar menu go Tools -> Greasemonkey. The submenu that opens should have "ao3 download buttons" listed below the divider, with a little bullet or checkmark or whatever to show that the script is enabled. (Clicking the bullet/checkmark will toggle the script on or off, although the effects of toggling it won't show up until after a page refresh).
If you don't see it in that submenu it is either not installed or not being applied on the correct pages. You can try installing it again from the code, or I've put it up on userscripts here where you can use the "Install" button.
If you do see it but the bullet's not there then it's just not enabled, so all you have to do is turn it on and F5.
no subject
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.
no subject
no subject
no subject
no subject
no subject
All my scripts are updated with the fix so you just have to reinstall them from the links in this post
no subject
(Anonymous) 2013-06-29 06:06 pm (UTC)(link)no subject
no subject
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.)
no subject
Yes you can blacklist relationships - put them in the tags array. For example, I'm browsing works in the Pacific Rim fandom and I don't want to see any Mako/Raleigh fics. I added
'Raleigh Becket/Mako Mori'
to the tags array (use the exact ao3 canonical tag) so that the whole line looks like:tags: ['dobby', 'jar jar binks', 'Raleigh Becket/Mako Mori'],
then I save the script, refresh the page, and see "This work is hidden" 3 blurbs down. Unhiding it reveals a Mako/Raleigh fic.
no subject
I'm not sure if I should be doing anything else?
no subject
no subject
I think a recent TM update broke it, or at least broke a quirk it relied on. I made a small change to comply; try reinstalling now.
no subject
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.
no subject
no subject
It seems to work with minimal changes, but I didn't exactly test it very hard. You can :P
no subject