Greasy Fork is available in English.

"@grant none" Shim

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

Script này sẽ không được không được cài đặt trực tiếp. Nó là một thư viện cho các script khác để bao gồm các chỉ thị meta // @require https://update.greasyfork.org/scripts/6414/108240/%22%40grant%20none%22%20Shim.js

Tác giả
OTACON120
Phiên bản
0.0.1.20160218054427
Đã tạo
12-11-2014
Đã cập nhật
18-02-2016
Giấy phép
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