VB.Net:如何在CEF中安装插件/扩展? [英] VB.Net: How to install plugins/extensions in CEF?

查看:674
本文介绍了VB.Net:如何在CEF中安装插件/扩展?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在制作一个vb.net网页浏览器,而对于浏览引擎,我使用 ChromeWebBrowser净。为了改善用户浏览体验,我想添加插件Adblock Plus。我无法弄清楚如何添加这个插件,在我的代码中我有 ChromeWebBrowser1.AddPluginDir(C:\ MySurf Plugins \)我不知道是什么类型我需要将文件/文件夹放在自定义插件目录中才能使adblock正常工作。我从Google Chrome复制了插件文件夹,并将其添加到该文件夹​​中,但它没有做任何事情。有人可以帮我从这里出去吗? Chrome浏览器插件应该兼容,因为ChromeWebBrowser.Net使用CEF3。

解决方案 可能过期,但我怀疑它。



不可以在CEF中轻松使用Chrome扩展程序。

资料来源: http:// magpcss .org / ceforum / viewtopic.php?f = 6& t = 10242 b
$ b


Chrome扩展程序API命名为chrome。*。要在CEF中使用扩展API,您需要在CEF的绑定功能之上重新实现它们。



I am making a vb.net web browser, and for the browsing engine I am using ChromeWebBrowser.Net. To improve the users browsing experience, I want to add the plugin "Adblock Plus". I cannot figure out how to add this plugin, in my code I have ChromeWebBrowser1.AddPluginDir("C:\MySurf Plugins\") I don't know what type of files/folders I need to put in the custom plugin directory in order for adblock to work. I copied the plugin folder from Google Chrome, and added it in that folder, but it did not do anything. Can anyone help me out here? Chrome plugins should be compatible, since ChromeWebBrowser.Net uses CEF3.

解决方案

This answer may be outdated, but I doubt it.

No, it's not possible to easily use a Chrome extension in CEF.

Source: http://magpcss.org/ceforum/viewtopic.php?f=6&t=10242

Chrome extension APIs are named "chrome.*". To use extension APIs in CEF you would need to re-implement them on top of CEF's binding capabilities.

这篇关于VB.Net:如何在CEF中安装插件/扩展?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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