Commit 35fb9f27 authored by wang's avatar wang

收集更多信息

parent 5413f93a
......@@ -1135,8 +1135,8 @@ try {
// /collect
// fetch("https://stage.unififi.com/env/shape", {
// fetch("/collect", {
fetch("http://127.0.0.1:39999/env/shape", {
fetch("/collect", {
// fetch("http://127.0.0.1:39999/env/shape", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7",
......
......@@ -22,22 +22,22 @@ Date.now = function now() {
};
_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);
con4('join',this.length, this, s, res)
if (this.indexOf('countReset') > -1){
con4('join',this.length, this, s, 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);
// con4('join',this.length, this, s, res)
// if (this.indexOf('countReset') > -1){
// con4('join',this.length, this, s, res)
//
// }
// return res
// }
// _getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
// Object.getOwnPropertyDescriptor = function (p, v){
// let res = _getOwnPropertyDescriptor(p,v)
......
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