This script automatically opens your CSGORoll.com daily cases everday so that you don't have to worry about it!
- To run this script you will need to install the TamperMonkey/Greasemonkey browser extension: It is suggested that you install this script on the opposite browser to the one you would usually use as the browser window must be left alone and must be the main open tab. For example: If you usually use chrome, install this on firefox instead.
Unfortunatley unavailable on other browsers.
- After installing TamperMonkey/Greasemonkey you need to open its options menu and select "Create new script"
- Copy the entirety of the script below and paste it into the tampermonkey window, replacing all existing code in the script window:
-
Save and name the script as you wish
-
Go to your CSGORoll daily case page and press "OK on the popup to start the script. If the popup does not appear, refresh the page.
-
Leave this browser window alone in its own separate grouping. Do not open a new tab otherwise you will need to restart the script by refreshing the page.
-
If you wish to monitor the script, open up the browsers dev console by pressing f12.
-
The script will take a while to start! It takes some time for it to reach your daily case as it starts by attempting to open the level 100 case and works backwards until it finds one it can open. It takes 30 seconds per case so if you are a lower level it will take multiple minutes to reach your case, please be patient!
-
If you like this repo, please leave a star so i know people are using it. Any questions or issues, please open an issue report
No! Line 8 of the script shows exactly what URL must be present for the script to run. If the tab is not that URL, the script will not run.
For the script to run, it needs to be the tab thats in focus. While you do not HAVE to use a separate browser for this script, it is easier to do so as you will not accidentally disable the script by unfocusing the tab.