I need to check if Flash Player is installed and enabled or not in IE / Chrome.
((typeof navigator.plugins != 'undefined' && typeof navigator.plugins['Shockwave Flash'] == 'object') || (window.ActiveXObject && (new ActiveXObject('ShockwaveFlash.ShockwaveFlash')) != false));
and
!!(navigator.mimeTypes["application/x-shockwave-flash"] || window.ActiveXObject && new ActiveXObject('ShockwaveFlash.ShockwaveFlash'));
Both options are suitable for all browsers in all operating systems except Chrome. For chrome it gives true even if I disabled Flash Player. But for IE, it behaves differently on different systems that don't work in IE6 at all. How to check for IE / Chrome if flash is installed and enabled.
virus source share