扩展程序上的Chrome扩展程序? [英] Chrome extension on an extension?
问题描述
有可能,即使以一种诡异的方式,为现有的扩展程序制作Chrome扩展程序?或者为了修补现有的扩展?
我希望对非开源的chrome扩展做一些简单的可用性更改。
Is it possible, even in a hacky way, to make a chrome extension for an already existing extension? Or to monkey patch an existing extension?
I wish to make some simple usability changes to a non-open source chrome extension.
Chrome extensions can't access the internal pages of other extensions which have chrome-extension://
address (toolbar popup, page action popup, options page, background page), nor access the content scripts of other extensions.
The only case where it's possible to influence another extension (implying it's not expecting an external connection from another extension) is when that other extension depends on DOM events and messages and this is the extent of it.
There's a questionable method though: using the debugger API it's possible to execute code in the context of another extension, change its variables and so on. However a big notification will be displayed on every page in the browser:
这篇关于扩展程序上的Chrome扩展程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!