修改一些细节

This commit is contained in:
shenjack 2024-04-04 01:44:04 +08:00
parent d19da75e2f
commit b14f5e8f48
Signed by: shenjack
GPG Key ID: 7B1134A979775551

View File

@ -25,14 +25,15 @@ if (run_env.from_code) {
// 整一套虚拟的window和document
// 但说实话十分生草
// list of elements
let stored_elements = [];
global.window = {
sessionStorage: function () {},
localStorage: function () {},
};
// list of elements
let stored_elements = [];
let fake_element = {
childList: [],
tag: "",
@ -1457,15 +1458,18 @@ var A = {
uY() {
if (true === $.mA) return
$.mA = true
H.uZ()
if (!run_env.from_code) {
H.initNativeDispatchContinue()
}
},
uZ() {
initNativeDispatchContinue() {
var s, r, q, p, o, n, m, l
$.lt = Object.create(null)
$.ly = Object.create(null)
H.uX()
s = init.interceptorsByTag
r = Object.getOwnPropertyNames(s)
// 检测是否在网页内运行
if (typeof window != "undefined") {
window
q = function () {}
@ -20771,8 +20775,8 @@ function main() {
// 这里请输入一个被混淆过的名字
switch_to = 5
if (run_env.from_code) {
console.log("node input:", raw_names)
raw_names = name_input
console.log("node input:|\n", raw_names, "\n|")
} else {
m = window.sessionStorage.getItem(LangData.eQ("k"))
l = X.f4(m, 0)