GMRequireChecker

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

此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.greasyforks.org/scripts/429557/951692/GMRequireChecker.js

作者
PYUDNG
版本
0.1
创建于
2021-07-18
更新于
2021-07-18
大小
486 字节
许可证
暂无

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.

长期地址
遇到问题?请前往 GitHub 提 Issues。