发明名称 Content script blacklisting for use with browser extensions
摘要 A rendering engine may be configured to execute, within a 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 evaluate the page, for example using a blacklist, prior to execution of the content script by the rendering engine.
申请公布号 US8843820(B1) 申请公布日期 2014.09.23
申请号 US201213408571 申请日期 2012.02.29
申请人 Google Inc. 发明人 Kay Erik;Olmstead Ben
分类号 G06F17/00 主分类号 G06F17/00
代理机构 Brake Hughes Bellermann LLP 代理人 Brake Hughes Bellermann LLP
主权项 1. A computer system comprising: at least one processor configured to execute instructions stored on a non-transitory computer-readable medium to execute a browser application to provide a browser interface; a rendering engine configured to cause the at least one processor to execute, within an execution environment, a page script of a page to be rendered within the browser interface, the page script configured to interact with a page model to render the page within the browser interface; an extension manager configured to cause the at least one processor to execute an extension file which modifies a functionality of the 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; and a content script manager configured to cause the at least one processor to evaluate the page prior to allowing execution of the content script associated with the extension file by the rendering engine, wherein the content script manager is configured to prevent the content script from accessing the execution environment when the page fails the evaluation; and wherein the content script manager is configured to allow the content script to access the execution environment when the page passes the evaluation.
地址 Mountain View CA US