Commit 80471dea authored by wang's avatar wang

wn fix

parent 4e788993
......@@ -72,7 +72,39 @@
// _print('Object.hasOwnProperty', arguments, res === undefined);
// return res;
// }
// saf
var saf,saf_class;
;(function(){
var $toString = Function.toString
, cacheI = []
, cacheS = []
, idxI = [].indexOf.bind(cacheI)
, pushI = [].push.bind(cacheI)
, pushS = [].push.bind(cacheS)
Object.defineProperty(Function.prototype, 'toString', {
"enumerable": !1, "configurable": !0, "writable": !0,
"value": function toString() {
return typeof this == 'function' && cacheS[idxI(this)] || $toString.call(this);
}
})
function safe_func(func, name){
if (-1 == idxI(func)){
pushI(func)
pushS(`function ${name || func.name || ''}() { [native code] }`)
}
return func
};
safe_func(Function.prototype.toString, 'toString')
saf = safe_func
var ogpds = Object.getOwnPropertyDescriptors
var ok = Object.keys
saf_class=function(t) {
saf(t);for (var e=ogpds(t.prototype),o=ok(e),n=0;n<o.length; n++){
var r=e[o[n]].value;r&&"function"==typeof r&&"constructor"!==o[n]&&saf(t.prototype[o[n]]);
r=e[o[n]].get;r&&"function"==typeof r&&"constructor"!==o[n]&&saf(r);
r=e[o[n]].set;r&&"function"==typeof r&&"constructor"!==o[n]&&saf(r);}}
})();
var origslice = [].slice
</script>
<script src="src_out.js"></script>
......
......@@ -1033,7 +1033,7 @@ Object.defineProperty = function (p, v, d) {
c(b)
} catch (A) {
con5("errors",A)
console.log(b.a[b.a.length - 1])
bE(A, b)
}
}
......@@ -1425,6 +1425,9 @@ Object.defineProperty = function (p, v, d) {
b.a[b.a.length] = A
}, function (A) {
var b = A.a[A.a.length - 3];
if (A.a[A.a.length - 1] === WebGLRenderingContext.prototype.getParameter){
debugger
}
A.a[A.a.length - 3] = b(A.a[A.a.length - 2], A.a[A.a.length - 1]);
A.a.length -= 2
}, function (b) {
......
......@@ -45,8 +45,8 @@ print(len(envs))
headers = {
"Host": "www.southwest.com",
"x-channel-id": "southwest",
"x-app-id": "air-booking",
"x-swa-di-pid": "6220143449988117",
# "x-app-id": "air-booking",
# "x-swa-di-pid": "6220143449988117",
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36",
"content-type": "application/json",
"accept": "application/json, text/javascript, */*; q=0.01",
......@@ -107,11 +107,11 @@ while True:
'http': proxy,
'https': proxy,
}
# if platform.uname().system == 'Darwin':
# session.proxies = {
# 'http': 'http://127.0.0.1:8890',
# 'https': 'http://127.0.0.1:8890',
# }
if platform.uname().system == 'Darwin':
session.proxies = {
'http': 'http://127.0.0.1:9001',
'https': 'http://127.0.0.1:9001',
}
selectId = random.choice(list(envs))
......
No preview for this file type
This source diff could not be displayed because it is too large. You can view the blob instead.
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