Twitter Detox

Remove addictive and gratifying stuff from Twitter, like followers count and stars in notifications.

目前為 2015-03-03 提交的版本,檢視 最新版本

// ==UserScript==
// @id             twitter.com-0c8ee385-6991-418e-940e-106644506a90@scriptish
// @name           Twitter Detox
// @version        2015.03.03
// @namespace      https://jnv.github.io
// @author         jnv
// @description    Remove addictive and gratifying stuff from Twitter, like followers count and stars in notifications.
// @include        https://twitter.com/*
// @include        https://mobile.twitter.com/*
// @run-at         document-end
// @grant          GM_addStyle
// ==/UserScript==

var selectors = [
  "[data-component-context='follow_activity']", "[href='/followers']",
  "[data-component-context='follower_activity']",
  "[data-component-context='retweeted_mention_activity']", "[data-component-context='favorite_activity']",
  "[data-component-context='retweeted_retweet_activity']",
  "[data-component-context='favorited_mention_activity']", "[data-component-context='favorited_retweet_activity']",
  ".js-actionQuickPromote",
]

var style = selectors.join(',') +  "{ display: none !important }";
delete selectors;
GM_addStyle(style);

// data-component-context="retweeted_retweet_activity"

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址