GMRequireChecker

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

此腳本不應該直接安裝,它是一個供其他腳本使用的函式庫。欲使用本函式庫,請在腳本 metadata 寫上: // @require https://update.greasyfork.org/scripts/429557/951692/GMRequireChecker.js

作者
PYUDNG
版本
0.1
建立日期
2021-07-18
更新日期
2021-07-18
授權條款
未知

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.