From dc087a1ebb430f48b2eb7c3c44c5c0cf87252e45 Mon Sep 17 00:00:00 2001 From: Jake Date: Sat, 24 May 2025 16:58:47 +0800 Subject: [PATCH] Readcomiconline - Update config.json (#8952) Update config.json --- src/en/readcomiconline/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/en/readcomiconline/config.json b/src/en/readcomiconline/config.json index 91c5c1520..0586536e4 100644 --- a/src/en/readcomiconline/config.json +++ b/src/en/readcomiconline/config.json @@ -1,5 +1,5 @@ { - "imageDecryptEval": "const matches=[..._encryptedString.matchAll(/(cdk|pht|jdkv)\\s*=\\s*['\"](.*?)['\"]\\s*;?/gs)];const pageLinks=new Array;matches.forEach((t=>{if(t[2])pageLinks.push(decryptLink(t[2]))}));function atob(t){const e=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\";let s=String(t).replace(/=+$/,\"\");if(s.length%4===1)throw new Error(\"'atob' failed: The string to be decoded is not correctly encoded.\");let n=\"\";for(let t=0,r,c,i=0;c=s.charAt(i++);~c&&(r=t%4?r*64+c:c,t++%4)?n+=String.fromCharCode(255&r>>(-2*t&6)):0)c=e.indexOf(c);return n}function decryptLink(t){let e=t.replace(/\\w{5}__\\w{3}__/g,\"g\").replace(/\\w{2}__\\w{6}_/g,\"a\").replace(/b/g,\"pw_.g28x\").replace(/h/g,\"d2pr.x_27\").replace(/pw_.g28x/g,\"b\").replace(/d2pr.x_27/g,\"h\");if(!e.startsWith(\"https\")){const t=e.indexOf(\"?\");const s=e.substring(t);const n=e.includes(\"=s0?\");const r=n?e.indexOf(\"=s0?\"):e.indexOf(\"=s1600?\");let c=e.substring(0,r);c=c.substring(15,33)+c.substring(50);const i=c.length;c=c.substring(0,i-11)+c[i-2]+c[i-1];const o=atob(c);let g=decodeURIComponent(o);g=g.substring(0,13)+g.substring(17);g=g.substring(0,g.length-2)+(n?\"=s0\":\"=s1600\");const p=!_useServer2?\"https://2.bp.blogspot.com\":\"https://img1.whatsnew247.net/pic\";e=`${p}/${g}${s}${_useServer2?\"&t=10\":\"\"}`}return e}JSON.stringify(pageLinks);", + "imageDecryptEval": "const varRegex=/var\\s+(_[^\\s=]+)\\s*=\\s*''\\s*;/;const varMatch=_encryptedString.match(varRegex);const pageLinks=new Array;if(varMatch){const t=new RegExp(`(${varMatch[1]})\\\\s*=\\\\s*['\"](.*?)['\"]\\\\s*;?`,\"gs\");const e=[..._encryptedString.matchAll(t)];e.forEach((t=>{if(t[2])pageLinks.push(decryptLink(t[2]))}))}function atob(t){const e=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\";let s=String(t).replace(/=+$/,\"\");if(s.length%4===1)throw new Error(\"'atob' failed: The string to be decoded is not correctly encoded.\");let n=\"\";for(let t=0,r,c,i=0;c=s.charAt(i++);~c&&(r=t%4?r*64+c:c,t++%4)?n+=String.fromCharCode(255&r>>(-2*t&6)):0)c=e.indexOf(c);return n}function decryptLink(t){let e=t.replace(/\\w{5}__\\w{3}__/g,\"g\").replace(/\\w{2}__\\w{6}_/g,\"a\").replace(/b/g,\"pw_.g28x\").replace(/h/g,\"d2pr.x_27\").replace(/pw_.g28x/g,\"b\").replace(/d2pr.x_27/g,\"h\");if(!e.startsWith(\"https\")){const t=e.indexOf(\"?\");const s=e.substring(t);const n=e.includes(\"=s0?\");const r=n?e.indexOf(\"=s0?\"):e.indexOf(\"=s1600?\");let c=e.substring(0,r);c=c.substring(15,33)+c.substring(50);const i=c.length;c=c.substring(0,i-11)+c[i-2]+c[i-1];const g=atob(c);let o=decodeURIComponent(g);o=o.substring(0,13)+o.substring(17);o=o.substring(0,o.length-2)+(n?\"=s0\":\"=s1600\");const a=!_useServer2?\"https://2.bp.blogspot.com\":\"https://img1.whatsnew247.net/pic\";e=`${a}/${o}${s}${_useServer2?\"&t=10\":\"\"}`}return e}JSON.stringify(pageLinks);", "postDecryptEval": null, "shouldVerifyLinks": false }