birdsflying (
birdsflying) wrote in
ao3some2012-06-29 11:14 pm
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[community profile]](https://www.dreamwidth.org/img/silk/identity/community.png)
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+)
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+)
no subject
no subject
no subject
Since your script is FF only, I'll have to test it later. Thanks in advance for this and good luck.
Oh, can I talk about this on tumblr? A lot follow the Ao3 tag. They could test it too.
no subject
Sure, you can share it on Tumblr!
no subject
no subject
ten30 minutes ago. :)no subject
no subject
no subject
Is there a way I can change the script to make it only look for a specific field? I'm looking for a way to killfile certain authors, but I don't want to eliminate things written for them, or remixes of their work, etc.
no subject
var blackList = new Array('href="/users/USERNAME/pseuds/PSEUD" class="login author"', 'another killfile tag');
You have to include the
pseuds/PSEUD
part even if the person doesn't have a pseud -- it's looking for an exact match on the HTML, and the archive always uses the full users/USERNAME/pseuds/PSEUD path.no subject
I kind of kludged together a similar (maybe? I don't really know what the code is doing) solution that involved just adding 'pseuds/[authorname1]', 'pseuds/[authorname2]' etc. to the original blacklist, and that seems to work okay.
no subject
Blurb Blocker Broken?
Thanks, btw, for making my fandom experience so much nicer. Really love that script and would hate to see it go away. :))
Re: Blurb Blocker Broken?
Unfortunately, I'm having trouble reproducing any problems with Blurb Blocker. Is it happening on a specific page? Which browser are you using? What terms are you trying to black list/white list, and which version of Blurb Blocker are you using (the version is listed at the top of the script)?
Here's the code for version 1.4, the latest version, since userscripts is down.
Re: Blurb Blocker Broken?
I check the following AO3 page daily: http://archiveofourown.org/works?utf8=%E2%9C%93&work_search[sort_column]=revised_at&work_search[other_tag_names]=&work_search[query]=&work_search[language_id]=1&work_search[complete]=0&work_search[complete]=1&commit=Sort+and+Filter&tag_id=One+Direction+%28Band%29
It's pretty heavily filtered, but I don't think I added any additional filters right before the script broke for me.
I used the script on a MacBook Air (daily) and on an iMac (very infrequently), and the script broke on both machines within a few days of each other. I run the most current version of Firefox on both.
I did just update the Blurb Blocker script and pasted in my blacklist, and it's still not working. I will go through my blacklist entry by entry to make sure there aren't any funky characters included, but can't see how I would have made the same mistake in both lists when it worked fine for me for ages.
Ugh, sorry to be a pain, but I'm dying to get this functionality back if possible.
Re: Blurb Blocker Broken?
var blackList = new Array('explicit', 'mature');
and seeing if it works? (I ran that on the page you linked, and it worked for me in Firefox 32.0.3 on Mac OS X 10.9.5.)If it still doesn't work, are you using any other scripts or extensions in your browser? You could try disabling them to see if there's a conflict.
I'm sorry it's not working! I wish I knew why.
Re: Blurb Blocker Broken?
(Anonymous) 2014-10-04 12:12 am (UTC)(link)Re: Blurb Blocker Broken?
(Anonymous) 2014-09-30 12:35 am (UTC)(link)Re: Blurb Blocker Broken?
http://scttdvd.com/post/65242711516/how-to-get-rid-of-smart-quotes-osx-mavericks
testing it
Re: testing it
Re: testing it
var whiteList = new Array('general audiences');
var blackList = new Array('sherlock bbc',);
var whitelisted = false;
var blacklisted = false;
Re: testing it
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.
Re: testing it
function checkBlurb() {
var whiteList = new Array();
var blackList = new Array('Sherlock(TV)','BBC Sherlock - Fandom');
var whitelisted = false;
var blacklisted = false;
Re: testing it
Re: testing it
function checkBlurb() {
var whiteList = new Array();
var blackList = new Array('sherlock (tv)', 'BBC Sherlock - Fandom');
var whitelisted = false;
var blacklisted = false;
Re: testing it
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.
no subject
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.
no subject
:D
no subject
no subject
no subject
no subject
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.
no subject
var whiteList = new Array('');
instead of the correct:
var whiteList = new Array();
(I.e. leaving no quote marks inside the array.)
But if you want me to test your particular combination, I can try!
no subject
I've got this:
function checkBlurb() {
var whiteList = new Array();
var blackList = new Array('Loki/Tony Stark', 'Steve Rogers/Thor', 'Podfic');
var whitelisted = false;
var blacklisted = false;
Maybe it's successfully blocking things that have all three of the tags, but it's not blocking things that have the individual tags.
no subject
Maybe it's the same problem than the person further up...
no subject
no subject
no subject
no subject
no subject
no subject
no subject
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.