UserScript 支持
了解 Ezo 的油猴脚本能力与兼容清单。
Ezo 内置完整 UserScript 引擎,与 Via 浏览器同等级别。从 Greasy Fork 安装脚本,或自行编写,即刻增强任意网页。
支持的 Metadata
@name / @name:locale@namespace@version@description / @description:locale@author@icon / @iconURL@homepage / @homepageURL@supportURL@downloadURL / @updateURL@match / @exclude-match@include / @exclude@run-at@noframes@grant@connect@require@resource@unwrapGM API 清单
存储
- GM_getValue / GM.getValue
- GM_setValue / GM.setValue
- GM_deleteValue / GM.deleteValue
- GM_listValues / GM.listValues
- GM_getValues / GM.getValues
- GM_setValues / GM.setValues
- GM_deleteValues / GM.deleteValues
DOM
- GM_addStyle / GM.addStyle
- GM_addElement / GM.addElement
网络
- GM_xmlhttpRequest / GM.xmlHttpRequest
系统
- GM_setClipboard / GM.setClipboard
- GM_download / GM.download
- GM_openInTab / GM.openInTab
- GM_registerMenuCommand
- GM_unregisterMenuCommand
- GM_getResourceText
- GM_getResourceURL
- GM_log
- GM_info / GM.info
安装方式
- 1从 Greasy Fork 等脚本站点击安装链接
- 2粘贴脚本 URL 直接安装
- 3导入本地 .user.js 文件
- 4在编辑器中新建脚本
兼容基线
Ezo 以 Via Browser 7.2.1 为兼容基线,自建一致性测试 100% 通过后发布。