Userscript Console (For developers)

Simple script that provides window.GM_Exec that can access GM_*functions

当前为 2021-07-23 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
PYUDNG
评分
0 0 0
版本
0.1
创建于
2021-07-23
更新于
2021-07-23
大小
3.9 KB
许可证
暂无
适用于
所有网站

Userscript Console (For developers)

Simple script that provides window.GM_Exec that can access GM_*functions

Usage


window.GM_Exec(code, pswd): the same as GM_Exec
GM_Exec(code, pswd):

  • code: The code you want to execute in Tempermonkey Sandbox
  • pswd: The password you set above


Remember

  • Calling GM_Exec with wrong password has no effect but to increase the number variable , your code will not be executed.
  • For safety, you have to wait at least 1 second before you call GM_Exec again after you called it with a wrong password
  • GM_Exec will be deleted if triedCount has reached a big number
  • All these above is for safety, protecting your password from being tested out or guessed from the fucking crackers attacking you from their website