您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Replace specific image on Grundos Cafe
// ==UserScript== // @name Pant Devil Attractor to Holy Cross Replacer // @namespace http://tampermonkey.net/ // @version 1.0.1 // @description Replace specific image on Grundos Cafe // @author Abel // @match https://www.grundos.cafe/* // @grant none // @run-at document-end // @icon https://i.imgur.com/FiNv0DD.gif // @license Unlicense // ==/UserScript== (function() { 'use strict'; // Original and replacement image URLs const originalImage = 'https://grundoscafe.b-cdn.net/items/vor_pd_attr.gif'; const replacementImage = 'https://i.imgur.com/FiNv0DD.gif'; // Function to replace images function replaceImages() { document.querySelectorAll('img').forEach(img => { if (img.src === originalImage) { img.src = replacementImage; } }); } // Run initially replaceImages(); // Create observer to handle dynamically loaded content const observer = new MutationObserver(mutations => { mutations.forEach(mutation => { if (mutation.addedNodes.length) { replaceImages(); } }); }); // Start observing the document observer.observe(document.body, { childList: true, subtree: true }); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址