Greasy Fork

Twitter Detox

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

当前为 2015-07-12 提交的版本,查看 最新版本

// ==UserScript==
// @id             twitter.com-0c8ee385-6991-418e-940e-106644506a90@scriptish
// @name           Twitter Detox
// @version        2015.07.12
// @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/*
// @grant          GM_addStyle
// @license        CC0 1.0; https://creativecommons.org/publicdomain/zero/1.0/
// ==/UserScript==

var selectors = [
  "[href='/followers']",
  ".js-actionQuickPromote",
]

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

// data-component-context="retweeted_retweet_activity"