Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
L
lcc-shape
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wangmingming
lcc-shape
Commits
43dbc1cf
Commit
43dbc1cf
authored
Sep 03, 2023
by
wangmingming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
7777
parent
017c3f5e
Changes
9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
9237 additions
and
10777 deletions
+9237
-10777
huanyuan.js
huanyuan.js
+1
-1
jetblue.py
jetblue.py
+2
-2
js_dom_run.js
js_dom_run.js
+2
-2
src.js
src.js
+102
-50
src_out.js
src_out.js
+2932
-2919
src_out1.js
src_out1.js
+3026
-4805
src_run.js
src_run.js
+3092
-2993
sss.js
sss.js
+8
-4
test2.js
test2.js
+72
-1
No files found.
huanyuan.js
View file @
43dbc1cf
...
@@ -8580,7 +8580,7 @@ var bl_0 = function () {
...
@@ -8580,7 +8580,7 @@ var bl_0 = function () {
var
bl_1
=
true
;
var
bl_1
=
true
;
cbb_1370
=
{};
cbb_1370
=
{};
cbb_1370
[
"a"
]
=
bl_5
;
cbb_1370
[
"a"
]
=
bl_5
;
cbb_1370
[
"
\
x1D
"
]
=
bl_0
;
cbb_1370
[
"
b
"
]
=
bl_0
;
cbb_1370
[
"c"
]
=
!
bl_4
;
cbb_1370
[
"c"
]
=
!
bl_4
;
cbb_1370
[
"d"
]
=
bl_1
;
cbb_1370
[
"d"
]
=
bl_1
;
return
cbb_1370
;
return
cbb_1370
;
...
...
jetblue.py
View file @
43dbc1cf
...
@@ -49,7 +49,7 @@ for i in range(100):
...
@@ -49,7 +49,7 @@ for i in range(100):
# selectId = 'ac22733c38ee66a568f17174'
# selectId = 'ac22733c38ee66a568f17174'
c
=
requests
.
get
(
'https://www.jetblue.com/js/src/jb-74873.js'
)
.
text
c
=
requests
.
get
(
'https://www.jetblue.com/js/src/jb-74873.js'
)
.
text
m5
=
md5
(
c
)
m5
=
md5
(
c
)
if
m5
!=
lastHash
and
usedTime
>
5
:
if
m5
!=
lastHash
and
usedTime
>
3
:
lastHash
=
m5
lastHash
=
m5
usedTime
=
0
usedTime
=
0
print
(
'js变化'
)
print
(
'js变化'
)
...
@@ -113,7 +113,7 @@ for i in range(100):
...
@@ -113,7 +113,7 @@ 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@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 = 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'
proxy
=
'http://127.0.0.1:7890'
session
.
proxies
=
{
session
.
proxies
=
{
'http'
:
proxy
,
'http'
:
proxy
,
...
...
js_dom_run.js
View file @
43dbc1cf
This diff is collapsed.
Click to expand it.
src.js
View file @
43dbc1cf
...
@@ -20,9 +20,14 @@ var v_saf;
...
@@ -20,9 +20,14 @@ var v_saf;
const
fss
=
require
(
"fs"
);
const
fss
=
require
(
"fs"
);
var
ENVS
=
JSON
.
parse
(
fss
.
readFileSync
(
'env.json'
).
toString
())
var
ENVS
=
JSON
.
parse
(
fss
.
readFileSync
(
'env.json'
).
toString
())
// dc6a639f12738c9276d68c74
// dc6a639f12738c9276d68c74
let
keys
=
Object
.
keys
(
ENVS
);
// let keys = Object.keys(ENVS);
let
ENV
=
ENVS
[
process
.
argv
[
2
]
||
keys
[
parseInt
(
Math
.
random
()
*
keys
.
length
)]]
// for (let i = 0; i <keys.length; i++) {
// console.log(keys[i], ENVS[keys[i]].navigatorparams.useragent)
//
// }
// let ENV = ENVS[process.argv[2] || keys[parseInt(Math.random() * keys.length)]]
let
ENV
=
ENVS
[
process
.
argv
[
2
]
||
'd849c3286d37b521717482d0'
]
// ENV.navigatorparams.hardwareconcurrency = 20
const
crypto
=
require
(
'crypto'
);
const
crypto
=
require
(
'crypto'
);
const
{
proxy
}
=
require
(
"./jsdom/lib/jsdom/living/generated/utils"
);
const
{
proxy
}
=
require
(
"./jsdom/lib/jsdom/living/generated/utils"
);
const
{
randomNumberRange
}
=
require
(
"ghost-cursor/lib/math"
);
const
{
randomNumberRange
}
=
require
(
"ghost-cursor/lib/math"
);
...
@@ -43,8 +48,17 @@ console.log(Object.keys(Object.getOwnPropertyDescriptors(console)))
...
@@ -43,8 +48,17 @@ console.log(Object.keys(Object.getOwnPropertyDescriptors(console)))
// Date.prototype.getTime = function () { return 1685096207545 };
// Date.prototype.getTime = function () { return 1685096207545 };
// Date.prototype.toString = function () { return 1685096207545 };
// Date.prototype.toString = function () { return 1685096207545 };
// Performance.prototype.now = function now(){ return Number('1685096207545'.slice(8))}
// Performance.prototype.now = function now(){ return Number('1685096207545'.slice(8))}
//
// Math.random = function random() { return 0.08636862211354912 };
Math
.
random
=
function
random
()
{
return
0.08636862211354912
};
Date
.
prototype
.
toString
=
v_saf
(
function
()
{
try
{
return
this
.
getTime
()
}
catch
(
e
)
{
return
Date
.
now
()
}
},
'toString'
)
process
.
env
.
NODE_TLS_REJECT_UNAUTHORIZED
=
'0'
;
process
.
env
.
NODE_TLS_REJECT_UNAUTHORIZED
=
'0'
;
debug
=
false
;
debug
=
false
;
dtavm
=
{}
dtavm
=
{}
...
@@ -52,10 +66,10 @@ v_events = {}
...
@@ -52,10 +66,10 @@ v_events = {}
v_start_stamp
=
Date
.
now
()
v_start_stamp
=
Date
.
now
()
print
=
console
.
log
print
=
console
.
log
dtavm
.
log
=
console
.
log
dtavm
.
log
=
console
.
log
con3
=
console
.
log
let
con3
=
console
.
log
con4
=
console
.
log
let
con4
=
console
.
log
con3
=
function
(){}
//
con3 = function (){}
con4
=
function
(){}
//
con4 = function (){}
...
@@ -651,31 +665,40 @@ PluginArray = v_saf(function PluginArray() {
...
@@ -651,31 +665,40 @@ PluginArray = v_saf(function PluginArray() {
throw
TypeError
(
"Illegal constructor"
)
throw
TypeError
(
"Illegal constructor"
)
}
}
;
;
this
[
0
]
=
v_new
(
Plugin
);
for
(
let
i
=
0
;
i
<
Object
.
keys
(
ENV
.
plugins
).
length
;
i
++
)
{
this
[
0
].
description
=
"Portable Document Format"
;
this
[
i
]
=
v_new
(
Plugin
);
this
[
0
].
filename
=
"internal-pdf-viewer"
;
let
plugin
=
ENV
.
plugins
[
i
];
this
[
0
].
length
=
2
;
this
[
i
].
description
=
plugin
.
description
;
this
[
0
].
name
=
"PDF Viewer"
;
this
[
i
].
filename
=
plugin
.
filename
;
this
[
1
]
=
v_new
(
Plugin
);
this
[
i
].
length
=
plugin
.
length
;
this
[
1
].
description
=
"Portable Document Format"
;
this
[
i
].
name
=
plugin
.
name
;
this
[
1
].
filename
=
"internal-pdf-viewer"
;
}
this
[
1
].
length
=
2
;
console
.
log
()
this
[
1
].
name
=
"Chrome PDF Viewer"
;
// this[0] = v_new(Plugin);
this
[
2
]
=
v_new
(
Plugin
);
// this[0].description = "Portable Document Format";
this
[
2
].
description
=
"Portable Document Format"
;
// this[0].filename = "internal-pdf-viewer";
this
[
2
].
filename
=
"internal-pdf-viewer"
;
// this[0].length = 2;z
this
[
2
].
length
=
2
;
// this[0].name = "PDF Viewer";
this
[
2
].
name
=
"Chromium PDF Viewer"
;
// this[1] = v_new(Plugin);
this
[
3
]
=
v_new
(
Plugin
);
// this[1].description = "Portable Document Format";
this
[
3
].
description
=
"Portable Document Format"
;
// this[1].filename = "internal-pdf-viewer";
this
[
3
].
filename
=
"internal-pdf-viewer"
;
// this[1].length = 2;
this
[
3
].
length
=
2
;
// this[1].name = "Chrome PDF Viewer";
this
[
3
].
name
=
"Microsoft Edge PDF Viewer"
;
// this[2] = v_new(Plugin);
this
[
4
]
=
v_new
(
Plugin
);
// this[2].description = "Portable Document Format";
this
[
4
].
description
=
"Portable Document Format"
;
// this[2].filename = "internal-pdf-viewer";
this
[
4
].
filename
=
"internal-pdf-viewer"
;
// this[2].length = 2;
this
[
4
].
length
=
2
;
// this[2].name = "Chromium PDF Viewer";
this
[
4
].
name
=
"WebKit built-in PDF"
;
// this[3] = v_new(Plugin);
// this[3].description = "Portable Document Format";
// this[3].filename = "internal-pdf-viewer";
// this[3].length = 2;
// this[3].name = "Microsoft Edge PDF Viewer";
// this[4] = v_new(Plugin);
// this[4].description = "Portable Document Format";
// this[4].filename = "internal-pdf-viewer";
// this[4].length = 2;
// this[4].name = "WebKit built-in PDF";
})
})
PluginArray
=
new
Proxy
(
PluginArray
,
{
PluginArray
=
new
Proxy
(
PluginArray
,
{
get
(
target
,
p
,
receiver
)
{
get
(
target
,
p
,
receiver
)
{
...
@@ -757,7 +780,7 @@ WebSocket = v_saf(function WebSocket() {
...
@@ -757,7 +780,7 @@ WebSocket = v_saf(function WebSocket() {
;
;
});
});
_inherits
(
WebSocket
,
EventTarget
)
_inherits
(
WebSocket
,
EventTarget
)
RTCPeerConnectionIceEvent
=
v_saf
(
function
RTCPeerConnectionIceEvent
()
{
let
RTCPeerConnectionIceEvent
=
v_saf
(
function
RTCPeerConnectionIceEvent
()
{
if
(
!
v_new_toggle
)
{
if
(
!
v_new_toggle
)
{
throw
TypeError
(
"Illegal constructor"
)
throw
TypeError
(
"Illegal constructor"
)
}
}
...
@@ -1833,27 +1856,26 @@ Object.defineProperties(Location.prototype,{
...
@@ -1833,27 +1856,26 @@ Object.defineProperties(Location.prototype,{
this
.
origin
=
this
.
protocol
+
"//"
+
this
.
host
+
(
this
.
port
?
":"
+
this
.
port
:
""
);
this
.
origin
=
this
.
protocol
+
"//"
+
this
.
host
+
(
this
.
port
?
":"
+
this
.
port
:
""
);
}
}
},
},
ancestorOrigins
:
{
assign
:
{
value
:
v_saf
(
function
ancestorOrigins
(){
value
:
v_saf
(
function
assign
(){
return
v_saf
(
function
DOMStringList
(){
})
}),
}),
enumerable
:
true
,
enumerable
:
true
,
},
},
assign
:
{
ancestorOrigins
:
{
value
:
v_saf
(
function
assign
(){
get
:
v_saf
(
function
ancestorOrigins
(){
return
new
DOMStringList
()
}),
}),
enumerable
:
true
,
enumerable
:
true
,
configurable
:
false
,
},
},
// fragmentDirective: 'c',
// fragmentDirective: 'c',
// hash: {set: function(arg){this._hash = arg}, get:function(){return this._hash}, enumerable:true},
// 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},
// 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},
// 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
){
this
.
_origin
=
arg
},
get
:
function
(){
return
this
.
_origin
},
enumerable
:
true
},
// pathname: {set: function(arg){this._pathname = arg}, get:function(){return this._pathname}, 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},
// 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},
// protocol: {set: function(arg){this._protocol = arg}, get:function(){return this._protocol}, enumerable:true},
...
@@ -4095,17 +4117,20 @@ location = v_new(Location)
...
@@ -4095,17 +4117,20 @@ 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'
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')
// 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
location
.
__proto__
=
Location
.
prototype
DOMStringList
=
v_saf
(
function
DOMStringList
(){
})
Object
.
defineProperties
(
location
,
{
Object
.
defineProperties
(
location
,
{
href
:
{
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'
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
:
{
ancestorOrigins
:
{
value
:
v_saf
(
function
ancestorOrigins
(){
get
:
v_saf
(
function
ancestorOrigins
(){
return
v_saf
(
function
DOMStringList
(){
return
new
DOMStringList
()
})
}),
}),
enumerable
:
true
,
enumerable
:
true
,
configurable
:
false
},
},
assign
:
{
assign
:
{
...
@@ -4152,7 +4177,24 @@ Object.defineProperties(location, {
...
@@ -4152,7 +4177,24 @@ Object.defineProperties(location, {
},
},
})
})
window
.
location
=
location
window
.
location
=
new
Proxy
(
location
,
{
get
(
target
,
p
,
receiver
)
{
console
.
log
(
'locaiton get'
,
p
)
return
Reflect
.
get
(
target
,
p
,
receiver
)
},
has
(
target
,
p
)
{
let
res
=
Reflect
.
has
(
target
,
p
);
console
.
log
(
'locaiton has'
,
p
,
res
)
return
res
;
},
getOwnPropertyDescriptor
(
target
,
p
)
{
let
res
=
Reflect
.
getOwnPropertyDescriptor
(
target
,
p
);
console
.
log
(
'locaiton getOwnPropertyDescriptor'
,
p
,
res
)
return
res
;
}
})
origin
=
location
.
origin
origin
=
location
.
origin
self
=
window
;
self
=
window
;
globalThis
=
window
globalThis
=
window
...
@@ -4248,6 +4290,12 @@ window.isSecureContext = true
...
@@ -4248,6 +4290,12 @@ window.isSecureContext = true
window
.
innerWidth
=
ENV
.
windowparams
.
innerwidth
;
window
.
innerWidth
=
ENV
.
windowparams
.
innerwidth
;
window
.
outerWidth
=
ENV
.
windowparams
.
outerwidth
;
window
.
outerWidth
=
ENV
.
windowparams
.
outerwidth
;
window
.
innerHeight
=
ENV
.
windowparams
.
innerheight
;
window
.
innerHeight
=
ENV
.
windowparams
.
innerheight
;
// todo
// window.innerHeight = 859
// window.innerWidth = 2560
// window.outerHeight = 970
// window.outerWidth = 2560
window
.
outerHeight
=
ENV
.
windowparams
.
outerheight
;
window
.
outerHeight
=
ENV
.
windowparams
.
outerheight
;
window
.
screenLeft
=
0
;
window
.
screenLeft
=
0
;
window
.
screenTop
=
ENV
.
windowparams
.
screeny
||
120
;
window
.
screenTop
=
ENV
.
windowparams
.
screeny
||
120
;
...
@@ -4315,7 +4363,6 @@ document = {
...
@@ -4315,7 +4363,6 @@ document = {
characterSet
:
'UTF-8'
,
characterSet
:
'UTF-8'
,
charset
:
'UTF-8'
,
charset
:
'UTF-8'
,
compatMode
:
'CSS1Compat'
,
compatMode
:
'CSS1Compat'
,
documentMode
:
undefined
,
images
:
[],
images
:
[],
// createElementNS: v_saf(function createElementNS(){
// createElementNS: v_saf(function createElementNS(){
// return _createElement.apply(this, arguments)
// return _createElement.apply(this, arguments)
...
@@ -4338,7 +4385,7 @@ document = {
...
@@ -4338,7 +4385,7 @@ document = {
_console2
(
arguments
);
_console2
(
arguments
);
return
v_geteles
(...
arguments
,
'getElementsByTagName'
)
return
v_geteles
(...
arguments
,
'getElementsByTagName'
)
},
},
referrer
:
'
https://www.jetblue.com/best-fare-finder?nff=true
'
,
referrer
:
''
,
// createElement: v_saf(function createElement(name) {
// createElement: v_saf(function createElement(name) {
// return _createElement(name)
// return _createElement(name)
// }),
// }),
...
@@ -4708,7 +4755,11 @@ window.dispatchEvent = dispatchEvent;
...
@@ -4708,7 +4755,11 @@ window.dispatchEvent = dispatchEvent;
// if (arguments[0] === 'value')return false;
// if (arguments[0] === 'value')return false;
// return _funcHasOwnprop.apply(this, arguments)
// return _funcHasOwnprop.apply(this, arguments)
// }
// }
window
.
Notification
=
v_saf
(
function
Notification
(){})
window
.
requestAnimationFrame
=
v_saf
(
function
requestAnimationFrame
(){})
window
.
frameElement
=
null
;
window
.
Function
=
Function
;
window
.
Function
=
Function
;
window
.
event
=
undefined
;
window
.
Object
=
Object
;
window
.
Object
=
Object
;
window
.
Array
=
Array
;
window
.
Array
=
Array
;
window
.
Date
=
Date
;
window
.
Date
=
Date
;
...
@@ -5991,3 +6042,4 @@ let reProxy = function (tt, name) {
...
@@ -5991,3 +6042,4 @@ let reProxy = function (tt, name) {
src_out.js
View file @
43dbc1cf
This diff is collapsed.
Click to expand it.
src_out1.js
View file @
43dbc1cf
This diff is collapsed.
Click to expand it.
src_run.js
View file @
43dbc1cf
This diff is collapsed.
Click to expand it.
sss.js
View file @
43dbc1cf
This diff is collapsed.
Click to expand it.
test2.js
View file @
43dbc1cf
var
v_saf
;
!
function
()
{
var
n
=
Function
.
toString
,
t
=
[],
i
=
[],
o
=
[].
indexOf
.
bind
(
t
),
e
=
[].
push
.
bind
(
t
),
r
=
[].
push
.
bind
(
i
);
function
u
(
n
,
t
,
nn
)
{
tt
=
''
if
(
nn
)
{
tt
=
' '
+
nn
}
return
-
1
==
o
(
n
)
&&
(
e
(
n
),
r
(
`function
${
tt
}
${
t
||
n
.
name
||
""
}
() { [native code] }`
)),
n
}
Object
.
defineProperty
(
Function
.
prototype
,
"toString"
,
{
enumerable
:
!
1
,
configurable
:
!
0
,
writable
:
!
0
,
value
:
function
()
{
let
res
=
"function"
==
typeof
this
&&
i
[
o
(
this
)]
||
n
.
call
(
this
)
// print('toString', arguments, '|||', 'res', res)
return
res
;
}
}),
u
(
Function
.
prototype
.
toString
,
"toString"
),
v_saf
=
u
}();
var
bl_33
=
function
()
{
var
bl_33
=
function
()
{
var
bl_3
=
arguments
[
0
];
var
bl_3
=
arguments
[
0
];
if
(
typeof
bl_3
===
"string"
)
{
if
(
typeof
bl_3
===
"string"
)
{
...
@@ -49,4 +73,51 @@ let data = new Uint8Array(90000);
...
@@ -49,4 +73,51 @@ let data = new Uint8Array(90000);
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
)
{
data
[
i
]
=
11
data
[
i
]
=
11
}
}
console
.
log
(
bl_33
(
data
))
console
.
log
(
bl_33
(
data
))
\ No newline at end of file
function
_inherits
(
t
,
e
)
{
t
.
prototype
=
Object
.
create
(
e
.
prototype
,
{
constructor
:
{
value
:
t
,
writable
:
!
0
,
configurable
:
!
0
}
}),
e
&&
Object
.
setPrototypeOf
(
t
,
e
)
}
class
Document
{
}
Object
.
defineProperties
(
Document
.
prototype
,
{
createElement
:
{
value
:
function
(){},
configurable
:
true
,
enumerable
:
true
,
writable
:
true
},
})
document
=
{
}
delete
Document
.
prototype
.
createElement
.
__proto__
Object
.
setPrototypeOf
(
Document
.
prototype
.
createElement
,
null
);
// Object.defineProperty(Document.prototype.createElement, 'prototype',undefined)
HTMLDocument
=
v_saf
(
function
HTMLDocument
()
{
if
(
!
v_new_toggle
)
{
throw
TypeError
(
"Illegal constructor"
)
}
;
Object
.
defineProperty
(
this
,
'location'
,
{
get
()
{
return
location
}
})
});
_inherits
(
HTMLDocument
,
Document
)
document
.
__proto__
=
HTMLDocument
.
prototype
tt1
=
Object
.
getOwnPropertyDescriptor
(
Object
.
getPrototypeOf
(
Object
.
getPrototypeOf
(
document
)),
'createElement'
).
value
Object
.
setPrototypeOf
(
tt1
,
null
);
delete
tt1
.
__proto__
delete
tt1
.
prototype
t
=
Object
[
"call"
][
"bind"
](
Object
[
"bind"
],
Object
[
"call"
])(
Object
[
"apply"
])(
Function
[
"prototype"
][
"call"
][
"bind"
],
Function
[
"prototype"
][
"call"
],
[
Object
[
"prototype"
][
"hasOwnProperty"
]]);
console
.
log
(
t
(
tt1
,
'prototype'
))
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment