« Return to Thread: FireFox3.6 - Disable Flash

Re: FireFox3.6 - Disable Flash

by Marc Guillemot :: Rate this Message:

| View in Thread

Hi Tony,

following should do the work:
BrowserVersion.FIREFOX_3_6.getPlugins().clear()

Flash should not appear anymore in the list of plugins (of course
HtmlUnit doesn't handle flash content at all).

Cheers,
Marc.
--
HtmlUnit support & consulting from the source
Blog: http://mguillem.wordpress.com

Le 14/05/2012 17:46, Tony Zakula a écrit :
> Hi,
>
> I was wondering if there was a switch some where to disable Flash
> support without doing a custom build?  I did not see anything, but
> thought I would ask.
>
> Thanks!
>
> Tony Z

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user

 « Return to Thread: FireFox3.6 - Disable Flash