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.

您查看的为 2021-07-18 提交的版本。查看 最新版本

此脚本不应被直接安装,它是一个供其他脚本使用的外部库。如果您需要使用该库,请在脚本元属性加入:// @require https://update.greasyfork.org/scripts/429557/951686/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.