So I whipped one up myself over the course of yesterday and today to filter out certain users from my feed. I wonder if anyone else will find this useful.
Source code: https://bitbucket.org/ScrambleandClick/ ... ew-default
After grabbing it, open
- Code: Select all
about:blank?config=ekas_utils.user_blocker
Tested on: Firefox 47.0.1
Design Philosophy:
- Simple to apply, simple to remove. Even with the script active, all you have to do is remove the stylesheet appended to the bottom of the HTML body with your browser's dev tools.
- Make it easy for you to forget who's been scrawling those comments. That's why everything, from name to the avatar to the comments, is blotted or faded out.
- Goes the extra mile. Blocked users have their entire pages inaccessible until the stylesheet is removed. Why? Because if they're likely posting offsetting content, you likely don't want to see what's been going on in their shoutbox or blog either.
Caveats:
- This can't block fanfiction yet. At least until everything that is fanfiction gets properly tagged with a generic tag that specifies that.
- Oh gods it just sticks out when applied to another user's profile with custom styling. I'll need to use computedStyle later.
- Can't filter out user/tag combinations yet even though I'd like this. It'd require the same tag data be available in other views showing items.
- Context sensitive blacklists haven't been written yet. EG: You don't want to see a user's things when tag browsing, but are fine with checking out their gallery manually.
- The UI for configuring is pretty ugly.