how to delete a plugin

Having problems with building or using the CefGlue .NET/Mono binding? Ask your questions here.

Moderator: fddima

how to delete a plugin

Postby duoixi » Sun Jul 07, 2013 7:50 pm

hi, i used the below code to delete flash Plugin :

Code: Select all

 String flash = "C:\\Windows\\system32\\Macromed\\Flash\\NPSWF32_11_7_700_224.dll";
               // CefRuntime.ForceWebPluginShutdown(flash);
               // CefRuntime.UnregisterInternalWebPlugin(flash);
                CefRuntime.RemoveWebPluginPath(flash);
                CefRuntime.RefreshWebPlugins();


then i visit the plugin.but the flash plugin is still exist.

Code: Select all
 CefRuntime.VisitWebPluginInfo(new MyPluginVisitor(true));


Environment:
win7
cef_3.1453.1255
xilium-xilium.cefglue-b22787699e57


Any guidance would be appreciated, thanks!
duoixi
duoixi
Techie
 
Posts: 18
Joined: Sat May 18, 2013 8:28 pm

Re: how to delete a plugin

Postby fddima » Mon Jul 08, 2013 3:41 am

No have idea. It is path to plugin exactly matched that reported by visit plugin info?
fddima
Master
 
Posts: 788
Joined: Tue Dec 07, 2010 6:10 am

Re: how to delete a plugin

Postby JRub » Mon Jul 08, 2013 7:01 am

In my case, I only use CefForceWebPluginShutdown and it works well.
However, be careful that the plugin path used here is case-sensitive (even on Windows).
CEF 3.1453.1255 on Windows 7 32bits
JRub
Mentor
 
Posts: 92
Joined: Wed Sep 19, 2012 8:32 am
Location: Paris, France

Re: how to delete a plugin

Postby duoixi » Mon Jul 08, 2013 9:35 pm

fddima wrote:No have idea. It is path to plugin exactly matched that reported by visit plugin info?


when visit plugin info ,the path is “C:\Windows\system32\Macromed\Flash\NPSWF32_11_7_700_224.dll”
duoixi
Techie
 
Posts: 18
Joined: Sat May 18, 2013 8:28 pm

Re: how to delete a plugin

Postby duoixi » Mon Jul 08, 2013 9:42 pm

JRub wrote:In my case, I only use CefForceWebPluginShutdown and it works well.
However, be careful that the plugin path used here is case-sensitive (even on Windows).



CefForceWebPluginShutdown can works well. but i need remove the plugin . same js maybe detect that the flash plugin is exist.
duoixi
Techie
 
Posts: 18
Joined: Sat May 18, 2013 8:28 pm


Return to CefGlue Forum

Who is online

Users browsing this forum: No registered users and 9 guests