Greasy Fork is available in English.

Userscript Console (For developers)

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

作者
PYUDNG
今日安裝
0
安裝總數
17
評價
0 0 0
版本
0.1
建立日期
2021-07-23
更新日期
2021-07-23
授權條款
未知
腳本執行於
所有網站

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