Commit f7b65a4e authored by wang's avatar wang

收集更多信息

parent 711720ab
......@@ -794,7 +794,6 @@ try {
}
delete canvas
let navigatorparams = {
appname: navigator.appName,
appversion: navigator.appVersion,
......@@ -1093,7 +1092,10 @@ try {
"storage",
"requestMediaKeySystemAccess",
"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 = {
windowparams: windowparams,
screenparams: screenparams,
......@@ -1110,6 +1112,10 @@ try {
useragentdata: userAgentData,
webglimg: webglImg,
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,
funcs2: funcResult2,
documentfunc: documentFuncResult,
......
......@@ -7116,7 +7116,7 @@ Array.prototype.join = function (s) {
"context",
"count",
"countReset",
// "createTask",
"createTask",
"debug",
"dir",
"dirxml",
......@@ -22,12 +22,12 @@ Date.now = function now() {
};
// _getOwnPropertyNames = Object.getOwnPropertyNames;
// Object.getOwnPropertyNames = function (a) {
// let res = _getOwnPropertyNames(a);
// con4('getOwnPropertyNames', a, res)
// return res;
// }
_getOwnPropertyNames = Object.getOwnPropertyNames;
Object.getOwnPropertyNames = function (a) {
let res = _getOwnPropertyNames(a);
con4('getOwnPropertyNames', a, res)
return res;
}
_join = Array.prototype.join;
Array.prototype.join = function (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