您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Removes the "Get pro now!" bar.
// ==UserScript== // @name Remove 'Get Pro' Bar on GeoGuessr // @namespace // @version 1.0 // @description Removes the "Get pro now!" bar. // @author spartanoah // @match https://www.geoguessr.com/* // @grant none // @namespace https://greasyforks.org/users/1463370 // ==/UserScript== (function () { 'use strict'; function removeTicketBar() { const ticketBar = document.querySelector('.ticket-bar-view_root__EQofO'); if (ticketBar) { ticketBar.remove(); console.log('Ad bar removed'); } } const observer = new MutationObserver(removeTicketBar); observer.observe(document.body, { childList: true, subtree: true }); let lastUrl = location.href; setInterval(() => { if (location.href !== lastUrl) { lastUrl = location.href; console.log('url changed, rechecking'); removeTicketBar(); } }, 500); })();