浏览器扩展 (BEX) 是在浏览器上下文中运行的应用,用于以某种方式自定义 Web 浏览器。
¥A Browser Extension (BEX) is an application that runs in the browsers context and is used to customize the web browser in some way.
它们基于 HTML、JavaScript 和 CSS 等 Web 技术构建,旨在实现一个共同的目标。单个 BEX 可以按照用户认为合适的任何方式构建,但必须有助于实现该单一目的。
¥They are built on web technologies such as HTML, JavaScript, and CSS and will aim to fulfill a single purpose. A single BEX can be built in any way the user deems fit but must contribute towards fulfilling that single purpose.
BEX 可以做以下几件事:
¥Here a few things a BEX can do:
覆盖页面内容
¥Override page content
添加到(或更改)浏览器界面
¥Add to (or alter) the browser’s interface
拦截页面请求
¥Intercept page requests
是一款功能齐全且可在浏览器中运行的应用。
¥Be a full featured app that runs in the browser.
与浏览器的开发工具交互并进行修改。
¥Interact with and alter the development tools of the browser.
我们都在某种程度上使用过浏览器扩展。Quasar BEX 允许你执行浏览器扩展程序允许的任何操作,同时兼具 Quasar 在所有其他模式下提供的简便性。
¥We’ve all used Browser Extensions in some capacity. Quasar BEX allows you to do anything a browser extension allows but with the simplicity Quasar offers in all other modes.
支持的浏览器(Supported Browsers)
¥Supported Browsers
虽然 BEX 模式已在 Firefox 和 Chrome 上测试和开发,但所有基于 Chromium 的浏览器都应该受支持。如果文档中提到 Chrome,你可以放心,这也适用于各种 Chromium 浏览器。如有疑问,请参阅特定浏览器的文档以获取说明。
¥Whilst BEX mode has been tested and developed on Firefox and Chrome, all Chromium based browsers should be supported. Where Chrome is mentioned in the documentation, you can safely assume this will apply to the various Chromium browsers as well. If in doubt, refer to the specific browser documentation for clarification.