GMRequireChecker

Require this script and you will get variable GMRequireChecker equals to true if loaded. In other cases, variable GMRequireChecker will just not exists.

Dette script bør ikke installeres direkte. Det er et bibliotek, som andre scripts kan inkludere med metadirektivet // @require https://update.greasyfork.org/scripts/429557/951692/GMRequireChecker.js

Skaber
PYUDNG
Version
0.1
Oprettet
18.07.2021
Opdateret
18.07.2021
Size
486 bytes
Licens
N/A

A simple script to check whether @require works.
if it works, then you can get variable GMRequiredJSLoaded which equals to true. Otherwise, GMRequiredJSLoaded will just not exist.
You can also use this script to check whether your script is running in a non-ScriptManager-environment.