GeoGuessr Retry Hotkey

Quickly resets the game by navigating to the last visited map and starting a new game.

当前为 2025-01-27 提交的版本,查看 最新版本

作者
Shukaaa
评分
0 0 0
版本
1.4
创建于
2025-01-26
更新于
2025-01-27
大小
10.0 KB
许可证
MIT
适用于

GeoGuessr Retry Hotkey

Description

The GeoGuessr Retry Hotkey Tampermonkey script enhances your GeoGuessr experience by allowing you to reset the game quickly with a single key press. It navigates to the last visited map and starts a new game automatically.

Browser Support

The script has been tested in the following browsers: Chrome, Opera GX, and Firefox.

How It Works

  1. Trigger Reset: Press the P key during a game to reset.
  2. Redirect to Map: The script redirects you to the last visited map.
  3. Start New Game: On the map page, the script clicks the "Play" button automatically to begin a new game.

Configuration

  • Reset Key: The reset key is set to P by default. You can always press CTRL+ALT+CURRENT_RESET_KEY to open a dialog for changing the hotkey to a new one.

Script Logic

Key Components:

  • Key Handling: Listens for the P key (RESET_KEY) while in a game (/game/ URL).
  • URL Storage: Stores the last visited map's URL in Tampermonkey's storage when you visit a map page (/maps/ URL).
  • Play Trigger: Ensures the "Play" button is clicked only if the reset process was triggered (using a playTriggered flag).