Commit 5413f93a authored by wang's avatar wang

收集更多信息

parent f7b65a4e
...@@ -796,6 +796,7 @@ try { ...@@ -796,6 +796,7 @@ try {
let navigatorparams = { let navigatorparams = {
appname: navigator.appName, appname: navigator.appName,
appncodename: navigator.appCodeName,
appversion: navigator.appVersion, appversion: navigator.appVersion,
appcodename: navigator.appCodeName, appcodename: navigator.appCodeName,
hardwareconcurrency: navigator.hardwareConcurrency, hardwareconcurrency: navigator.hardwareConcurrency,
...@@ -807,6 +808,8 @@ try { ...@@ -807,6 +808,8 @@ try {
vendor: navigator.vendor, vendor: navigator.vendor,
vendorsub: navigator.vendorSub, vendorsub: navigator.vendorSub,
donottrack: navigator.doNotTrack, donottrack: navigator.doNotTrack,
oscpu: navigator.oscpu? navigator.oscpu: '',
buildid: navigator.buildID? navigator.buildID: '',
} }
let screenparams = { let screenparams = {
...@@ -816,6 +819,8 @@ try { ...@@ -816,6 +819,8 @@ try {
availwidth: screen.availWidth, availwidth: screen.availWidth,
pixeldepth: screen.pixelDepth, pixeldepth: screen.pixelDepth,
colordepth: screen.colorDepth, colordepth: screen.colorDepth,
availtop: screen.availTop,
availleft: screen.availLeft,
} }
...@@ -833,6 +838,8 @@ try { ...@@ -833,6 +838,8 @@ try {
outerwidth: window.outerWidth, outerwidth: window.outerWidth,
screenx: window.screenX, screenx: window.screenX,
screeny: window.screenY, screeny: window.screenY,
screentop: window.screenTop,
screenleft: window.screenLeft,
pageyoffset: window.pageYOffset, pageyoffset: window.pageYOffset,
devicepixelratio: window.devicePixelRatio, devicepixelratio: window.devicePixelRatio,
} }
...@@ -1128,7 +1135,8 @@ try { ...@@ -1128,7 +1135,8 @@ try {
// /collect // /collect
// fetch("https://stage.unififi.com/env/shape", { // fetch("https://stage.unififi.com/env/shape", {
fetch("/collect", { // fetch("/collect", {
fetch("http://127.0.0.1:39999/env/shape", {
"headers": { "headers": {
"accept": "*/*", "accept": "*/*",
"accept-language": "en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7", "accept-language": "en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment