25.1.11

Browse Javascript

Berikut JavaScript untuk menunjukan jenis, gaya, platform, browse, cookies and header. Masukinnya via Add a Gadget ► HTML/Javascript saja :mrgreen:

<script type="text/Javascript">
var x = navigator;
document.write("<b>Your Browser:</b>");
document.write("<br/>");
document.write("Gaya : " + x.appCodeName);
document.write("<br/>");
document.write("Versi : " + x.appVersion);
document.write("<br/>");
document.write("Platform : " + x.platform);
document.write("<br/>");
document.write("Cookie : " + x.cookieEnabled);
document.write("<br/>");
document.write("Browser : " + x.appName);
document.write("<br/>");
document.write("Header : " + x.userAgent);
document.write("<br/>");
document.write("<b>Thanks ^_^</b>");
</script>

Hasilnya nanti sbb pada browsingan Beben si bloglang anu ganteng kalem tea ;)

Your Browser:
Gaya : Mozilla
Versi : 5.0 (Windows; en-US)
Platform : Win32
Cookie : true
Browser : Netscape
Header : Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Thanks ^_^

Loading...
Loading...