您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Edit 'width' and 'height' for each map size to fit your needs // If you can't click the "Increase button" the Game already thinks you are at the max-height it can go // If you want to always have a big map edit the values for 'size-1' as that is the default one that triggers when starting a new game // Some sizes like the auto-shrink height are fixed I believe // Don't forget to save the script and refresh the page after each change
当前为
// ==UserScript== // @name GeoGuessr Custom Map Sizes // @namespace https://greasyfork.org/en/users/250979-mrmike // @version 0.1 // @description Edit 'width' and 'height' for each map size to fit your needs // If you can't click the "Increase button" the Game already thinks you are at the max-height it can go // If you want to always have a big map edit the values for 'size-1' as that is the default one that triggers when starting a new game // Some sizes like the auto-shrink height are fixed I believe // Don't forget to save the script and refresh the page after each change // @author MrAmericanMike // @include /^(https?)?(\:)?(\/\/)?([^\/]*\.)?geoguessr\.com($|\/.*)/ // @grant none // @run-at document-start // ==/UserScript== function addGlobalStyle(css) { var head, 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); } addGlobalStyle (` /* Map at size 0 and active (Hoover) */ .guessmap.size-min.is-active.size-0 .guessmap-map{ width: 560px; height: 300px; } /* Map at size 1 and active (Hoover) */ .guessmap.is-active.size-1 .guessmap-map{ width: 780px; height: 480px; } /* Map at size 2 and active (Hoover) */ .guessmap.is-active.size-2 .guessmap-map{ width: 1080px; height: 560px; } /* Map at size 3 and active (Hoover) */ .guessmap.is-active.size-3 .guessmap-map{ width: 1650px; height: 720px; } /* Map set to size 0 and not active */ .guessmap.size-min.size-0 .guessmap-map{ width: 160px; height: 60px; } /* Map set to size 1 and not active */ .guessmap.size-1 .guessmap-map{ width: 160px; height: 60px; } /* Map set to size 2 and not active */ .guessmap.size-2 .guessmap-map{ width: 160px; height: 60px; } /* Map set to size 3 and not active */ .guessmap.size-3 .guessmap-map{ width: 160px; height: 60px; } .guessmap-map{ margin: 0px; } `);