Userscript Console (For developers)

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

作者
PYUDNG
日安装量
0
总安装量
20
评分
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