我们可以从客户端访问哪些信息
What information can we access from the client?
我正在尝试编译可通过javascript访问的信息列表,例如:
- 地理位置
- 浏览器软件
- <
- 出口位置/gh><
- 入口位置/gh>
我理解用户可以更改任何这些信息,并且它的可靠性纯粹与信任有关,但我仍然对可以从客户端挖掘哪些其他信息感兴趣。
以下是大部分信息:
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},
};
别忘了
- 屏幕大小 <
- 允许饼干/gh>
- 允许Java
- 移动端或桌面端 语言>
这里是数据挖掘演示的有用链接:
http://www.alanwood.net/demos/browserinfo.htmlvisitor.js是一个提供客户端信息的javascript库。
包括:
- 大洲、国家和城市
- 上次访问日期
- 引用网站或搜索引擎(包括搜索词)
- 网站使用时间
- 浏览器和操作系统
- 语言>浏览器
- 操作系统
- 屏幕大小
等等。http://www.visitorjs.com/
Visitorjs可能很方便,但是它不是免费的
相关文章:
- 访问布局信息是否也会导致浏览器重排
- 如何使用其他地方指定的访问信息访问嵌套的json对象,而不使用eval或迭代
- 打开图形:Java脚本:必须使用活动访问令牌来查询有关当前用户的信息
- 使用Javascript访问/更改表中的信息
- 必须使用活动访问令牌来查询有关具有打开图的当前用户的信息
- 点的访问器's修改海拔高度的位置标记信息
- 如何从JavaScript访问Django登录的用户信息
- 如何在javascript应用程序JSON中存储和访问信息项
- AngularJS通过匹配ID访问更多详细信息
- 与直接阵列访问相比,使用函数检索配置信息
- 如何使用图形 API 访问用户喜欢的信息
- 用于访问 Steam 军团要塞 2 帐户信息的脚本
- 使用变量访问 Javascript 中的对象信息
- 有没有办法从node中的脚本访问调试信息.js和/或一般的javascript
- 如何在节点 js 上访问标头信息
- 必须使用活动访问令牌来查询有关当前用户的信息
- 访问来自CFC JSON响应的信息
- Facebook Javascript SDK-访问用户信息
- 按顺序访问JSON信息
- 必须使用活动的访问令牌来查询当前用户的信息|访问令牌似乎是有效的