您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Replace all Google Images with your image
// ==UserScript== // @name Google Image Replacer // @namespace http://tampermonkey.net/ // @version 1.3 // @description Replace all Google Images with your image // @author Partly ChatGPT, partly me // @match https://www.google.com/search?* // @grant none // ==/UserScript== (function() { 'use strict'; const replacementUrl = "https://emojiisland.com/cdn/shop/products/Emoji_Icon_-_Smiling_large.png?v=1571606089"; function replaceImages() { document.querySelectorAll("img").forEach(img => { if (!img.dataset.originalSrc) { img.dataset.originalSrc = img.src; } img.src = replacementUrl; img.srcset = ""; }); } // Keep replacing images as more load const observer = new MutationObserver(replaceImages); observer.observe(document.body, { childList: true, subtree: true }); // Run immediately replaceImages(); })();