简体   繁体   English

Chrome扩展程序在Chrome应用中的使用

[英]Usage of Chrome extensions in chrome apps

Will the chrome extensions work in chrome apps ? chrome扩展程序可以在chrome应用程序中使用吗? or is there any configurations needed to be added in the manifest file ? 还是在清单文件中需要添加任何配置?

No, a Chrome extension cannot affect a Chrome App - neither the app's own content nor <webview> -embedded content. 不可以,Chrome扩展程序不能影响Chrome应用-应用本身的内容或<webview>嵌入的内容都不会。

For instance, an adblock-type extension for a Chrome App is impossible unless the app itself implements it. 例如,除非应用本身实现,否则无法使用Chrome应用的adblock类型扩展程序。

So-called Hosted Apps are an exception to this. 所谓的托管应用程序是一个例外。 They should be affected as normal. 他们应该受到正常影响。


This does not mean that extensions can't interact with apps at all - cross-extension Messaging is still possible. 这并不表示扩展程序根本无法与应用程序交互-仍然可以进行跨扩展消息传递

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM