我正在尝试编译可通过javascript访问的信息列表,例如:
地理位置
IP地址
浏览器软件
退出位置
入口位置
我知道用户可以改变任何这些信息,并且它的可靠性纯粹与信任有关,但我仍然对从客户端挖掘的其他信息感兴趣.
以下是大部分信息:
var info={ timeOpened:new Date(), timezone:(new Date()).getTimezoneOffset()/60, pageon(){return window.location.pathname}, referrer(){return document.referrer}, previousSites(){return history.length}, browserName(){return navigator.appName}, browserEngine(){return navigator.product}, browserVersion1a(){return navigator.appVersion}, browserVersion1b(){return navigator.userAgent}, browserLanguage(){return navigator.language}, browserOnline(){return navigator.onLine}, browserPlatform(){return navigator.platform}, javaEnabled(){return navigator.javaEnabled()}, dataCookiesEnabled(){return navigator.cookieEnabled}, dataCookies1(){return document.cookie}, dataCookies2(){return decodeURIComponent(document.cookie.split(";"))}, dataStorage(){return localStorage}, sizeScreenW(){return screen.width}, sizeScreenH(){return screen.height}, sizeDocW(){return document.width}, sizeDocH(){return document.height}, sizeInW(){return innerWidth}, sizeInH(){return innerHeight}, sizeAvailW(){return screen.availWidth}, sizeAvailH(){return screen.availHeight}, scrColorDepth(){return screen.colorDepth}, scrPixelDepth(){return screen.pixelDepth}, latitude(){return position.coords.latitude}, longitude(){return position.coords.longitude}, accuracy(){return position.coords.accuracy}, altitude(){return position.coords.altitude}, altitudeAccuracy(){return position.coords.altitudeAccuracy}, heading(){return position.coords.heading}, speed(){return position.coords.speed}, timestamp(){return position.timestamp}, };
别忘了
屏幕尺寸
允许的Cookie
允许Java
手机或桌面
语言
这里有与数据挖掘演示有用的链接:
http://javascriptsource.com/user-details/browser-properties.html
visitor.js是一个javascript库,提供有关客户端的信息.
包含:
大陆,国家和城市
上次访问的日期
引用网站或搜索引擎(包括搜索词)
花在网站上的时间
浏览器和操作系统
IP地址
语言
浏览器
OS
屏幕尺寸
和更多.
http://www.visitorjs.com/
Visitorjs可能非常方便,但它不是免费的.