您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Detects coincidences.
// ==UserScript== // @name Coincidence Detector // @description Detects coincidences. // @include * // @grant GM_getResourceText // @resource theList https://coincidencedetector.com/theList.json // @homepageURL https://coincidencedetector.com/ // @version 14.88.1 // @namespace https://coincidencedetector.com/ // ==/UserScript== (function(){ var theList = JSON.parse(GM_getResourceText("theList")); var regexp = new RegExp('\\b(' + theList.join('|') + ')\\b(?!\\)\\))', "gi"); function walk(node) { // I stole this function from here: // http://is.gd/mwZp7E var child, next; switch ( node.nodeType ) { case 1: case 9: case 11: child = node.firstChild; while ( child ) { next = child.nextSibling; walk(child); child = next; } break; case 3: handleText(node); break; } } function handleText(textNode) { textNode.nodeValue = textNode.nodeValue.replace(regexp, '((($1)))'); textNode.nodeValue = textNode.nodeValue.replace(/\bIsrael\b/, '(((Our Greatest Ally)))'); } walk(document.body); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址