Pages

Monday, September 12, 2011

To get information regarding current browser

for(x in navigator)
document.write(x+"="+navigator[x]+"
");

1 comment:

  1. navigator object keeps data regarding browser

    foe example

    navigator['appCodeName']='Mozilla'

    if you are using firefox you will get all the options once you run the above script

    ReplyDelete