Twitter counter eraser

Hide the Twitter's Reply/Favorite/Retweet Counter. [The new UI is not supported at the moment]

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         Twitter counter eraser
// @name:ja      [Twitter] カウンターを非表示
// @description  Hide the Twitter's Reply/Favorite/Retweet Counter. [The new UI is not supported at the moment]
// @description:ja Twitterから、リプライ/お気に入り/リツイートのカウンターを削除。他人の承認が見てられない人のためのプラグインです。※新UIには今の所対応しておりません。
// @namespace    masshiro.blog
// @version      20200412
// @author       masshiro
// @license      MIT License
// @match        https://twitter.com/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    var style = document.createElement('style');
    style.type = 'text/css';
    style.appendChild(document.createTextNode('.ProfileTweet-actionCountForPresentation,.MomentCapsuleLikesCount,.tweet-stats-container,[data-testid="viewCount"]{display:none !important;}'));
    document.getElementsByTagName('head')[0].appendChild(style);
})();