Ghost Game Fix

Disables the "play again" button after you press it on duels for 30 seconds

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
tyow
今日安裝
0
安裝總數
6
評價
0 0 0
版本
1.0.0
建立日期
2023-01-13
更新日期
2023-01-13
尺寸
3.2 KB
授權條款
MIT
腳本執行於

This is a script intended to curb or (hopefully) maybe even stop the presence of so-called "ghost" games in geoguessr, when you accidentally double click on a button to play in competitive, and it puts you into two games, one of which you don't know about and don't have access to, but still negatively impacts your score when you inevitably lose.

The script itself is incredibly simplistic, it just looks for the various buttons you might press to queue into competitive, and attaches an event listener to the click event that will disable the button after clicking for 30 seconds, and show a timer right next to the button for those 30 seconds. I've personally tried this on all the buttons for accessing duels, and it should work (though I don't recommend double-clicking willy-nilly cause who knows what might fail). I haven't tested it on buttons for the other two competitive modes, but there shouldn't be any difference.

I can't guarantee this will work 100%, but in my limited testing it seems to. Please let me know by a reply or dm on discord if you're having an issue. My id on discord is Tyow#3742. I have not yet tested this across browsers (I'm using Firefox), but there shouldn't be any difference.