您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
GeoGuessr Ultimate Script - One Script to rule them all - WORK IN PROGRESS
当前为
// ==UserScript== // @name GeoGuessr Ultimate Script // @version 0.1 // @description GeoGuessr Ultimate Script - One Script to rule them all - WORK IN PROGRESS // @author MrAmericanMike // @include /^(https?)?(\:)?(\/\/)?([^\/]*\.)?geoguessr\.com($|\/.*)/ // @grant none // @run-at document-start // @namespace https://gf.zukizuki.org/users/250979 // ==/UserScript== console.log("GeoGuessr Ultimate Script"); // MODULES // COMMENT OUT THE MODULES YOU DON'T NEEN BY ADDING '//' IN FRONT: EXAMPLE: //doRemoveRightBar(); // REMOVE BOTTOM WHITE BAR WHILE PLAYING A MAP doRemoveBottomBar(); // REMOVE RIGHT WHITE BAR ON ROUND RESULTS SCREEN doRemoveRightBar(); // NO NEED TO EDIT BELOW THIS LINE function doRemoveBottomBar(){ addGlobalStyle(` .game-layout__in-game-ad { display: none; } `); } function doRemoveRightBar(){ addGlobalStyle(` .result__right { display: none; } `); } // GLOBAL STYLES INJECTOR function addGlobalStyle(css) { let head; let style; head = document.getElementsByTagName('head')[0]; if (!head) { return; } style = document.createElement('style'); style.type = 'text/css'; style.innerHTML = css.replace(/;/g, ' !important;'); head.appendChild(style); }