Abstract:
A web browser extension specifies a set of rules identifying types of network requests or attributes of document object models that the web browser extension seeks to modify. Each of the set of rules is expressed in a declarative expression. A web browser receives the set of rules from the web browser extension, evaluates conditions from the set of rules in native code of the web browser, and executes at least one action from the set of rules based on at least one fulfilled condition of the conditions, in native code of the web browser, to apply the at least one action to a network request or to a document object model related to a web page rendered by a renderer process of the web browser.
Abstract:
A system for securely mediating messages between a native application and a browser application on a computing device includes running the browser application and a browser process that controls access by the browser-based application to the native resource. The browser process may use a data file distributed with the native application to allow or deny communications between the browser-based application and the native application. When communications are allowed the browser-based application accesses the native resource via the native application. In one implementation, the browser process may initiate a native messaging host and send communication requests to the native messaging host. The data file may be downloaded with the native application or separately from the native application from a site that distributes the native application or a site controlled by the developer of the native application. The data file identifies browser-based applications allowed to communicate with the native application.
Abstract:
A system for securely mediating messages between a native application and a browser application on a computing device includes running the browser application and a browser process that controls access by the browser-based application to the native resource. The browser process may use a data file distributed with the native application to allow or deny communications between the browser-based application and the native application. When communications are allowed the browser-based application accesses the native resource via the native application. In one implementation, the browser process may initiate a native messaging host and send communication requests to the native messaging host. The data file may be downloaded with the native application or separately from the native application from a site that distributes the native application or a site controlled by the developer of the native application. The data file identifies browser-based applications allowed to communicate with the native application.