HOME | DD

lassekongo83 — DeviantJunk Filter
Published: 2013-10-30 13:45:23 +0000 UTC; Views: 130418; Favourites: 28; Downloads: 0
Redirect to original
Description body div#devskin0 hr { }

How to create adblocking filters for removing undesired deviants from showing up while you browse certain categories.

This will work in most adblocking extensions. I personally recommend the uBlock Origin extension for this purpose.

How to filter a user

Click on the uBlock Origin extension icon > Click on the top bar to get into the settings. Go to My Filters. Add a new line for every user you want to filter and place the user name or a part of the user name within the "". Adblock filters are case sensitive. This will also work with title keywords.

Examples:

deviantart.com##SPAN [href*="xxhorribleusernamexx"]

deviantart.com##SPAN [href*="kawaiibrony"]
deviantart.com##SPAN [href*="pony"]


My adblock filter: raw.githubusercontent.com/lass…

This filter is my personal one that blocks a lot of users that have uploaded junk, crap, or just stuff in the wrong categories. Not updated very often, but it should remove a lot of MLP junk in the customization category. You can add this filter by going to uBlock Origin's 3rd party filters pane and add it in the text box at the bottom. Remember that it may not be a filter for everyone though. It will filter out a lot of manga, furries and MLP junk.

User script is also available. 



Related content
Comments: 24

IsThatAPuma [2019-07-31 01:45:35 +0000 UTC]

THANK YOU THANK YOU THANK YOU

👍: 0 ⏩: 0

DeviantTestbed [2017-04-07 19:00:47 +0000 UTC]

YOU ARE A GOD

👍: 0 ⏩: 0

DeviantTestbed [2017-04-07 19:00:46 +0000 UTC]

YOU ARE A GOD

👍: 0 ⏩: 0

YvonneRoseGold [2017-03-06 19:00:05 +0000 UTC]

So much **** is gone now, thank you so much! I stopped using DA about 5 years ago because of all the MLP junk, but this filters out most of it. I feel bad for you, having to actually learn their names, but laughed so hard at the "Other places ponies can appear" section

👍: 0 ⏩: 0

DeviWolf666 [2017-02-17 15:07:36 +0000 UTC]

Works like a charm.
Wish it'll apply to all of the categories.

👍: 0 ⏩: 0

souhail000 [2017-02-12 00:42:40 +0000 UTC]

its working thank u so much

👍: 0 ⏩: 0

Pakislav [2016-11-07 18:11:10 +0000 UTC]

Oh my god thank you...

The disgusting junk on this site makes browsing disturbing af. They should really add some sort of official tasteful filter.

👍: 0 ⏩: 0

MasterPerryMartin [2014-10-02 20:13:10 +0000 UTC]

I always thought that this wouldn't work to the fullest of abilities, but that just goes to show how bad I am at coding and how little I respect it. I typed in the names of Deviants I despised and, lo and behold, their art WAS gone. Of course, it had the side effect of making the pages look badly formatted or buggy, but who cares when you can make people more-or-less vanish at the tap of a few keys?

Lassiekongo83, my hat comes off in appreciation to you.Never thought I'd have to say that, but I'm glad I have.

👍: 0 ⏩: 0

689667 [2014-09-22 17:44:14 +0000 UTC]

Ahaha that's a massive list
Well done and thanks for sharing.

👍: 0 ⏩: 0

ToRTeEn [2014-04-05 21:08:53 +0000 UTC]

This is what I was looking for all the time I was browsing stuff on deviantart! I hate those pink sh1t ponies and pointless stuff. I even hate it more when it's in "Design & Interfaces -> Web / Application Interfaces" which doesn't make any sense... What is pink pony doing there? That's not category for pony shi.... Also I don't understand how those "works" can have a tons of comments.. those kids are crazy.

So thank you very much for this Filter.

~Torteen

👍: 0 ⏩: 0

SiCKXMedia [2014-01-19 11:59:30 +0000 UTC]

Awesome. I thought I was the only one being bothered by the pinkish stolen stuff from various spanish speaking kids.

Thanks a lot.

👍: 0 ⏩: 0

valdyn [2013-11-02 11:19:04 +0000 UTC]

Oh. Just in time. Thank you. I have been trying to do that by blocking users just yesterday!

PS. I'm stuck at Win7 (work) and I'm still using your skin SlanXP - well some kind soul ported it from XP. (though there are few more favourite of yours, sadly without a ports).

Although on Windows, I'm still visiting just to admire.

👍: 0 ⏩: 0

