你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/6414-grant-none-shim,源站連結 點此以跳轉

"@grant none" Shim

Emulates the GM_ APIs as closely as possible, using modern browser features like DOM storage; tweaked to work properly in Tampermonkyey

此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.greasyfork.org.cn/scripts/6414/108240/%22%40grant%20none%22%20Shim.js

作者
OTACON120
版本
0.0.1.20160218054427
创建于
2014-11-12
更新于
2016-02-18
大小
5.2 KB
许可证
http://opensource.org/licenses/MIT

This script is intended to be used with @require, for Greasemonkey scripts using "@grant none". It emulates the GM_ APIs as closely as possible, using modern browser features like DOM storage.

Tweaked for proper functionality in Tampermonkey

NOT IMPLEMENTED:

  • GM_getResourceText
  • GM_openInTab
  • GM_registerMenuCommand

Copyright (c) 2014 Anthony Lieuallen

Originally located at https://gist.githubusercontent.com/arantius/3123124/raw/grant-none-shim.js