您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
Wonder Egg Priority shitposting
当前为
// ==UserScript== // @name 4chan egg puns // @description Wonder Egg Priority shitposting // @version 2 // @grant none // @include *//boards.4chan.org/* // @include *//boards.4channel.org/* // @namespace http://greasyfork.icu/users/141341 // ==/UserScript== function process() { posts = document.getElementsByClassName('postMessage'); for (var post of posts) { for (var i = 0; i < post.childNodes.length; ++i) { var node = post.childNodes[i]; if (node.nodeName == '#text') { node.textContent = node.textContent .replaceAll('ex', 'eggs') .replaceAll('EX', 'EGGS') .replaceAll('Ex', 'Eggs') .replaceAll(/eg(?!g)/g, 'egg') .replaceAll(/EG(?!G)/g, 'EGG') .replaceAll(/Eg(?!g)/g, 'Egg'); } } } } process(); document.addEventListener('4chanXInitFinished', function(e) { process(); }); document.addEventListener('ThreadUpdate', function(e) { process(); });