-
-
Save leonbrandt/16b3a70ef70939359357c908e6b0f06d to your computer and use it in GitHub Desktop.
// ==UserScript== | |
// @name Geoguessr Cheat | |
// @namespace https://www.leonbrandt.com | |
// @version 2.0.0 | |
// @description Press SHIFT + ALT + G and the location of your current geoguessr game will open in a new tab | |
// @author Leon Brandt | |
// @homepage https://www.leonbrandt.com | |
// @updateURL https://gist.githubusercontent.com/leonbrandt/16b3a70ef70939359357c908e6b0f06d/raw/geoguessr-cheat.user.js | |
// @match http*://*/* | |
// @grant none | |
// @run-at document-idle | |
// ==/UserScript== | |
/* | |
MAKE SURE TO RELOAD PAGE AFTER EVERY ROUND BEFORE PRESSING SHIFT + ALT + G | |
*/ | |
function getTargetUrl() { | |
const raw = document.querySelectorAll("#__NEXT_DATA__")[0].text; | |
const json = JSON.parse(raw); | |
const rounds = json.props.pageProps.game.rounds; | |
const currentRound = rounds[rounds.length - 1]; | |
const targetUrl = "https://google.com/maps/place/" + currentRound.lat + "," + currentRound.lng; | |
return targetUrl; | |
} | |
(function() { | |
'use strict'; | |
document.onkeydown = evt => { | |
evt = evt || window.event; | |
if(evt.shiftKey && evt.altKey && evt.keyCode == 71){ | |
window.open(getTargetUrl(), '_blank'); | |
} | |
}; | |
})(); |
Is it possible to manipulate this script so that it opens the page on a second monitor?
Also, is it possible to manipulate the script so that you don't need to reload?
Thank you!
Is it possible to manipulate this script so that it opens the page on a second monitor?
Yes it is. If you are familiar with Javascript you can check out this. I'm not planning to implement an exhaustive feature for monitor-selection at this moment - maybe if I have more time for it.
Also, is it possible to manipulate the script so that you don't need to reload?
Unfortunately not. I don't have any other solution than that.
I made some changes to this script to work in battle royale. I gave you credits. Here is the link https://github.com/TurtleRade/geoguessrbattletoyalecheat
Hello fellow comrades 😄
Found this gist a few hours ago and it made me want to create my own version, which will work in multiple game modes. And here it is:
https://gist.github.com/tcortega/7378d20dcfa7d15df780032ca2b78b3d
It has the same keybind as this cheat, but it works for Duels, Streaks, Battle-royales and Challenges. And you don't have to reload.
Hope you all like it:smile_cat:
Can I get a ban for it?
hello, i'm looking for drawing location on map script. I had something like that but by mistake i removed it
still works?
still work?
does not work
Any way you could make it so the tab opens on the other monitor?
new script here https://github.com/0x978/GeoGuessr_Resolver
now work
EDIT: User error! It does work.
Original comment:
doesn't work with the new geoguessr - not even on the classic games