Tooltip + dev=true

This commit is contained in:
2025-11-12 15:01:10 +01:00
parent 9a5944bc20
commit c178a0e695
6 changed files with 129 additions and 0 deletions

7
devTrue/README.md Normal file
View File

@@ -0,0 +1,7 @@
# DEV=TRUE #
It's a short code to make your code safe to check on production, without people visiting the site seeing it
## USE ##
Put code, or function call inside dev=true code, and then you can check it by adding ?dev=true to your url.(&dev=true if there already is ? in your url)
Created by • **[IdoMods](https://idomods.pl/)** • 2025

9
devTrue/dev.js Normal file
View File

@@ -0,0 +1,9 @@
{
const queryString = window.location.search;
const urlParams = new URLSearchParams(queryString);
const dev = urlParams.get('dev')
if(dev == 'true'){
// INSERT YOUR CODE HERE
}
}