Commit f7b65a4e authored by wang's avatar wang

收集更多信息

parent 711720ab
...@@ -794,7 +794,6 @@ try { ...@@ -794,7 +794,6 @@ try {
} }
delete canvas
let navigatorparams = { let navigatorparams = {
appname: navigator.appName, appname: navigator.appName,
appversion: navigator.appVersion, appversion: navigator.appVersion,
...@@ -1087,13 +1086,16 @@ try { ...@@ -1087,13 +1086,16 @@ try {
"webkitRequestFullScreen" "webkitRequestFullScreen"
].map(e=>{return e in document.body ?1:0}); ].map(e=>{return e in document.body ?1:0});
let navigatorfuncResult = [ let navigatorfuncResult = [
"vibrate", "vibrate",
"webdriver", "webdriver",
"credentials", "credentials",
"storage", "storage",
"requestMediaKeySystemAccess", "requestMediaKeySystemAccess",
"bluetooth" "bluetooth"
].map(e=>{return e in navigator ?1:0}); ].map(e=>{return e in navigator ?1:0});
let windowprops = Object.getOwnPropertyNames(window);
let lastIndex = windowprops.lastIndexOf('webkitResolveLocalFileSystemURL');
windowprops = windowprops.slice(0, lastIndex);
let result = { let result = {
windowparams: windowparams, windowparams: windowparams,
screenparams: screenparams, screenparams: screenparams,
...@@ -1110,6 +1112,10 @@ try { ...@@ -1110,6 +1112,10 @@ try {
useragentdata: userAgentData, useragentdata: userAgentData,
webglimg: webglImg, webglimg: webglImg,
matchmedias: matchmedias, matchmedias: matchmedias,
consoleprops: Object.keys(Object.getOwnPropertyDescriptors(console)).sort(),
webglprops: WebGLRenderingContext?Object.getOwnPropertyNames(WebGLRenderingContext.prototype).filter(e=>{return e != 'constructor'}):[],
windowprops: windowprops,
mathprops: Object.getOwnPropertyNames(Math),
funcs: funcResult, funcs: funcResult,
funcs2: funcResult2, funcs2: funcResult2,
documentfunc: documentFuncResult, documentfunc: documentFuncResult,
......
...@@ -7116,7 +7116,7 @@ Array.prototype.join = function (s) { ...@@ -7116,7 +7116,7 @@ Array.prototype.join = function (s) {
"context", "context",
"count", "count",
"countReset", "countReset",
// "createTask", "createTask",
"debug", "debug",
"dir", "dir",
"dirxml", "dirxml",
...@@ -22,12 +22,12 @@ Date.now = function now() { ...@@ -22,12 +22,12 @@ Date.now = function now() {
}; };
// _getOwnPropertyNames = Object.getOwnPropertyNames; _getOwnPropertyNames = Object.getOwnPropertyNames;
// Object.getOwnPropertyNames = function (a) { Object.getOwnPropertyNames = function (a) {
// let res = _getOwnPropertyNames(a); let res = _getOwnPropertyNames(a);
// con4('getOwnPropertyNames', a, res) con4('getOwnPropertyNames', a, res)
// return res; return res;
// } }
_join = Array.prototype.join; _join = Array.prototype.join;
Array.prototype.join = function (s) { Array.prototype.join = function (s) {
let res = _join.call(this, s); let res = _join.call(this, s);
......
This diff is collapsed.
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