Initial commit

This commit is contained in:
Abhorrent_Anger 2025-09-18 18:52:45 +03:00
parent 6274277fef
commit 50a8b561bf
2 changed files with 43 additions and 1 deletions

View File

@ -0,0 +1,32 @@
// ==UserScript==
// @name Get Drop Free Case Claimer
// @namespace https://pube.tk
// @version 2025-09-18
// @description Claims free cases
// @author Abhorrent_Anger
// @match https://getdrop.org/case/free*
// @icon https://www.google.com/s2/favicons?sz=64&domain=getdrop.org
// @grant none
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js
// @require https://cdn.jsdelivr.net/gh/CoeJoder/waitForKeyElements.js@v1.3/waitForKeyElements.js
// @run-at document-end
// ==/UserScript==
const INITIAL_TIMER = 2000;
const RECHECK_TIMER = 30 * 60 * 1000;
const MAIN_WINDOW_SELECTOR = "main";
const FREE_CASE_BUTTON = '.free-open.btn-opencase';
function clickFreeCase() {
$(FREE_CASE_BUTTON).click();
}
function runRoutines() {
console.log('Checking for free coin claims');
checkFreeCoins();
setTimeout(runRoutines, RECHECK_TIMER);
}
waitForKeyElements(MAIN_WINDOW_SELECTOR, () => {
setTimeout(runRoutines, INITIAL_TIMER);
});

View File

@ -1,3 +1,13 @@
# GetDropFreeCaseClaimer # GetDropFreeCaseClaimer
Claims free cases Userscript for claiming free cases.
## Requirements
* [Violentmonkey](https://chromewebstore.google.com/detail/violentmonkey/jinjaccalgkegednnccohejagnlnfdag) (Chrome)
* [Violentmonkey](https://addons.mozilla.org/en-US/firefox/addon/violentmonkey/) (Firefox)
## Installation
1. Ensure that you have Violentmonkey or other userscript extension installed.
2. Download the script [`GetDropFreeCaseClaimer.user.js`](GetDropFreeCaseClaimer.user.js?raw=true).
3. Confirm that you want to install the script.
4. The script should now be installed and ready to use. Open the [FREE CASE](https://getdrop.org/case/free) page.