birdsflying: (Default)
birdsflying ([personal profile] birdsflying) wrote in [community profile] ao3some2012-06-29 11:14 pm

Ao3 tag killfilter?

I could really do with an extension similar to tumblr saviour that would not display fics with certain user specified tags when I'm browsing a03 (specifically, when I'm scrolling through a fandom tag result page) - anyone come across that?

I am prodding the sourcecode for tumblr saviour to see if I can do a quick and dirty modification but I am also mid-relocation and new job and extremely rusty with javascript, so very much a bear of little brain right now, so if anyone else has done it first, I would love to know. (and personally, the stuff I'd like to avoid, I would be unlikely to want to reveal, so if it just said 'fic removed from view' or similar, without the unhide link, as a quick modification that would also be A+)
vickyblueeyez: (Default)

[personal profile] vickyblueeyez 2012-06-29 11:41 pm (UTC)(link)
ot but I would love this for LJ, DW and Pinterest. The creator of tumblr savior has one for weheartit only for firefox. Sadly it's stopped working for me recently but the coding for it might help someone. http://bjornstar.com/post/61391670/how-to-setup-weheartit-savior-if-you-dont-have
vickyblueeyez: (Default)

testing it

[personal profile] vickyblueeyez 2012-06-30 05:05 pm (UTC)(link)
I installed it on chrome via tampermonkey, put something random in like 'sherlock bbc', went to the sherlock bbc tag and still saw stuff. Even after refreshing Ao3 and Chrome, still can see things. Maybe I did something wrong. I took out 'explicit' and put in 'sherlock bbc'
hl: Drawing of Ada Lovelace as a young child, reading a Calculus book (Default)

[personal profile] hl 2012-07-06 07:29 am (UTC)(link)
Leaving instructions for people who haven't used userscripts before.

For Firefox users:
1) Click on Tools
2) Click on Add-ons
3) Enter 'Greasemonkey' into the search box at the upper right or go here: http://addons.mozilla.org/en-US/firefox/addon/greasemonkey
4) Install the Greasemonkey plug-in (it should be the first thing to come up in the search)
5) Restart your browser, as requested
6) Go to http://userscripts.org/scripts/show/137359
7) Click on the green 'Install' button at the upper right
8) Click 'install' in the box that comes up

The script will currently hide all blurbs that:
Contain either the word 'explicit' or 'mature', except those that also contain the words 'general audiences'.

You can edit the script to hide different things this way:
1) Click on the Greasemonkey menu at the upper right of your browser (a monkey face)
2) Click on Manage Userscripts
3) Click 'Preferences' in the chosen userscript (called Blurb Blocker 1.1)
4) Click on the wide button across the bottom labeled 'Edit this userscript'
5) Choose a text-editing program with which to edit it (such as TextEdit or Notepad)
6) Edit the script and save it. It should be ready to go!

Specific instructions for how to edit the script to block different things:

Anything you include in the following line will be terms that, if they appear in a blurb, will cause the script to block that blurb:

var blackList = new Array('TO EXCLUDE', 'TO EXCLUDE');

For example, if you want to hide the blurbs of works by the author "testy" and also works that involve kittens in some way, you might use

var blacklist = new Array('testy', 'kittens');

You can add more than two search criteria, and these can be titles, author names, any tags, and any terms at all. Remember that blurbs will be blocked no matter where in the blurb the term appears -- so if an author is thanked in the summary by a friend, and you're blocking that author name, then that blurb will be blocked for you.

Anything that appears on the following line will make the blurb show up anyway, even if it also has one of the 'to exclude' terms:

var whiteList = new Array('TO INCLUDE');

You can leave this array blank if there are no terms you want to use to override the block. To leave it blank, leave it looking like the following:

var whiteList = new Array();

For Chrome users, the procedure is very similar, except using Tampermonkey (https://chrome.google.com/webstore/detail/dhdgffkkebhmkfjojejmpbldmpobfkfo). Tampermonkey comes with its own editor, so it may be even easier.
Edited (added link and corrected one rather big error // added link to Tampermonkey) 2012-07-09 02:34 (UTC)
pocketmouse: pocketmouse default icon: abstract blue (Default)

[personal profile] pocketmouse 2012-07-16 01:45 pm (UTC)(link)
Right, I can't get this to work on Firefox either. Has someone gotten it to? I can't tell from the comments.

ETA: OK, it seems to work once I restart my browser. Which is more than Greasemonkey usually requires, but it works now. Thanks!

ETA2: No, I lied, it worked on one page then stopped working.
Edited 2012-07-16 14:46 (UTC)
tuff_ghost: (Default)

[personal profile] tuff_ghost 2012-11-17 08:01 am (UTC)(link)
Hi, there's a tumblr savior clone here
http://ao3some.dreamwidth.org/10934.html

also a script for saving filters, if you'd rather have your blacklisted stuff filtered out rather than hidden.