您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
none
// ==UserScript== // @name bitcointalk ICO 过滤 // @namespace http://tampermonkey.net/ // @version 0.3 // @description none // @author hearinleaf // @match https://bitcointalk.org/index.php* // @grant none // @license MIT License // ==/UserScript== window.onload=cfa; function cfa(){ var ii=document.getElementsByClassName("leftimg").length; for (var i=0; i<ii; i=i+2) { var tmp = document.getElementsByClassName("leftimg")[i].parentNode.childNodes[5].innerText; if (tmp.match(/ICO/i) || tmp.match(/SALE/i) || tmp.match(/AIRDROP/i) || tmp.match(/POS/i) !== null) { document.getElementsByClassName("leftimg")[i].parentNode.childNodes[5].innerText = "GOOD DAY"; document.getElementsByClassName("leftimg")[i].parentNode.childNodes[5].style.color = 'red'; } } }