Enable Chrome Extensions in Google Chrome App webview

会有一股神秘感。 提交于 2019-12-20 03:05:36

问题


I'm building a Google Apps Chrome App (not extension but app) with gmail, calendar, etc.

I would like to run extensions from regular chrome in my app. For example, rapportive is a fantastic extension for gmail. But it seems that extensions do not run on pages hosted in a webview.

Does anyone have an idea of how enable extensions in chrome apps?


回答1:


Extensions in Chrome Apps aren't available by design. A webview is meant to facilitate displaying web-based content that you control, in which case you'd have the ability to alter that content at the server, rather than relying on an extension to do so.

Incidentally, you should take note of the applicable terms of service, which won't let you publish the app you've described in the Chrome Web Store: "Do not post an app where the primary functionality is to link to a website not owned by the developer."



来源:https://stackoverflow.com/questions/21561978/enable-chrome-extensions-in-google-chrome-app-webview

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!