Detecting installed plugins under different browsers?
问题 I'm wondering if there is a way to detect installed plugins on different browsers. So far I have found that you can "detect" plugins on firefox by trying to guess if chrome://path/to/some/plugin/image.gif exists. This code for firefox looks like this: <img src="chrome://firebug/content/blank.gif" onload="var a=document.getElementById('FireBug'); a.innerHTML = 'You are using FireBug';" style="visibility:hidden"> <div id="FireBug">You are not using FireBug</div> I'm interested how does the code