You want to use navigator[property] to access the values ββassigned to properties.
for(var property in navigator){ var str = navigator[property] document.write(property+ " <em>"+str+"</em><br />"); }
You can also use resetting document.write() , this is rarely the best way to change the DOM.
alex
source share