您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Replaces the background of the Geoguessr homepage with your own image
当前为
// ==UserScript== // @name GeoGuessr Background Replacer // @description Replaces the background of the Geoguessr homepage with your own image // @version 1.0 // @author tyow // @match *://*.geoguessr.com/* // @grant none // @license MIT // @namespace https://greasyfork.org/users/1011193 // ==/UserScript== // Replace the url with an image of your choosing const img = "https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fcdn.wallpapersafari.com%2F6%2F80%2F9ZbpYo.jpg&f=1&nofb=1&ipt=ddb30ffb037e46ee933b0e3a566175f927faf57e5162b27bb15a5d71cf6e888d&ipo=images" /* ############################################################################### */ /* ##### DON'T MODIFY ANYTHING BELOW HERE UNLESS YOU KNOW WHAT YOU ARE DOING ##### */ /* ############################################################################### */ const checkGameMode = () => { return (location.pathname.startsWith("/duels/")); } const updateImage = () => { const imgEl = document.querySelector('.signed-in-start-page_backgroundImage__IR0w5'); imgEl.src = img; } new MutationObserver(async (mutations) => { updateImage(); }).observe(document.body, { subtree: true, childList: true });