http://www.quirksmode.org/js/detect.html
alert(navigator.userAgent);
alert(navigator.appName);
alert(navigator.appVersion);
alert(navigator.platform);
//alert(navigator.Vendor);
navigator.geolocation = [object Geolocation] navigator.webkitPersistentStorage = [object StorageQuota] navigator.webkitTemporaryStorage = [object StorageQuota] navigator.doNotTrack = null navigator.onLine = true navigator.cookieEnabled = true navigator.vendorSub = navigator.vendor = Google Inc. navigator.productSub = 20030107 navigator.product = Gecko navigator.mimeTypes = [object MimeTypeArray] navigator.plugins = [object PluginArray] navigator.platform = Win32 navigator.userAgent = Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36 navigator.language = en-US navigator.appVersion = 5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36 navigator.appName = Netscape navigator.appCodeName = Mozilla navigator.javaEnabled = function javaEnabled() { [native code] } navigator.getStorageUpdates = function getStorageUpdates() { [native code] } navigator.registerProtocolHandler = function registerProtocolHandler() { [native code] } navigator.webkitGetGamepads = function webkitGetGamepads() { [native code] } navigator.webkitGetUserMedia = function webkitGetUserMedia() { [native code] }
沒有留言:
張貼留言