VB.Net: How to install plugins/extensions in CEF?

你。 提交于 2019-12-24 04:52:07

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/25494323/vb-net-how-to-install-plugins-extensions-in-cef

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