Commit 35fb9f27 authored by wang's avatar wang

收集更多信息

parent 5413f93a
...@@ -1135,8 +1135,8 @@ try { ...@@ -1135,8 +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", { // 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",
......
...@@ -22,22 +22,22 @@ Date.now = function now() { ...@@ -22,22 +22,22 @@ 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);
con4('join',this.length, this, s, res) // con4('join',this.length, this, s, res)
if (this.indexOf('countReset') > -1){ // if (this.indexOf('countReset') > -1){
con4('join',this.length, this, s, res) // con4('join',this.length, this, s, res)
//
} // }
return res // return res
} // }
// _getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; // _getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
// Object.getOwnPropertyDescriptor = function (p, v){ // Object.getOwnPropertyDescriptor = function (p, v){
// let res = _getOwnPropertyDescriptor(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