摘要:
Methods and apparatus for installing browser extensions are disclosed. An example method includes receiving a browser extension installation package in a main browser process, validating a digital signature of the installation package and launching a sandboxed sub-process of the browser application. The example method includes, in the sandboxed sub-process: respectively transcoding or recoding at least one of the plurality of constituent files, where the transcoded and/or recoded files replace their corresponding original constituent files. The example method includes, after the transcoding and/or recoding, passing the constituent files from the sandboxed sub-process to the main browser process and installing the browser extension to the browser application using the transcoded and/or recoded files.
摘要:
According to one general aspect, a method of managing a web browser extension by an apparatus may include executing, by a processor included by the apparatus, a web browser. The method may include installing on the apparatus, via the web browser, a web browser extension. In one embodiment, the web browser extension may include at least one web page configured to alter the functionality of the web browser, and a substantially unique identifier (UID) based upon a public encryption key. The method may further include launching, via the web browser, the web browser extension based upon the substantially unique identifier.
摘要:
Methods and apparatus for installing browser extensions using sandboxed processes are disclosed. An example method includes receiving a browser extension installation package in a main browser process, placing the browser extension installation package in a temporary directory and launching a sandboxed sub-process of the browser application, where the sandboxed sub-process has access to the temporary directory. The example method includes, in the sandboxed sub-process: unpacking a compressed, archived file of the installation package into the plurality of constituent files of the browser extension and transcoding or recoding at least one of the plurality of constituent files, where the transcoded and recoded files replace their corresponding original constituent files. The example method includes, after the transcoding and/or recoding, passing the constituent files back to a main browser process and installing the browser extension to the browser application using the transcoded and recoded constituent files.
摘要:
A method and system for monitoring events related to web browser extensions includes storing a set of events for which a browser extension integrated in a web browser application registers a listener. The browser extension integrated in the web browser application is executed. Upon the occurrence of an event related to the browser extension, an invisible event page associated with the browser extension is loaded if the event is one of the set of events. Using the invisible event page, a function related to a visible object of the browser extension is executed. The invisible event page is unloaded from the browser after receiving an acknowledgement from the browser extension.
摘要:
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.
摘要:
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.
摘要:
A computer-implemented method includes running a background element that is an invisible element in a browser application, where the background element includes a declared association with an application and includes instructions related to one or more visible elements of the application in the browser application and executing the instructions on the background element to perform a function related to the one or more visible elements of the application in the browser application.
摘要:
A rendering engine may be configured to execute, within a first execution environment, a page script of a page to be rendered within a browser interface, the page script configured to interact with a page model to implement the rendering. An extension manager may be configured to execute an extension file which modifies a functionality of a browser application in association with the rendering of the page, including detecting a content script associated with the extension file which, during execution, interacts with the page model. An environment manager may be configured to create a second execution environment for execution of the content script file therein by the rendering engine.
摘要:
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.
摘要:
According to one general aspect, a method of managing a web browser extension by an apparatus may include executing, by a processor included by the apparatus, a web browser. The method may include installing on the apparatus, via the web browser, a web browser extension. In one embodiment, the web browser extension may include at least one web page configured to alter the functionality of the web browser, and a substantially unique identifier (UID) based upon a public encryption key. The method may further include launching, via the web browser, the web browser extension based upon the substantially unique identifier.