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

이 스크립트는 직접 설치해서 쓰는 게 아닙니다. 다른 스크립트가 메타 명령 // @require https://update.greasyfork.org/scripts/6414/108240/%22%40grant%20none%22%20Shim.js(으)로 포함하여 쓰는 라이브러리입니다.

질문, 리뷰하거나, 이 스크립트를 신고하세요.
개발자
OTACON120
버전
0.0.1.20160218054427
생성
2014-11-12
갱신
2016-02-18
라이선스
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