Twitterᴾˡᵘˢ

Enhance the X(Twitter) user experience. View original quality images and customize the removal of spam tweets.

< Feedback on Twitterᴾˡᵘˢ

Question/comment

§
Posted: 2024-04-26
Edited: 2024-04-27

请各位用户自己修改脚本,以便去掉带Ad标记的推文。代码如下:

if ($(target).find('span:contains("Ad")').length>0)throw target;

前提是,在文件开头引入jquery脚本:// @require https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js

§
Posted: 2024-05-18

请各位用户自己修改脚本,以便去掉带Ad标记的推文。代码如下:

if ($(target).find('span:contains("Ad")').length>0)throw target;

前提是,在文件开头引入jquery脚本:// @require https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js

大約在91行新增 不用加$()
if (target.find('span:contains("Ad")').length>0)throw target;

Post reply

Sign in to post a reply.