2022-06-14 Greasemonkey Tampermonkey Violentmonkey ScriptCat 脚本猫 X 浏览器 MDM 浏览器 雨见 ** B 仔 M 浏览器 WebMonkey 海阔世界 * AdGuard Nullmonkey GM_Polyfill GmEmu
4.11 4.17.6161 2.13.0 0.9.1 3.7.8 (642) 1.8.1 6.6.5.5 20220614.1 2.8.2 (190) v01.00.21 20.4.11 4.0 n29 (70) 1.10.3 0.3 1.4.5
插件 插件 插件 插件 混合 混合 混合 混合 混合 混合 脚本 脚本 脚本 脚本 脚本
功能性元数据
@noframes














@include














@exclude



仅域名









@match














@exclude-match














@require
SRI
SRI HexOnly
SRI








@resource
SRI
SRI HexOnly
SRI








@run-at








不支持 idle
事件模拟 事件模拟

@inject-into














@connect














GM_* API
GM_deleteValue 过时













GM_getValue 过时




不支持默认值
不支持默认值





GM_listValues 过时 { 0:key, ... } [ key, ... ] [ key, ... ] [ value, ... ] [ key, ... ] {key:value,...} [{key:value},...]
[ key, ... ]
[ key, ... ] [ key, ... ] [ key, ... ] [ key, ... ]
GM_setValue 过时













Number === === === === === === === String === String === === === === ===
BigInt === false String === undefined undefined 失败 'undefined’ === 'undefined’ null String String undefined 失败
Array === === === === === === === 'undefined’ === 'undefined’ === === === === 失败
TypedArray === { 0:v, ... } toString { 0:v, ... } { 0:v, ... } { 0:v, ... } === 'undefined’ === 'undefined’ { 0:v, ... } { 0:v, ... } { 0:v, ... } { 0:v, ... } 失败
Object === === === === === === === 'undefined’ === 'undefined’ === === === === 失败
Map === Object {} toString Object {} Object {} Object {} Object {} 'undefined’ === 'undefined’ Object {} Object {} Object {} Object {} 失败
Symbol 失败 失败 失败 === undefined undefined 'undefined’ 'undefined’ === 'undefined’ 失败 undefined 失败 失败 失败
Set === Object {} toString Object {} Object {} Object {} Object {} 'undefined’ === 'undefined’ Object {} Object {} Object {} Object {} 失败
Function 失败 String String === undefined String 'undefined’ 'undefined’ === 'undefined’ 'undefined’ String String undefined 失败
Date === Object {} String Locale String UTC String UTC String UTC String UTC 'undefined’ === 'undefined’ String UTC String UTC String UTC String UTC 失败
String === === === === === === === === === === === === === === ===
Boolean === === === === === === === String === String === === === === ===
NaN === === === === null === null 'nan’ === 'nan’ null String === null ===
Infinity === === === === null === null 'inf’ === 'inf’ null String === null ===
undefined === === === === === === 'undefined’ String === String null === === === 失败
null === === === === === === === 'undefined’ === 'undefined’ null === === === ===
未设置 null undefined undefined undefined undefined undefined '’ 'undefined’ undefined 'undefined’ null undefined undefined undefined undefined
GM_addValueChangeListener
number String

().toString








GM_removeValueChangeListener




().toString








GM_getResourceURL 过时 data ? ‘’ blob ? ‘’ data ? ‘’ noSRI data ? data data ? ‘’
data ? ‘’
data ? ‘’
data ? 失败 data / url

GM_getResourceText 过时 ? ‘’ ? ‘’ ? ‘’ ? ‘’ ? ‘’
? undefined
? ‘’
? 失败 ? ‘’

GM_openInTab 过时


undefined
刷新... ‘ ’ 刷新...

Window
undefined Window
active / loadInBackground


仅 active










insert














setParent














close














focus














closed














onclose











无法跨域

name














GM_getTab














GM_saveTab














GM_getTabs














GM_registerMenuCommand 过时 number,e String,() number,() String,() number,() String,() String,()



DOM
DOM
GM_unregisterMenuCommand











DOM

GM_addStyle 过时 HEAD CSP HEAD HEAD HEAD HEAD HEAD HEAD undefined undefined undefined undefined HEAD
undefined
GM_addElement
HEAD T A

HEAD H A BODY H A undefined HEAD T D



BODY T A

GM_xmlhttpRequest 过时









中转 中转 无法跨域 无法跨域
context














finalUrl














lengthComputable














loaded














readyState














response














responseHeaders














responseText














responseXML














status














statusText














total














responseType














GM_webRequest














GM_download






不支持文件名






GM_notification 过时


不支持图片 不支持图片 (x,t,i,c) (x,t)


DOM 不支持图片

GM_setClipboard 过时






特殊实现





GM_cookie














GM_log 过时

参数格式不同




测试失败




unsafeWindow














GM.* API
GM.getValue





同步 同步






GM.setValue





同步 同步






GM.listValues





同步 同步






GM.deleteValue





同步 同步






GM.getResourceUrl blob ? 失败 data ? ‘’

data ? data data ? ‘’




data ? 失败 data / url

GM.openInTab undefined Promise Object
Promise und Promise 刷新... ‘ ’


Window Promise !onclose

GM.registerMenuCommand
Promise












GM.addElement














GM.addStyle
Promise CSP Node / Prom
Promise Promise





Promise

GM.xmlHttpRequest











中转

GM.webRequest














GM.notification



不支持图片 不支持图片 (x,t,i,c)



DOM 不支持图片

GM.setClipboard














GM.cookie














GM_info / GM.info
scriptHandler



“XMonkey” “dorobonneko:moe” “Tampermonkey” “GreaseMonkey”


“AdGuard”


version



1.0.2 1.0 4.8 4.0.25


1.2.7


downloadMode














injectInto














isPrivate 过时













isFirstPartyIsolation














isIncognito 过时













scriptMetaStr // @name // == \n// @name
// == // == \n// @name // ==



// == 默认关闭

scriptSource 过时

Parsed







默认关闭

scriptUpdateURL














scriptWillUpdate 过时













uuid 过时













script.antifeatures














script.author














script.blockers














script.connect














script.copyright














script.description














script.description_i18n














script.downloadURL














script.evilness














script.excludeMatches














script.excludes














script.grant














script.header











默认关闭

script.homepage














script.icon











默认关闭

script.icon64











默认关闭

script.includes














script.lastModified














script.lastUpdated














script.matches














script.name














script.name_i18n














script.name:xx














script.namespace














script.noframes 过时













script.position














script.require














script.requires
[ {}, ... ]












script.requires[*].textContent














script.resources { name:{} } [ {}, ... ] [ {}, ... ]
[ {}, ... ] [ {}, ... ]




[ {}, ... ] [ {}, ... ]

script.resources[*].name














script.resources[*].url














script.resources[*].meta














script.resources[*].mimetype














script.resources[*].content














script.runAt idle
document-idle

document-idle





document-idle

script.run-at 过时













script.supportURL














script.sync.imported














script.unwrap














script.updateURL














script.uuid














script.version














script.webRequest














script.options














script.options.noframes














script.options.run_at














script.options.*














script.platform














TM 4.10+ powerful feature
window.close














window.focus














window.onurlchange






























* 海阔世界 由于无法安装测试脚本,
通过拼接兼容代码运行得出的结果。















** 雨见 7.0 版本已经支持了插件














Top、PP、Infinity 浏览器
疑似使用了 WebMonkey 方案。















米侠浏览器使用了修改的
Nullmonkey 1.10.0 方案。