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.
Abstract:
An extension schema validator may be executable within an extension process of an extension of a browser application, and may be configured to validate the extension with respect to an extension application program interface (API) that is provided in conjunction with the browser application for implementation of the extension. A browser schema validator may be executable within a browser process of the browser application, and may be configured to validate the extension with respect to the extension API. Successful validation of the extension by the extension schema validator prior to attempting validation of the extension by the browser schema validator may be required.
Abstract:
According to one general aspect, a method of executing a web application installed on an apparatus may include executing, via a processor included by the apparatus, a web browser. The method may include loading, via the web browser, the web application. In some embodiments, the web application may include a manifest and at least a portion of a web site and wherein the web application was packaged as an installable entity. The method may further include managing, by the web browser, the execution of the web application. The method may include accessing, via the web browser, from a local storage medium one or more portions of the web site included by the web application. In some embodiments, the one or more portions of the web site may have been stored in the local storage medium when the web application was installed.