Tumblr Despammer

Get spammy posts out of the Tumblr tags

< 脚本 Tumblr Despammer 的反馈

提问 / 留言

§
发布于:2016-04-03

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?

§
发布于:2016-04-04

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.

§
发布于:2016-04-04

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

发布留言

登录(不可用)以发布留言。

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