Update freewebnovel & requiem (#1421)

* freewebnovel & requiem

* refresh

* Update scripts/multisrc/lightnovelwp/sources.json

Co-authored-by: nyagami <hoangquan05112002@gmail.com>

---------

Co-authored-by: nyagami <hoangquan05112002@gmail.com>
This commit is contained in:
K1ngfish3r
2025-01-10 06:49:11 +05:00
committed by GitHub
parent 9ab1d59224
commit e55fe7e1a5
2 changed files with 4 additions and 6 deletions
+2 -2
View File
@@ -197,8 +197,8 @@
"options": {
"lang": "English",
"reverseChapters": true,
"customJs": "\n $('div.entry-content > p').each((_,el) => {\n const url = this.site + chapterPath.slice(0, -1);\n const encode = url.length * url.charCodeAt(url.length - 1) * 2 % 3;\n\n const offsets = new Map([[0, 4223], [1, 12415], [2, 7007]]);\n const offset = offsets.get(encode) ?? 4223;\n\n $(el).text($(el).text().split('').map(char => {\n let code = char.charCodeAt(0);\n return (code < offset || code > offset+255) ? char : String.fromCharCode(code-offset);\n }).join(''));\n });\n",
"versionIncrements": 1
"customJs": "\n $('div.entry-content script').remove();\n $('div.entry-content > p').each((_,el) => {\n const url = this.site + chapterPath.slice(0, -1);\n const encode = url.length * url.charCodeAt(url.length - 1) * 2 % 3;\n\n const offsets = new Map([[0, 4223], [1, 12415], [2, 7007]]);\n const offset = offsets.get(encode) ?? 4223;\n\n $(el).text($(el).text().split('').map(char => {\n let code = char.charCodeAt(0);\n return (code < offset || code > offset+255) ? char : String.fromCharCode(code-offset);\n }).join(''));\n });\n",
"versionIncrements": 2
}
},
{