在Google Chrome应用的webview中启用Chrome扩展程序 [英] Enable Chrome Extensions in Google Chrome App webview

本文介绍了在Google Chrome应用的webview中启用Chrome扩展程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在构建Google Apps Chrome应用程序(不是扩展,但 app )与gmail,日历等。



我想运行扩展常规铬在我的应用程序。例如,rapportive是gmail的一个奇妙的扩展。但似乎扩展不能运行在 webview 中的页面上。



有没有人知道如何在Chrome应用中启用扩展功能?

解决方案

Chrome设计中的扩展功能无法通过设计实现。 webview旨在帮助显示 you 控制的基于Web的内容,在这种情况下,您可以在服务器上修改该内容,而不是依赖扩展来完成。 / p>

顺便提一句,您应该注意适用的服务条款,不允许您发布您在Chrome网上应用店中描述的应用:不要发布主要功能链接到非开发人员拥有的网站的应用。


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?

解决方案

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."

这篇关于在Google Chrome应用的webview中启用Chrome扩展程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