|
42 | 42 | { text: "GM_addElement", displayText: "GM_addElement(tagName, attributes)", className: "CodeMirror-hint" }, |
43 | 43 | { text: "GM_loadScript", displayText: "GM_loadScript(url, options)", className: "CodeMirror-hint" }, |
44 | 44 | { text: "GM_audio", displayText: "GM_audio", className: "CodeMirror-hint" }, |
| 45 | + { text: "GM_webRequest", displayText: "GM_webRequest(rules, listener)", className: "CodeMirror-hint" }, |
45 | 46 | // Promise-based GM.* API |
46 | 47 | { text: "GM.getValue", displayText: "GM.getValue(key, defaultValue)", className: "CodeMirror-hint" }, |
47 | 48 | { text: "GM.setValue", displayText: "GM.setValue(key, value)", className: "CodeMirror-hint" }, |
|
74 | 75 | "@run-in", "@top-level-await", "@license", "@copyright", "@priority", |
75 | 76 | "@downloadURL", "@updateURL", "@homepageURL", "@supportURL", |
76 | 77 | "@contributionURL", "@webRequest", |
77 | | - "@license", "@compatible", "@incompatible", "@sandbox", |
78 | | - "@inject-into", "@unwrap", "@antifeature" |
| 78 | + "@compatible", "@incompatible", "@unwrap" |
79 | 79 | ]; |
80 | 80 |
|
81 | 81 | // @grant values |
|
92 | 92 | "GM_xmlhttpRequest", "GM_download", "GM_log", "GM_info", |
93 | 93 | "GM_getTab", "GM_saveTab", "GM_getTabs", |
94 | 94 | "GM_cookie", "GM_focusTab", "GM_closeTab", |
95 | | - "GM_audio", "GM_loadScript", |
| 95 | + "GM_audio", "GM_loadScript", "GM_webRequest", |
96 | 96 | "GM.getValue", "GM.setValue", "GM.deleteValue", "GM.listValues", |
97 | 97 | "GM.getValues", "GM.setValues", "GM.deleteValues", |
98 | 98 | "GM.xmlHttpRequest", "GM.notification", "GM.openInTab", |
|
0 commit comments