Update dev/dev.js
This commit is contained in:
+12
-49
@@ -1,65 +1,28 @@
|
|||||||
async function searchResults(keyword) {
|
async function searchResults(keyword) {
|
||||||
const results = [];
|
const results = [];
|
||||||
try {
|
try {
|
||||||
const b4f2Result = _0xB4F2();
|
const response = await fetchv2();
|
||||||
console.log("=== ANAGRAM DEBUG ===");
|
const html = await response.text();
|
||||||
console.log("_0xB4F2() returns:"+ b4f2Result);
|
|
||||||
console.log("Type:"+ typeof b4f2Result);
|
let match;
|
||||||
console.log("Length:"+ b4f2Result?.length);
|
while ((match = regex.exec(html)) !== null) {
|
||||||
|
results.push({
|
||||||
const validationResult = _0x7E9A(b4f2Result);
|
title: match[3].trim(),
|
||||||
console.log("_0x7E9A validation:"+ validationResult);
|
image: match[2].trim(),
|
||||||
|
href: match[1].trim()
|
||||||
const checkResult = _0xCheck();
|
});
|
||||||
console.log("_0xCheck() result:"+ checkResult);
|
}
|
||||||
|
|
||||||
const testAnagram = "me.cranci.sulfur";
|
|
||||||
console.log("\nTest with 'me.cranci.sulfur':"+ _0x7E9A(testAnagram));
|
|
||||||
|
|
||||||
console.log("==================\n");
|
|
||||||
|
|
||||||
results.push({
|
|
||||||
title: b4f2Result || "No anagram returned",
|
|
||||||
image: `Valid: ${validationResult}`,
|
|
||||||
href: `Check: ${checkResult}`
|
|
||||||
});
|
|
||||||
|
|
||||||
return JSON.stringify(results);
|
return JSON.stringify(results);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error("Error:", err);
|
|
||||||
return JSON.stringify([{
|
return JSON.stringify([{
|
||||||
title: "Error: " + err.message,
|
title: "Error",
|
||||||
image: "Error",
|
image: "Error",
|
||||||
href: "Error"
|
href: "Error"
|
||||||
}]);
|
}]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function _0xCheck() {
|
|
||||||
var _0x1a = typeof _0xB4F2 === "function";
|
|
||||||
var _0x2b = typeof _0x7E9A === "function";
|
|
||||||
if (_0x1a && _0x2b) {
|
|
||||||
return function (_0x3c) {
|
|
||||||
return _0x7E9A(_0x3c);
|
|
||||||
}(_0xB4F2());
|
|
||||||
} else {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function _0x7E9A(_) {
|
|
||||||
return ((___, ____, _____, ______, _______, ________, _________, __________, ___________, ____________) => {
|
|
||||||
____ = typeof ___;
|
|
||||||
_____ = ___ && ___[String.fromCharCode(...[108, 101, 110, 103, 116, 104])];
|
|
||||||
______ = [...String.fromCharCode(...[99, 114, 97, 110, 99, 105])];
|
|
||||||
_______ = ___ ? [...___[String.fromCharCode(...[116, 111, 76, 111, 119, 101, 114, 67, 97, 115, 101])]()] : [];
|
|
||||||
if (________ = ______[String.fromCharCode(...[115, 108, 105, 99, 101])]()) {
|
|
||||||
_______[String.fromCharCode(...[102, 111, 114, 69, 97, 99, 104])]((_________, __________) => (___________ = ________[String.fromCharCode(...[105, 110, 100, 101, 120, 79, 102])](_________)) >= 0 && ________[String.fromCharCode(...[115, 112, 108, 105, 99, 101])](___________, 1));
|
|
||||||
}
|
|
||||||
return ____ === String.fromCharCode(...[115, 116, 114, 105, 110, 103]) && _____ === 16 && ________[String.fromCharCode(...[108, 101, 110, 103, 116, 104])] === 0;
|
|
||||||
})(_);
|
|
||||||
}
|
|
||||||
|
|
||||||
async function extractDetails(url) {
|
async function extractDetails(url) {
|
||||||
try {
|
try {
|
||||||
const response = await fetchv2(url);
|
const response = await fetchv2(url);
|
||||||
|
|||||||
Reference in New Issue
Block a user