Commit 80471dea authored by wang's avatar wang

wn fix

parent 4e788993
...@@ -72,7 +72,39 @@ ...@@ -72,7 +72,39 @@
// _print('Object.hasOwnProperty', arguments, res === undefined); // _print('Object.hasOwnProperty', arguments, res === undefined);
// return res; // 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>
<script src="src_out.js"></script> <script src="src_out.js"></script>
......
...@@ -1033,7 +1033,7 @@ Object.defineProperty = function (p, v, d) { ...@@ -1033,7 +1033,7 @@ Object.defineProperty = function (p, v, d) {
c(b) c(b)
} catch (A) { } catch (A) {
con5("errors",A) con5("errors",A)
console.log(b.a[b.a.length - 1])
bE(A, b) bE(A, b)
} }
} }
...@@ -1425,6 +1425,9 @@ Object.defineProperty = function (p, v, d) { ...@@ -1425,6 +1425,9 @@ Object.defineProperty = function (p, v, d) {
b.a[b.a.length] = A b.a[b.a.length] = A
}, function (A) { }, function (A) {
var b = A.a[A.a.length - 3]; 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[A.a.length - 3] = b(A.a[A.a.length - 2], A.a[A.a.length - 1]);
A.a.length -= 2 A.a.length -= 2
}, function (b) { }, function (b) {
......
...@@ -45,8 +45,8 @@ print(len(envs)) ...@@ -45,8 +45,8 @@ print(len(envs))
headers = { headers = {
"Host": "www.southwest.com", "Host": "www.southwest.com",
"x-channel-id": "southwest", "x-channel-id": "southwest",
"x-app-id": "air-booking", # "x-app-id": "air-booking",
"x-swa-di-pid": "6220143449988117", # "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", "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", "content-type": "application/json",
"accept": "application/json, text/javascript, */*; q=0.01", "accept": "application/json, text/javascript, */*; q=0.01",
...@@ -107,11 +107,11 @@ while True: ...@@ -107,11 +107,11 @@ while True:
'http': proxy, 'http': proxy,
'https': proxy, 'https': proxy,
} }
# if platform.uname().system == 'Darwin': if platform.uname().system == 'Darwin':
# session.proxies = { session.proxies = {
# 'http': 'http://127.0.0.1:8890', 'http': 'http://127.0.0.1:9001',
# 'https': 'http://127.0.0.1:8890', 'https': 'http://127.0.0.1:9001',
# } }
selectId = random.choice(list(envs)) 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