Tumblr Despammer

Get spammy posts out of the Tumblr tags

< Feedback op Tumblr Despammer

Vraag/Reactie

§
Geplaatst: 03-04-2016

Does not seem to function properly

I attempted to install this script on 4/2/16 to deal with the growing spam problem in tumblr tags, but it does not seem to remove any of the spam in the tags. As I have never used tampermonkey scripts before, I am unclear whether I didn't install it correctly or if there is a bug in the code. Can you assist in fixing this so I can make the site usable again?

§
Geplaatst: 04-04-2016

It works fine if you're browsing tags through tumblr.com/tagged/*, but not through tumblr.com/search/*

I'm not familiar enough with JS to fix the code myself, but I did notice the following:

1. Needs to include *://www.tumblr.com/search/*: // @include *://www.tumblr.com/search/*

2. The search page uses a class="photo-clickthough" rather than the currently referenced 'post_media_photo_anchor', 'has-thumbnail' and 'no-thumbnail'.

3. Search page also replaces some div tags with HTML5 compliant article and section tags.

4. Just adding // @include *://www.tumblr.com/search/* and contains(@class,'photo-clickthough') to the current code doesn't correct the issue, so something else needs to be fixed/added.

§
Geplaatst: 04-04-2016

I am using www.tumblr.com/tagged/*, however I am also using the tag tracking+ extension in Xkit. Could that be causing a conflict?

Reactie plaatsen

Log in om antwoord te geven.

长期地址
遇到问题?请前往 GitHub 提 Issues。