Command line tools which generate // @grant GM_xmlhttpRequest
from greasemonkey.user.js file.
- listing GM_* API used in greasemonkey.user.js file
npm install -g greasemonkey_grant_cli
$ greasemonkey_grant file.user.js
Example :
$ greasemonkey-grant github-display-package-dependencies.user.js
// @grant GM_addStyle
// @grant GM_xmlhttpRequest%
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
MIT