修改一些细节

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