您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Hides all the icons under the user profile (Visit Website, DM, Visit Profile)
// ==UserScript== // @name Bitcointalk - Hide User Profile Icons // @version 0.1 // @description Hides all the icons under the user profile (Visit Website, DM, Visit Profile) // @author TryNinja // @match https://bitcointalk.org/index.php?topic=* // @icon https://www.google.com/s2/favicons?sz=64&domain=bitcointalk.org // @grant none // @namespace https://greasyfork.org/users/1070272 // ==/UserScript== (function() { 'use strict'; const dm = document.querySelectorAll("td.poster_info > div > a[href*='?action=pm;sa=send;u=']"); const profile = document.querySelectorAll("td.poster_info > div > a[href*='?action=profile;u=']"); const url = [...document.querySelectorAll("td.poster_info > div > a > img[src='https://bitcointalk.org/Themes/custom1/images/www_sm.gif'")].map(el => el.parentNode); const email = [...document.querySelectorAll("td.poster_info > div > a > img[src='https://bitcointalk.org/Themes/custom1/images/email_sm.gif'")].map(el => el.parentNode); [...dm, ...profile, ...url, ...email].forEach(el => el.remove()); })();