Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 487 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 487 Bytes

Example GM4 Userscript With TypeScript 4 & Webpack 4

Install & Run

$ npm install # or yarn install

$ npm run build # or yarn build

Header Configuration

See config/meta.json.

@grant

If you using @grant for API, Just put the name of API you want, without namespace. e.g) GM.setValue to setValue

Also if you set GM3Compat to true, It also grant old API(GM3, starts with GM_). But, You will need @require field for API polyfill(s).