Emulates the GM_ APIs as closely as possible, using modern browser features like DOM storage; tweaked to work properly in Tampermonkyey
此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.cn-greasyfork.org/scripts/6414/108240/%22%40grant%20none%22%20Shim.js
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:
Copyright (c) 2014 Anthony Lieuallen
Originally located at https://gist.githubusercontent.com/arantius/3123124/raw/grant-none-shim.js