问题
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