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)

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'
sarken: leaves of mint against a worn wall (Default)

Re: testing it

[personal profile] sarken 2012-07-02 02:53 am (UTC)(link)
Can you show me exactly what your black and white list lines look like?
vickyblueeyez: (Default)

Re: testing it

[personal profile] vickyblueeyez 2012-07-02 03:48 am (UTC)(link)
function checkBlurb() {
var whiteList = new Array('general audiences');
var blackList = new Array('sherlock bbc',);
var whitelisted = false;
var blacklisted = false;
sarken: leaves of mint against a worn wall (Default)

Re: testing it

[personal profile] sarken 2012-07-02 04:06 am (UTC)(link)
Most of the Sherlock works on the Archive aren't tagged with 'Sherlock BBC,' so I think that's part of the problem -- you should use 'sherlock (tv)' instead. Also, you'll need to remove the comma at the end if you're only using one term.

Since 'general audiences' is in your whitelist, you'll still see Sherlock works with a General Audiences rating. If you don't want to see then, the whiteList Array should be totally blank -- no quotation marks, no spaces, just the two parentheses.
vickyblueeyez: (Default)

Re: testing it

[personal profile] vickyblueeyez 2012-07-02 04:52 am (UTC)(link)
I'm still getting things

function checkBlurb() {
var whiteList = new Array();
var blackList = new Array('Sherlock(TV)','BBC Sherlock - Fandom');
var whitelisted = false;
var blacklisted = false;
sarken: leaves of mint against a worn wall (Default)

Re: testing it

[personal profile] sarken 2012-07-02 05:13 am (UTC)(link)
Ah! Lowercase should fix that (and you might want to make it 'sherlock (tv)' with a space, or else that stuff will get through).
vickyblueeyez: (Default)

Re: testing it

[personal profile] vickyblueeyez 2012-07-02 10:30 am (UTC)(link)
still the same

function checkBlurb() {
var whiteList = new Array();
var blackList = new Array('sherlock (tv)', 'BBC Sherlock - Fandom');
var whitelisted = false;
var blacklisted = false;
sarken: leaves of mint against a worn wall (Default)

Re: testing it

[personal profile] sarken 2012-07-02 07:17 pm (UTC)(link)
I meant both terms -- if you're using version 1 of the script, this will only block 'sherlock (tv)' and not 'BBC Sherlock - Fandom.' However, I updated the script to version 1.1, so capitalization no longer matters. (Tampermonkey updated automatically for me, which means I had to put my terms back in.)

Aside from that, I'm not sure what to tell you, since that effectively blocks everything tagged 'sherlock (tv)' for me with version 1 of the script, and everything tagged 'sherlock (tv)' or 'BBC Sherlock - Fandom' with version 1.1. If the script is enabled, the circle next to its name will be green in the little TamperMonkey menu.