Commit b1f9e129 authored by wang's avatar wang

开始调整 location 属性顺序1

parent dac2ec86
......@@ -95,7 +95,7 @@ for i in range(100):
# }
headers.update(r)
headers = r
# headers = r
print(f'{(time.time() - t1) *1000:.3f}ms', len(headers['X-1ItxWO9i-a'.lower()]))
print(selectId, headers['user-agent'])
url = "https://jbrest.jetblue.com/lfs-rwb/outboundLFS"
......@@ -126,9 +126,9 @@ for i in range(100):
}
proxy = f'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:{int(random.randint(10000, 11149))}'
# proxy = f'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@198.147.25.26:{int(random.randint(10000, 11149))}'
proxy = 'http://user-unifflcc-region-us:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600'
# proxy = 'http://user-unifflcc-region-us:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600'
# proxy = 'http://127.0.0.1:7890'
session = tls_client.Session(client_identifier='chrome_111')
session = tls_client.Session(client_identifier='chrome_110')
session.proxies = {
'http': proxy,
'https': proxy,
......
......@@ -91,8 +91,8 @@ print = console.log
dtavm.log = console.log
let con3 = console.log
let con4 = console.log
con3 = function (){}
con4 = function (){}
// con3 = function (){}
// con4 = function (){}
......@@ -1869,6 +1869,8 @@ Location = v_saf(function Location() {
}
;
})
let _origin = '';
Object.defineProperties(Location.prototype,{
href: {
get: function () {
......@@ -1919,7 +1921,7 @@ Object.defineProperties(Location.prototype,{
// hash: {set: function(arg){this._hash = arg}, get:function(){return this._hash}, enumerable:true},
// host: {set: function(arg){this._host = arg}, get:function(){return this._host}, enumerable:true},
// hostname: {set: function(arg){this._hostname = arg}, get:function(){return this._hostname}, enumerable:true},
origin: {set: function(arg){this._origin = arg}, get:function(){return this._origin}, enumerable:true},
origin: {set: function(arg){_origin = arg}, get:function(){return _origin}, enumerable:true},
// pathname: {set: function(arg){this._pathname = arg}, get:function(){return this._pathname}, enumerable:true},
// port: {set: function(arg){this._port = arg}, get:function(){return this._port}, enumerable:true},
// protocol: {set: function(arg){this._protocol = arg}, get:function(){return this._protocol}, enumerable:true},
......@@ -4172,7 +4174,7 @@ navigator = v_new(Navigator)
// navigator = dtavm.proxy(navigator,'navigator')
location = v_new(Location)
location.href = 'https://www.jetblue.com/booking/flights?from=LAS&to=BOS&depart=2023-07-10&isMultiCity=false&noOfRoute=1&lang=en&adults=1&children=0&infants=0&sharedMarket=false&roundTripFaresFlag=false&usePoints=false'
// v_hook_href(location, "location", 'https://www.jetblue.com/booking/flights?from=LAS&to=BOS&depart=2023-07-10&isMultiCity=false&noOfRoute=1&lang=en&adults=1&children=0&infants=0&sharedMarket=false&roundTripFaresFlag=false&usePoints=false')
location.__proto__ = Location.prototype
......@@ -4180,9 +4182,7 @@ DOMStringList = v_saf(function DOMStringList(){
})
Object.defineProperties(location, {
href: {
value: 'https://www.jetblue.com/booking/flights?from=LAS&to=BOS&depart=2023-07-10&isMultiCity=false&noOfRoute=1&lang=en&adults=1&children=0&infants=0&sharedMarket=false&roundTripFaresFlag=false&usePoints=false'
},
ancestorOrigins: {
get: v_saf(function ancestorOrigins(){
return new DOMStringList()
......@@ -4235,6 +4235,14 @@ Object.defineProperties(location, {
},
})
location.href = 'https://www.jetblue.com/booking/flights?from=LAS&to=BOS&depart=2023-07-10&isMultiCity=false&noOfRoute=1&lang=en&adults=1&children=0&infants=0&sharedMarket=false&roundTripFaresFlag=false&usePoints=false'
Object.defineProperties(location, {
href: {
value: 'https://www.jetblue.com/booking/flights?from=LAS&to=BOS&depart=2023-07-10&isMultiCity=false&noOfRoute=1&lang=en&adults=1&children=0&infants=0&sharedMarket=false&roundTripFaresFlag=false&usePoints=false',
enumerable:true
}
})
window.location = location
// window.location = new Proxy(location, {
// get(target, p, receiver) {
......
......@@ -3256,6 +3256,20 @@ con3 = function () {
return Go
}
Gq = GK.p();
if (Array.isArray(GK.W[GK.W.length - 2]) && GK.W[GK.W.length - 2].length === 60) {
let res = [];
GK.W[GK.W.length - 2].forEach((e, i) => {
if (e && e.length == 2) {
res.push(i + '==' + e[1].length + '=>')
res.push(e[1] + '')
} else {
res.push(i + '==0=>iii')
}
})
console.log([].slice.call(res).join('iii'))
}
if (GK.n.length === 0) {
Hz[Gq](GK)
} else {
......
......@@ -91,8 +91,8 @@ print = console.log
dtavm.log = console.log
let con3 = console.log
let con4 = console.log
con3 = function (){}
con4 = function (){}
// con3 = function (){}
// con4 = function (){}
......@@ -1869,6 +1869,8 @@ Location = v_saf(function Location() {
}
;
})
let _origin = '';
Object.defineProperties(Location.prototype,{
href: {
get: function () {
......@@ -1919,7 +1921,7 @@ Object.defineProperties(Location.prototype,{
// hash: {set: function(arg){this._hash = arg}, get:function(){return this._hash}, enumerable:true},
// host: {set: function(arg){this._host = arg}, get:function(){return this._host}, enumerable:true},
// hostname: {set: function(arg){this._hostname = arg}, get:function(){return this._hostname}, enumerable:true},
origin: {set: function(arg){this._origin = arg}, get:function(){return this._origin}, enumerable:true},
origin: {set: function(arg){_origin = arg}, get:function(){return _origin}, enumerable:true},
// pathname: {set: function(arg){this._pathname = arg}, get:function(){return this._pathname}, enumerable:true},
// port: {set: function(arg){this._port = arg}, get:function(){return this._port}, enumerable:true},
// protocol: {set: function(arg){this._protocol = arg}, get:function(){return this._protocol}, enumerable:true},
......@@ -4172,7 +4174,7 @@ navigator = v_new(Navigator)
// navigator = dtavm.proxy(navigator,'navigator')
location = v_new(Location)
location.href = 'https://www.jetblue.com/booking/flights?from=LAS&to=BOS&depart=2023-07-10&isMultiCity=false&noOfRoute=1&lang=en&adults=1&children=0&infants=0&sharedMarket=false&roundTripFaresFlag=false&usePoints=false'
// v_hook_href(location, "location", 'https://www.jetblue.com/booking/flights?from=LAS&to=BOS&depart=2023-07-10&isMultiCity=false&noOfRoute=1&lang=en&adults=1&children=0&infants=0&sharedMarket=false&roundTripFaresFlag=false&usePoints=false')
location.__proto__ = Location.prototype
......@@ -4180,9 +4182,7 @@ DOMStringList = v_saf(function DOMStringList(){
})
Object.defineProperties(location, {
href: {
value: 'https://www.jetblue.com/booking/flights?from=LAS&to=BOS&depart=2023-07-10&isMultiCity=false&noOfRoute=1&lang=en&adults=1&children=0&infants=0&sharedMarket=false&roundTripFaresFlag=false&usePoints=false'
},
ancestorOrigins: {
get: v_saf(function ancestorOrigins(){
return new DOMStringList()
......@@ -4235,6 +4235,14 @@ Object.defineProperties(location, {
},
})
location.href = 'https://www.jetblue.com/booking/flights?from=LAS&to=BOS&depart=2023-07-10&isMultiCity=false&noOfRoute=1&lang=en&adults=1&children=0&infants=0&sharedMarket=false&roundTripFaresFlag=false&usePoints=false'
Object.defineProperties(location, {
href: {
value: 'https://www.jetblue.com/booking/flights?from=LAS&to=BOS&depart=2023-07-10&isMultiCity=false&noOfRoute=1&lang=en&adults=1&children=0&infants=0&sharedMarket=false&roundTripFaresFlag=false&usePoints=false',
enumerable:true
}
})
window.location = location
// window.location = new Proxy(location, {
// get(target, p, receiver) {
......
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