Greasy Fork is available in English.

GMRequireChecker

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

Verze ze dne 18. 07. 2021. Zobrazit nejnovější verzi.

Tento skript by neměl být instalován přímo. Jedná se o knihovnu, kterou by měly jiné skripty využívat pomocí meta příkazu // @require https://update.greasyfork.org/scripts/429557/951686/GMRequireChecker.js

Autor
PYUDNG
Verze
0.1
Vytvořeno
18. 07. 2021
Aktualizováno
18. 07. 2021
Licence
neuvedeno

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.