mirror of
https://github.com/rastvl/akamai-deobfuscator-2.0.git
synced 2025-04-17 00:27:07 +08:00
16 lines
274 B
JavaScript
16 lines
274 B
JavaScript
const defineLocation = window => {
|
|
Object.defineProperties(window.Location, {
|
|
'protocol': {
|
|
get() {
|
|
return 'https:'
|
|
}
|
|
},
|
|
'hostname': {
|
|
get() {
|
|
return 'www.zalando.co.uk'
|
|
}
|
|
},
|
|
});
|
|
}
|
|
|
|
module.exports = defineLocation; |