用户:天天fUg-查看:6 回复:2 评论:6 创建时间:2023-12-28T18:28:17
alert('正在开启全部皮肤ing…');
function load() {
try {
var box3CoreElement = document.querySelector('#react-container');
var reactNodeName = Object.keys(box3CoreElement).filter((v) =>
v.includes('reactContain')
)[0];
var core =
box3CoreElement[reactNodeName].updateQueue.baseState.element.props.children
.props.children.props;
window.core = core;
document.func = document.querySelector('.desktop')._reactRootContainer._internalRoot.current.updateQueue.baseState.element.props.children.props.children.props.state;
return true;
} catch (e) {
console.warn(e)
return undefined;
};
};
while (true) {
if (load()) {
load();
break;
};
await sleep(100);
};
alert('正在绕过防沉迷ing…');
core.start();
core.state.brpc.skin.api.getAll().then((a) => (core.state.box3.state.secret.availableSkin = a.map((o) => o.name)));