rthaut [2013-11-02 00:41:11 +0000 UTC]

I spent a few minutes on this earlier today while in a meeting: userscripts.org/scripts/show/1…

I might improve it eventually, but for now it is pretty basic. You should be able to click the new "Hide User's Deviations" link on any deviation to add that user to a filtered list. The link should show up at the top of the thumbnail, and will be more obvious when you hover over it.

The link will probably be showing up in a lot of unwanted places, so anyone using this script might want to start keeping track of places I need to remove it from.

👍: 0 ⏩: 1

lassekongo83 In reply to rthaut [2013-11-02 04:54:57 +0000 UTC]

Wow thanks!


At the moment though it doesn't seem to be working. Using Opera and Tampermonkey. Did try in Firefox and Greasemonkey too, and no result there either.

👍: 0 ⏩: 2

rthaut In reply to lassekongo83 [2013-11-02 07:11:46 +0000 UTC]

Alright, try installing it again. There was an issue when loading the list of hidden users for new installs.

I have only tested it in Firefox with Greasemonkey; it should work in Chrome, too, but I haven't actually tried it.

👍: 0 ⏩: 1

lassekongo83 In reply to rthaut [2013-11-02 07:40:02 +0000 UTC]

Yep, works with Tampermonkey now.


I modified the include to just include www.devinatart.com and browse.deviantart.com instead of every page. Otherwise as you said it will show up in places where it's not supposed to, like journals, user page, etc.

But I wonder. Would it be possible to modify it so it doesn't leave behind empty boxes? Just like my css example above. Something like: div[userid=""] {display:none;} (It will probably remove "Show user's deviations." though.)

And perhaps add a small button with a dropdown-menu on the thumbnail instead? (Just so you don't accidentally click hide.)


Anyways, great work!

👍: 0 ⏩: 2

rthaut In reply to lassekongo83 [2013-11-07 05:02:06 +0000 UTC]

I just finished a significant update. There is now a modal dialog for managing your hidden users (click the "Manage Hidden Users" button in the upper right corner of a browse page, next to the thumbnail mode icons), and I moved the link to hide a user to below the thumbnail image.

👍: 0 ⏩: 1

lassekongo83 In reply to rthaut [2013-11-07 05:29:42 +0000 UTC]

Really nice. Thanks!

👍: 0 ⏩: 0

rthaut In reply to lassekongo83 [2013-11-04 00:04:17 +0000 UTC]

I purposefully used a placeholder instead of hiding the deviations entirely so that you could un-hide users/deviations. If I ever implement a panel to let you manage the hidden users then the placeholder probably won't be necessary.

👍: 0 ⏩: 0

lassekongo83 In reply to lassekongo83 [2013-11-02 06:52:38 +0000 UTC]

Console from tampermonkey.


ERROR: Execution of script 'deviantART Filter' failed! Unexpected token u


SyntaxError: Unexpected token u at Object.parse (native) at Object.eval (unknown source)), 29:24) at Object.eval (unknown source)), 86:4) at ai (unknown source), 187:4) at M (unknown source), 187:46) at n (unknown source), 449:2) at X (unknown source), 453:85) at T (unknown source), 226:40)

👍: 0 ⏩: 0

dan22ro [2013-11-01 16:45:50 +0000 UTC]

You can use those css selectors with adblock/adblock plus


deviantart.com##div[username="SomeIdiotWithPonies"]

deviantart.com##div[username="SomeOtherIdiot"]


Since adblock is widely used, a filter list would be a better option. Call it lassekongo83's list of dA idiots


*A "personal ban list" done server side wouldn't be hard to implement but it would impact their sql queries for every each section containing user content (eg: the filters must be applied before limits)

**After seeing www.deviantart.com/developers/… and dt.deviantart.com/journal/We-r… I wouldn't wait for it

👍: 0 ⏩: 0

fediaFedia [2013-11-01 10:02:40 +0000 UTC]

Well done Sisyphus

👍: 0 ⏩: 0

AlexandrePh [2013-10-31 02:50:19 +0000 UTC]

That's a lot of names ^^

A filter directly by names could sometimes be useful too, something with "ponies" and "puppies" for example xD
The screenshot category is really awful...

👍: 0 ⏩: 1

lassekongo83 In reply to AlexandrePh [2013-10-31 04:32:51 +0000 UTC]

The list gets bigger every time I see a pony, furry or omgwtf picture plus some more junk I don't like.


There's a suggestion for a tag filtration system. I hope it will become reality one day.

support.deviantart.com/entries… (Vote it up )

👍: 0 ⏩: 0