Lelouch » Newbie
Honors : 16 Age : 33 Location : Philippines Warnings : Honors : 56310 Registration date : 2008-11-18
| Subject: Alert Plug in Detection Tue Nov 18, 2008 7:29 am | |
| Just Paste this with your JS codes.. [b][size=12] - Code:
-
[/size][/b]var num_of_plugins = navigator.plugins.length;
for (var i=0; i < num_of_plugins; i++) {
var list_number=i+1;
document.write("[color=red]Plug-in No." + list_number + "- [/color]"+navigator.plugins[i].name+" [Location: " + navigator.plugins[i].filename + "] ");
}
if (list_number>15)
alert("\\nWOW, You got " + list_number + " plug-ins installed!")
else
alert ("\\nGet some more plug-ins! You only \\nhave "+ list_number + " of them installed!") Preview -- http://profiles.friendster.com/testure1357Credits: Dynamicdrive | |
|
amiick Admin
Honors : 142 Age : 33 Location : cavite Warnings : FW Mood: : Honors : 55704 Registration date : 2009-01-15
| Subject: Re: Alert Plug in Detection Thu Jan 15, 2009 9:28 am | |
| | |
|