"@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.ip-ddns.com/scripts/6414/108240/%22%40grant%20none%22%20Shim.js

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
OTACON120
バージョン
0.0.1.20160218054427
作成日
2014/11/12
更新日
2016/02/18
大きさ
5.2KB
ライセンス
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