您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Auto-remove useless twitter replies with "@SaveToNotion"
// ==UserScript== // @name CleanTwitterPosts // @namespace http://tampermonkey.net/ // @version 0.9 // @author You // @description Auto-remove useless twitter replies with "@SaveToNotion" // @match https://twitter.com/* // @icon https://twitter.com/favicon.ico // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; const BLOCKED_AT = ['@SaveToNotion'] const clean_once = () => { const posts = document.querySelectorAll('.css-1dbjc4n.r-1ila09b.r-qklmqi.r-1adg3ll.r-1ny4l3l') for(let i = 0 ; i < posts.length ; i++){ const post = posts[i]; const links = post.querySelectorAll('a') for(let j = 0 ; j < links.length ; j++){ const text = links[j].text if(BLOCKED_AT.indexOf(text) !== -1){ post.remove() break } } } } window.onload = () => { setInterval(clean_once, 3000) } })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址