forked from hoothin/UserScripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpagetualRules.json
9796 lines (9796 loc) · 567 KB
/
pagetualRules.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
[
{
"name": "ICONFINDER ",
"enable": 0,
"example": "https://www.iconfinder.com/search?q=Download",
"url": "^https?://www\\.iconfinder\\.com/"
},
{
"name": "菜鸟工具 - JS/CSS/JSON/HTML 調整為上下欄",
"enable": 1,
"example": "https://c.runoob.com/front-end/51/,https://c.runoob.com/front-end/52/,https://c.runoob.com/front-end/7683/,https://c.runoob.com/front-end/47/",
"url": "^https?://c\\.runoob\\.com/front-end/(47|51|52|7683)/",
"init": "if(location.href.indexOf('7683')==-1){clearAll()}document.querySelectorAll('div.col-md-6').forEach(div=>{div.setAttribute('class','code');div.style='width:100%;max-width:100%;position:relative;padding-right:15px;padding-left:15px;'})",
"pinUrl": true
},
{
"name": "webtoons - 手機版閱讀 (手動翻頁模式,預讀下一話圖片)",
"example": "https://m.webtoons.com/zh-hant/time-slip/estatedeveloper/%E7%AC%AC1%E8%A9%B1/viewer?title_no=4354&episode_no=1",
"url": "^https?://m\\.webtoons\\.com/.+/viewer\\?",
"manualMode": true,
"pinUrl": true,
"init": "document.addEventListener('dblclick',()=>{let n=document.querySelector('.paginate a.lk_next');if(n)location.href=n.href});let code=Array.from(document.scripts).find(s=>s.innerHTML.search(/imageList/)>-1).innerHTML;let imgData=eval(code.match(/imageList[^;]+/g)[0]);let imgs=document.querySelectorAll('._checkVisible');for(let i=0;i<imgs.length;i++){imgs[i].src=imgData[i].url}",
"nextLink": ".paginate a.lk_next",
"preloadImages": "let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/imageList/)>-1).innerHTML;let imgData=eval(code.match(/imageList[^;]+/g)[0]);let imgSrcArr=[];for(let i=0;i<imgData.length;i++){let imgSrc=imgData[i].url;imgSrcArr.push(imgSrc)}return imgSrcArr",
"css": "#_webRetentionArea,.pagetual_tipsWords{display:none!important}"
},
{
"name": "webtoons - 手機版閱讀 (自動翻頁模式會越來越卡)",
"example": "https://m.webtoons.com/zh-hant/time-slip/estatedeveloper/%E7%AC%AC1%E8%A9%B1/viewer?title_no=4354&episode_no=1",
"enable": 0,
"url": "^https?://m\\.webtoons\\.com/.+/viewer\\?",
"history": 2,
"init": "let code=Array.from(document.scripts).find(s=>s.innerHTML.search(/imageList/)>-1).innerHTML;let imgData=eval(code.match(/imageList[^;]+/g)[0]);let imgs=document.querySelectorAll('._checkVisible');for(let i=0;i<imgs.length;i++){imgs[i].src=imgData[i].url}",
"nextLink": ".paginate a.lk_next",
"pageElement": ".flick-ct._imageWrap",
"replaceElement": ".h1_viewer,#sequence_scroll,.btn_comment,.paginate",
"pageInit": "let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/imageList/)>-1).innerHTML;let imgData=eval(code.match(/imageList[^;]+/g)[0]);let imgs=doc.querySelectorAll('._checkVisible');for(let i=0;i<imgs.length;i++){imgs[i].src=imgData[i].url}",
"pageAction": "let gae=e=>document.querySelectorAll(e);gae('#bottomEpisodeList img[data-url]').forEach(e=>{e.src=e.dataset.url});let titles=gae('.pagetual_pageBar');if(titles.length>5){titles[0].remove();let removes=gae('#_viewer>*');for(let i in removes){if(/pagetual_pageBar/.test(removes[i].className)){break}removes[i].remove()}}",
"preloadImages": "document.querySelector('#pagetual-preload').innerHTML='';let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/imageList/)>-1).innerHTML;let imgData=eval(code.match(/imageList[^;]+/g)[0]);let imgSrcArr=[];for(let i=0;i<imgData.length;i++){let imgSrc=imgData[i].url;imgSrcArr.push(imgSrc)}return imgSrcArr",
"pageBarText": "let t=doc.querySelector('.h1_viewer>._goTop');if(t)return t.innerText",
"rate": 3,
"css": "#_viewer{height:auto !important}#_webRetentionArea{display:none!important}"
},
{
"name": "webtoons - 閱讀",
"example": "https://www.webtoons.com/zh-hant/time-slip/estatedeveloper/%E7%AC%AC1%E8%A9%B1/viewer?title_no=4354&episode_no=1",
"url": "^https?://www\\.webtoons\\.com/.+/viewer\\?",
"pinUrl": true,
"history": 2,
"init": "document.querySelectorAll('img[data-url]').forEach(e=>{e.src=e.dataset.url})",
"nextLink": "//div[@class='episode_cont']//li[a[starts-with(@class,'on')]]/following-sibling::li[1]/a",
"pageElement": "#_imageList>img",
"replaceElement": ".subj_info>h1,.paginate.v2,.episode_cont",
"pageAction": "let gae=e=>document.querySelectorAll(e);gae('#bottomEpisodeList img[data-url]').forEach(e=>{e.src=e.dataset.url});let titles=gae('.pagetual_pageBar');if(titles.length>5){titles[0].remove();let removes=gae('#_imageList>*');for(let i in removes){if(/pagetual_pageBar/.test(removes[i].className)){break}removes[i].remove()}}",
"pageBarText": "let t=doc.querySelector('.subj_info>h1');if(t)return t.innerText",
"rate": 3
},
{
"name": "webtoons - 目錄",
"example": "https://www.webtoons.com/zh-hant/time-slip/estatedeveloper/list?title_no=4354",
"url": "^https?://www\\.webtoons\\.com/.+/list\\?",
"pinUrl": true,
"nextLink": "//div[@class='paginate']/a[span[@class='on']]/following-sibling::a[1]",
"pageElement": "._episodeItem",
"replaceElement": ".paginate",
"pageBar": 0
},
{
"name": "webtoons - 首頁禁用",
"url": "^https?://www\\.webtoons\\.com/([^/]+/)?$",
"pinUrl": true,
"nextLink": "0",
"enable": 0
},
{
"name": "仙漫网 - 手機版目錄",
"example": "https://m.xianmanwang.com/wodetianjienvyou/",
"url": "^https?://m\\.xianmanwang\\.com/\\w+/$",
"include": "a.mm",
"autoClick": "a.mm",
"nextLink": "0",
"css": "[class^='ad']{display:none!important}"
},
{
"name": "仙漫网 - 手機版閱讀",
"example": "https://m.xianmanwang.com/kaijujiuwudi/0.html",
"url": "^https?://m\\.xianmanwang\\.com/\\w+/\\d+\\.html",
"pinUrl": true,
"init": "let hasTouchEvents=()=>{if(('ontouchstart'in window)||(navigator.maxTouchPoints>0)||(navigator.msMaxTouchPoints>0)){return true}return false};if(hasTouchEvents()===false){let style=document.createElement('style');style.id='PagetualStyle';style.innerHTML='#cp_img>img{width:auto!important;height:auto!important;max-width:100%!important;display:block!important;margin:0 auto !important}';document.head.appendChild(style)}let code=Array.from(document.scripts).find(s=>s.innerHTML.search(/eval/)>-1).innerHTML.match(/eval.+\\)\\)/)[0].slice(4);let imgData=eval(eval(code).match(/picdata[^;]+/)[0]);let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();img.src='https://res.xiaoqinre.com/'+e;F.appendChild(img)});let E=document.querySelector('#cp_img');E.innerHTML='';E.appendChild(F);",
"nextLink": "a.next[href$=html]",
"pageElement": "#cp_img",
"replaceElement": "head>title,#title[style*='30'],.btn.prev,.btn.next",
"pageInit": "let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/eval/)>-1).innerHTML.match(/eval.+\\)\\)/)[0].slice(4);let imgData=eval(eval(code).match(/picdata[^;]+/)[0]);let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();img.src='https://res.xiaoqinre.com/'+e;F.appendChild(img)});let E=doc.querySelector('#cp_img');E.innerHTML='';E.appendChild(F);",
"pageAction": "let gae=e=>document.querySelectorAll(e);let c=gae('#cp_img');if(c.length>10){c[0].remove()}let p=gae('.pagetual_pageBar');if(p.length>10){p[0].remove()}",
"preloadImages": "document.querySelector('#pagetual-preload').innerHTML='';let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/eval/)>-1).innerHTML.match(/eval.+\\)\\)/)[0].slice(4);let imgData=eval(eval(code).match(/picdata[^;]+/)[0]);let imgSrcArr=[];imgData.forEach(e=>{let imgSrc='https://res.xiaoqinre.com/'+e;imgSrcArr.push(imgSrc)});return imgSrcArr",
"pageBarText": "let t=doc.querySelector(\"#title[style*='30']\");if(t)return t.innerText",
"rate": 2,
"css": "img[style*='18vh'],.dropload-down{display:none!important}.recommendList{display:block!important}"
},
{
"name": "仙漫网 - 閱讀",
"example": "https://www.xianmanwang.com/kaijujiuwudi/0.html",
"url": "^https?://www\\.xianmanwang\\.com/\\w+/\\d+\\.html",
"pinUrl": true,
"init": "let ge=e=>document.querySelector(e);if(ge('img[src*=banquan]')){location.replace(location.href.replace('www','m'))}else{let code=Array.from(document.scripts).find(s=>s.innerHTML.search(/eval/)>-1).innerHTML.trim().slice(4);let imgData=eval(eval(code).match(/picdata[^;]+/)[0]);let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();img.src=imgDomain+e;F.appendChild(img)});let E=ge('.comiclist');E.innerHTML='';E.appendChild(F)}",
"nextLink": "//li[a[@class='active']]/preceding-sibling::li[1]/a",
"pageElement": ".comiclist",
"replaceElement": "head>title,h1.title",
"pageInit": "let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/eval/)>-1).innerHTML.trim().slice(4);let imgData=eval(eval(code).match(/picdata[^;]+/)[0]);let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();img.src=imgDomain+e;F.appendChild(img)});let E=doc.querySelector('.comiclist');E.innerHTML='';E.appendChild(F);",
"pageAction": "let gae=e=>document.querySelectorAll(e);let c=gae('.comiclist');if(c.length>10){c[0].remove()}let p=gae('.pagetual_pageBar');if(p.length>10){p[0].remove()}",
"preloadImages": "document.querySelector('#pagetual-preload').innerHTML='';let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/eval/)>-1).innerHTML.trim().slice(4);let imgData=eval(eval(code).match(/picdata[^;]+/)[0]);let imgSrcArr=[];imgData.forEach(e=>{let imgSrc=imgDomain+e;imgSrcArr.push(imgSrc)});return imgSrcArr",
"pageBarText": "let t=doc.querySelector('a.active');if(t)return t.innerText.match(/[^(]+/)[0].trim();",
"css": "h1.title>span{display:none!important}.comiclist>img{width:auto!important;height:auto!important;max-width:100%!important;display:block!important;margin:0 auto !important}"
},
{
"name": "漫画牛 - 閱讀",
"example": "http://www.manhua666.com/13_13215/1208996.html#p=1",
"url": "^https?://www\\.manhua666\\.com/\\w+/\\d+\\.html",
"init": "let ge=e=>document.querySelector(e);let gx=x=>document.evaluate(x,document,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue;if(!ge('.pageselect')){gx(\"//a[text()='分页阅读']\").click()}let F='';imgs.forEach(e=>{F+=e});let E=ge('#contents');E.innerHTML=F;",
"nextLink": "a[rel=next][href$=html]",
"pageElement": "#contents",
"replaceElement": "head>title,.con_top,.bottem1,.bottem2",
"pageInit": "let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/imgs/)>-1).innerHTML;let imgData=eval(code.match(/imgs[^;]+/)[0]);let F='';imgs.forEach(e=>{F+=e});let E=doc.querySelector('#contents');E.innerHTML=F;",
"pageAction": "let gae=e=>document.querySelectorAll(e);let c=gae('#contents');if(c.length>10){c[0].remove()}let p=gae('.pagetual_pageBar');if(p.length>10){p[0].remove()}",
"preloadImages": "document.querySelector('#pagetual-preload').innerHTML='';let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/imgs/)>-1).innerHTML;let imgData=eval(code.match(/imgs[^;]+/)[0]);let imgSrcArr=[];imgData.forEach(e=>{let imgSrc=e.match(/http[^\"]+/)[0];imgSrcArr.push(imgSrc)});return imgSrcArr",
"pageBarText": "let t=doc.querySelector('.bookname');if(t)return t.innerText.match(/[^(]+/)[0].trim();",
"css": ".box_con #content{font-size:0!important}.bookname,.imgpage,.imgpage2,h3,.readtj{display:none!important}"
},
{
"name": "漫画牛 - 分類",
"example": "http://www.manhua666.com/sort/1/1.html",
"url": "^https?://www\\.manhua666\\.com/",
"include": ".pages",
"pinUrl": true,
"nextLink": "strong+a[href$=html]",
"pageElement": "h2~.item",
"replaceElement": ".pages",
"pageBar": 0
},
{
"name": "開車漫画 - 閱讀",
"example": "https://18p.fun/ForInject/Chapter/?id=641992",
"url": "^https?://(www\\.)?(18p|gohaveababy|imynest|healthway|beforeout)\\.[a-z]{2,5}/(ForInject/|Article/|content/)",
"pinUrl": true,
"history": 2,
"action": 1,
"init": "let ge=e=>document.querySelector(e);let loop=setInterval(()=>{let set=ge('img[data-src]');if(set){clearInterval(loop);if(location.hostname!='18p.fun'&&window.$_curChap){location.replace('https://18p.fun/ForInject/Chapter/?id='+window.$_curChap.id)};document.querySelectorAll('img[data-src]').forEach(e=>{e.src=e.dataset.src});let hasTouchEvents=()=>{if(('ontouchstart'in window)||(navigator.maxTouchPoints>0)||(navigator.msMaxTouchPoints>0)){return true}return false};let toggleToolbar=()=>{var e=e||window.event;if(e.wheelDelta<0||e.detail>0){ge('[my-id=header]').setAttribute('style','top: -60px;');ge('[class^=footerbox]').setAttribute('style','display:none;')}else{ge('[my-id=header]').removeAttribute('style');ge('[class^=footerbox]').removeAttribute('style')}};if(hasTouchEvents()===false){document.addEventListener('wheel',toggleToolbar);document.addEventListener('DOMMouseScroll',toggleToolbar)}ge('[class^=pictures]').addEventListener('click',()=>{let t=ge('[my-id=header][style]');if(t){ge('[my-id=header]').removeAttribute('style');ge('[class^=footerbox]').removeAttribute('style')}else{ge('[my-id=header]').setAttribute('style','top: -60px;');ge('[class^=footerbox]').setAttribute('style','display:none;')}})}},200);",
"nextLinkByJs": "let next=doc.querySelector('[class^=picnexta]>a');if(next&&next.dataset.url)return next.dataset.url",
"pageElement": "[class^=pictures]>img[data-src],[class^=needfee]",
"replaceElement": "[class^=footerbox] li:nth-child(n+3):nth-child(-n+6)",
"pageInit": "document.querySelector('h1').outerHTML=doc.querySelector('h1').outerHTML;let na=document.querySelector('[class^=picnexta]');let a=null;if(na){a=na.querySelector('a')}let rna=doc.querySelector('[class^=picnexta]');let ra=null;if(rna){ra=rna.querySelector('a')}if(ra!=null&&ra.dataset.url){a.dataset.url=ra.dataset.url;a.innerHTML=ra.innerHTML}else if(rna){na.innerHTML=rna.innerHTML}let needfee=doc.querySelector('[class^=needfee]');if(needfee){let css=Array.from(doc.querySelectorAll('style')).find(s=>s.innerHTML.search(/needfee/)>-1).innerHTML;let style=document.createElement('style');style.id='PagetualStyle';style.innerHTML=css;document.head.appendChild(style)}",
"pageAction": "let ge=e=>document.querySelector(e);let gae=e=>document.querySelectorAll(e);gae('.pagetual_pageBar a').forEach(e=>{if(/pi=/.test(e.href))e.parentNode.remove()});let ps=gae('.pagetual_pageBar');if(ps.length>4){ps[0].remove();let ds=gae('[class^=pictures]>*');for(let i in ds){if(/pagetual/.test(ds[i].id)){break};ds[i].remove()}};setTimeout(()=>{gae('div[class^=picnexta],[class^=footerbox] li:nth-child(n+3):nth-child(-n+6)').forEach(e=>{e.addEventListener('click',()=>{let a=e.querySelector('a');if(a&&a.dataset.url){location.replace(a.dataset.url)}})});ge('[class^=footerbox] li:nth-child(7)').addEventListener('click',()=>{location.replace('https://18p.fun/book/'+window.$_curChap.bookid)})},200)",
"pageBarText": "let t=doc.querySelector('h1');if(t)return t.innerText.split('\"')[2].replace(/第\\d+页?頁?$/,'').trim();"
},
{
"name": "開車漫画 - 分類",
"example": "https://18p.fun/library/?cid=3&tid=1702",
"url": "^https?://18p\\.fun/",
"include": ".loadmore",
"init": "let gae=e=>document.querySelectorAll(e);let openInNewTab=()=>gae('#itemlist li>a:not([target=_blank])').forEach(a=>{a.setAttribute('target','_blank')});let setImgSrc=()=>gae('img.lazy[src$=svg]').forEach(img=>{img.src=img.dataset.src});openInNewTab();setImgSrc();new MutationObserver(()=>{openInNewTab();setImgSrc()}).observe(document.body,{childList:true,subtree:true});",
"nextLink": "0",
"loadMore": ".loadmore>button",
"css": ".page{display:none!important}.loadmore{display:block!important}"
},
{
"name": "大树漫画 - 閱讀",
"example": "https://www.dashumanhua.com/comic/douluodalu5zhongshengtangsan/read-0.html",
"url": "^https?://www\\.dashumanhua\\.com/comic/[^/]+/read-\\d+\\.html",
"pinUrl": true,
"history": 2,
"init": "let ge=e=>document.querySelector(e);let code=Array.from(document.scripts).find(s=>s.innerHTML.search(/picTree/)>-1).innerHTML;let m=code.replace(/eval.+\\)\\)/,'').match(/eval.+\\)\\)/)[0].slice(4);let imgData=eval(eval(m).slice(12,-1));let E=ge('#pic-list');let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();img.src=e;F.appendChild(img)});E.innerHTML='';E.appendChild(F);$('head').append('<style>#pre-loading+#pic-list>img:nth-child('+imgData.length+')~* {display:none!important}</style>')",
"nextLink": "//a[text()='下一话' and not(contains(@href,'--1'))]",
"pageElement": "#pic-list",
"replaceElement": "head>title,h2,.prev,.huiname,.next,.setnmh-pagedos",
"pageInit": "let ge=e=>doc.querySelector(e);let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/picTree/)>-1).innerHTML;let m=code.replace(/eval.+\\)\\)/,'').match(/eval.+\\)\\)/)[0].slice(4);let imgData=eval(eval(m).slice(12,-1));let E=ge('#pic-list');let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();img.src=e;F.appendChild(img)});E.innerHTML='';E.appendChild(F);",
"pageAction": "let ge=e=>document.querySelector(e);let gae=e=>document.querySelectorAll(e);let c=gae('#pic-list');if(c.length>10){c[0].remove()}let p=gae('.pagetual_pageBar');if(p.length>10){p[0].remove()}setTimeout(()=>{ge('.prev>a').href=ge('.prev>.tandiv>a').href;let n=ge('.next>.tandiv>a');if(n){ge('.next>a').href=n.href;ge('.next>a+span').remove();ge('a[v-if=booknext]+span').remove()}else{ge('div[v-if=booknext]').remove();ge('.next>a').classList.add('hui')}},100)",
"preloadImages": "document.querySelector('#pagetual-preload').innerHTML='';let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/picTree/)>-1).innerHTML;let m=code.replace(/eval.+\\)\\)/,'').match(/eval.+\\)\\)/)[0].slice(4);let imgSrcArr=eval(eval(m).slice(12,-1));return imgSrcArr",
"pageBarText": "let t=doc.querySelector('.setnmh-bookname>h2');if(t)return t.innerText",
"rate": 3,
"css": "#pic-list img{box-shadow:none!important}.setnmh-seebox>*:first-child:not(.loading-box),.loading-box,.aboutmh>*:last-child{display:none!important}"
},
{
"name": "大树漫画 - 目錄",
"example": "https://www.dashumanhua.com/comic/shendijianglinwoyouyiwanshuxingdian/",
"url": "^https?://www\\.dashumanhua\\.com/",
"include": "//a[text()='开始阅读']",
"autoClick": "//div[span[text()='全部目录']]",
"css": "[class^='ad']{display:none!important}"
},
{
"name": "大树漫画 - 分類",
"example": "https://www.dashumanhua.com/category/all/",
"url": "^https?://www\\.dashumanhua\\.com/",
"nextLink": "//a[text()='下页']",
"pageElement": "//dt[div[@class='img']/a/img[@alt]]",
"replaceElement": ".mypage",
"pageBar": 0
},
{
"name": "Manga Koma 閱讀",
"example": "https://mangakoma01.com/manga/pick-me-up-direa-ying-xiongno-chengri-shanggari/1hua/25650",
"url": "^https?://mangakoma\\d+\\.com/",
"action": 1,
"waitElement": [
"",
"img[alt='Lazy']"
],
"init": "setTimeout(()=>{document.querySelectorAll('img[data-src]').forEach(e=>{e.src=e.getAttribute('data-src');e.classList.add('loaded')})},5000)",
"nextLink": "a.nextBtn:not([disabled])",
"pageElement": "#chapterContent",
"replaceElement": "head>title,.i-block:nth-child(3) span[itemprop='name'],h1.fs-25,.prevBtn,a.nextBtn",
"pageInit": "doc.querySelectorAll('img[data-src]').forEach(e=>{e.src=e.getAttribute('data-src');e.classList.add('loaded')})"
},
{
"name": "K-漫神 閱讀",
"example": "https://kmansin09.com/bbs/board.php?bo_table=2001&wr_id=9984280",
"url": "^https?://kmansin\\d+\\.com/",
"include": "#ep_box",
"nextLink": ".panel-heading a[title='次']",
"pageElement": ".view-content",
"rate": 10,
"css": ".view-padding{padding:0px!important}.remote{display:none!important}"
},
{
"name": "K-漫神 目錄",
"example": "https://kmansin09.com/bbs/board.php?bo_table=2001&wr_id=9984203&sfl=wr_subject&stx=PICK+ME+UP",
"url": "^https?://kmansin\\d+\\.com/",
"exclude": "#ep_box",
"nextLink": ".pagination li.active+li:not(.disabled)>a[href]",
"pageElement": ".list-body",
"replaceElement": ".pagination",
"pageBar": 0,
"rate": 10
},
{
"name": "嗨皮漫畫 - 給本王顯示全部章節",
"example": "https://m.happymh.com/manga/daiwangraoming",
"url": "^https?://m\\.happymh\\.com/manga/",
"autoClick": "#expandButton"
},
{
"name": "嗨皮漫畫 - 更新頁",
"example": "https://m.happymh.com/latest",
"url": "^https?://m\\.happymh\\.com/latest$",
"loadMore": ".more-div-btn"
},
{
"name": "嗨皮漫畫 - 閱讀 - 禁用",
"example": "https://m.happymh.com/manga/shishijilingdishejishi",
"url": "^https?://m\\.happymh\\.com/reads/",
"enable": "0"
},
{
"name": "包子漫畫分類 - 漫畫在新分頁打開",
"example": "https://www.webmota.com/",
"url": "^https?://[^/]+/",
"include": [
"//title[contains(text(),'包子漫畫') or contains(text(),'包子漫画')]",
".comics-card"
],
"exclude": [
".comic-contain",
".comics-detail"
],
"init": "let openInNewTab=()=>document.querySelectorAll('.comics-card a:not([target=_blank])').forEach(a=>{a.setAttribute('target','_blank')});openInNewTab();new MutationObserver(()=>{openInNewTab()}).observe(document.body,{childList:true,subtree:true});",
"nextLink": "0"
},
{
"name": "包子漫畫 - 查看全部章節",
"example": "https://www.baozimh.com/comic/dawangraoming-yuedongwenhua",
"url": "^https?://[^/]+/comic/",
"include": [
"//title[contains(text(),'包子漫畫') or contains(text(),'包子漫画')]",
"#button_show_all_chatper"
],
"nextLink": "0",
"autoClick": "#button_show_all_chatper"
},
{
"name": "包子漫畫 - 閱讀",
"example": "https://www.kukuc.co/comic/chapter/dawangraoming-yuedongwenhua/0_0.html",
"url": "^https?://[^/]+/comic/chapter/[^/]+/\\w+\\.html",
"include": [
"//title[contains(text(),'包子漫畫') or contains(text(),'包子漫画')]",
".chapter-main.scroll-mode>.comic-contain amp-img>img[amp-img-id]"
],
"history": 2,
"action": 1,
"pinUrl": true,
"init": "let gae=e=>document.querySelectorAll(e);let E=gae('.comic-contain')[0];let F=new DocumentFragment();let imgs=gae('.comic-contain amp-img');imgs.forEach(e=>{let img=new Image();img.className='comic-contain__item';img.src=e.getAttribute('src');F.appendChild(img)});E.innerHTML='';E.appendChild(F);let loop=setInterval(()=>{let set=document.querySelector('#interstitial_fade');if(set){clearInterval(loop);set.remove()}},100);setTimeout(()=>{if(loop)clearInterval(loop)},5000)",
"nextLink": "#next-chapter",
"pageElement": ".comic-contain",
"replaceElement": "//head/title | //span[@class='title'] | //div[@class='comic-chapter']/div[@class='next_chapter'] | //div[@class='bottom-bar']",
"pageInit": "let gae=e=>doc.querySelectorAll(e);let E=gae('.comic-contain')[0];let F=new DocumentFragment();let imgs=gae('.comic-contain amp-img');imgs.forEach(e=>{let img=new Image();img.className='comic-contain__item';img.src=e.getAttribute('src');F.appendChild(img)});E.innerHTML='';E.appendChild(F);",
"pageAction": "let gae=e=>document.querySelectorAll(e);gae('.pagetual_pageBar a').forEach(e=>{if(/\\/\\d+_\\d+_\\d+\\.html$/.test(e.href))e.parentNode.remove()});let ps=gae('.pagetual_pageBar');if(ps.length>10){ps[0].remove();let ds=gae('.chapter-main>*');for(let i in ds){if(/pagetual/.test(ds[i].id)){break};ds[i].remove()}}",
"pageBarText": "let t=doc.querySelector('span.title');if(t)return t.innerText",
"css": ".mobadsq{display:none!important}ul{margin-block-start:-2px!important;margin-block-end:2px!important}.pagetual_pageBar{margin-top:7px!important}"
},
{
"name": "包子漫畫2 - 閱讀",
"example": "https://baozimh.org/manga/kaijuyizuoshan-yulemeicuo/0_2/",
"url": "^https?://baozimh\\.org/manga/[^/]+/\\w+/",
"history": 2,
"pinUrl": true,
"init": "let gx=x=>document.evaluate(x,document,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue;let E=gx(\"//div[(div/img) and contains(@class,'gb-container')]\");let F=new DocumentFragment();document.querySelectorAll('img[data-src]').forEach(e=>{let img=new Image();img.src=e.dataset.src;F.appendChild(img)});E.innerHTML='';E.appendChild(F);",
"nextLink": "//a[span[text()='下一话']]",
"pageElement": "//div[(div/img) and contains(@class,'gb-container')] | //div[(img) and contains(@class,'gb-container')]",
"replaceElement": "head>title,.gb-inside-container>h1,.last,#pagenation",
"pageInit": "let gx=x=>doc.evaluate(x,doc,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue;let E=gx(\"//div[(div/img) and contains(@class,'gb-container')]\");let F=new DocumentFragment();doc.querySelectorAll('img[data-src]').forEach(e=>{let img=new Image();img.src=e.dataset.src;F.appendChild(img)});E.innerHTML='';E.appendChild(F);",
"pageAction": "function gax(x){let nodes=[];let results=document.evaluate(x,document,null,XPathResult.ANY_TYPE,null);let node;while(node=results.iterateNext()){nodes.push(node)}return nodes}let c=gax(\"//div[(img) and contains(@class,'gb-container')]\");if(c.length>10){c[0].remove()}let p=gax(\"//*[contains(@class,'pagetual_pageBar')]\");if(p.length>10){p[0].remove()}",
"pageBarText": "let t=doc.querySelector('.last');if(t)return t.innerText",
"css": ".pagetual_pageBar+.gb-container{margin-top:-3px!important}"
},
{
"name": "包子漫畫2 - 分類/搜索",
"example": "https://baozimh.org/",
"url": "^https?://baozimh\\.org/",
"nextLink": "span.current+a,a[aria-label='Next page']",
"pageElement": "#main>article article,header.page-header~article",
"replaceElement": "nav.ct-pagination,.paging-navigation",
"pageBar": 0
},
{
"name": "GODA漫画 - 閱讀",
"example": "https://chapter.godamanga.com/manga/wozhendebushiqiyunzhizi-vv/0_0/",
"url": "^https?://([a-z]{2,7}\\.)?godamanga\\.com/manga/[^/]+/\\w+/",
"history": 2,
"init": "document.querySelectorAll('img[data-lazy-src]').forEach(e=>{e.src=e.getAttribute('data-lazy-src')})",
"nextLink": "//a[span[text()='下一话']]",
"pageElement": "//div[div/div/div/img[@decoding='async']]",
"replaceElement": "head>title,.hero-section,#pagenation",
"pageAction": "function gax(x){let nodes=[];let results=document.evaluate(x,document,null,XPathResult.ANY_TYPE,null);let node;while(node=results.iterateNext()){nodes.push(node)}return nodes}let c=gax(\"//div[div/div/div/img[@decoding='async']]\");if(c.length>10){c[0].remove()}let p=gax(\"//*[contains(@class,'pagetual_pageBar')]\");if(p.length>10){p[0].remove()}",
"pageBarText": "let t=doc.querySelector('.last-item>span');if(t)return t.innerText",
"css": ".pagetual_pageBar+.stk-row{margin-top:-3px!important}"
},
{
"name": "GODA漫画 - 分類/搜索",
"example": "https://godamanga.com/",
"url": "^https?://(cn\\.)?godamanga\\.com/",
"nextLink": "span.current+a,a[aria-label='Next page']",
"pageElement": "//article[a/img]",
"replaceElement": "nav.ct-pagination,.paging-navigation",
"pageBar": 0
},
{
"name": "COCOMANGA - 閱讀 - 雙擊前往下一章,鍵盤左右鍵上下章",
"example": "https://www.colamanhua.com/15177/1/2.html",
"url": "^https?://www\\.colamanhua\\.com/",
"include": ".mh_comicpic",
"init": "let gx=x=>document.evaluate(x,document,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue;function next(e){let key=window.event?e.keyCode:e.which;if(key==39){e.preventDefault();let n=gx(\"//a[contains(@href,'html') and text()='下一章']\");if(n){n.click()}else{alert('沒有下一章了!')}}};document.addEventListener('keydown',next);function prev(e){let key=window.event?e.keyCode:e.which;if(key==37){e.preventDefault();let p=gx(\"//a[contains(@href,'html') and text()='上一章']\");if(p){p.click()}else{alert('沒有上一章了!')}}};document.addEventListener('keydown',prev);function dcnext(){let n=gx(\"//a[contains(@href,'html') and text()='下一章']\");if(n){n.click()}else{alert('沒有下一章了!')}};document.addEventListener('dblclick',dcnext);",
"nextLink": "0",
"pinUrl": true,
"css": ".mh_wrap{width:100%!important;min-width:100%!important}"
},
{
"name": "COCOMANGA - 分類/搜索",
"example": "https://www.colamanhua.com/show?orderBy=update",
"url": "^https?://www\\.colamanhua\\.com/(show|search)",
"init": "let w = document.querySelector(`h2 a[href*='weeklyCount']`); if (!location.search) w.click()",
"nextLinkByJs": "let next=doc.querySelector('.fed-page-info a.fed-btns-green+a[onclick]');if(next)return location.origin+location.pathname+location.search.replace(/&page=\\d+$/,'')+'&page='+next.innerText",
"pageElement": "//div[contains(@class,'fed-list-head')]/following-sibling::ul[li/a/span] | //dl[dt/a/span]",
"pageInit": "doc.querySelectorAll('a[data-original]').forEach(a=>{a.style.backgroundImage=`url('${a.dataset.original}')`})",
"replaceElement": ".fed-page-info"
},
{
"name": "看漫画手機版 - 閱讀",
"example": "https://m.manhuagui.com/comic/30278/405998.html",
"url": "^https?://m\\.manhuagui\\.com/comic/\\d+/\\d+\\.html",
"pinUrl": true,
"history": 2,
"init": "$('body').append('<div class=\"goback\" title=\"返回頂部\" onclick=\"window.scrollTo({top: 0})\" style=\"background: url(/images/bg_main.png) -258px -80px no-repeat;opacity:0.3;position:fixed;left:50%;margin-left:-20px;bottom:0px;width:40px;height:40px;\"></div>');let ge=e=>document.querySelector(e);let str=`var imagesObserver=new IntersectionObserver((entries,observer)=>{entries.forEach(entry=>{if(entry.isIntersecting){observer.unobserve(entry.target);let realSrc=entry.target.dataset.src,nE=entry.target.nextElementSibling;if(realSrc){entry.target.src=realSrc;}if(nE&&nE.tagName=='IMG'&&nE.dataset.src){nE.src=nE.dataset.src;}}})});var loading_bak='data:image/png;base64,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';`;let script=document.createElement('script');script.type='text/javascript';script.innerHTML=str;ge('body').appendChild(script);let code=Array.from(document.scripts).find(s=>s.innerHTML.search(/x6c/)>-1).innerHTML.slice(26,-1);let imgDataCode=eval(code).slice(10,-11);let imgData=eval(imgDataCode);let loop=setInterval(()=>{let set=ge('#manga img');if(set){clearInterval(loop);let domain='https://i.hamreus.com';let F=new DocumentFragment();imgData.images.forEach(e=>{let img=new Image();img.src=loading_bak;img.dataset.src=`${domain+e}?e=${imgData.sl.e}&m=${imgData.sl.m}`;imagesObserver.observe(img);F.appendChild(img)});let E=ge('#manga');E.innerHTML='';E.appendChild(F);let n=ge(\"a[data-action='chapter.next']\");if(imgData.nextId==0){n.href=location.pathname.replace(/\\d+\\.html$/,'');n.innerText='返回目录'}}},100)",
"nextLinkByJs": "let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/x6c/)>-1).innerHTML.slice(26,-1);let imgDataCode=eval(code).slice(10,-11);let imgData=eval(imgDataCode);let n=imgData.nextId;if(n!=0)return location.href.replace(/\\d+\\.html$/,'')+n+'.html';",
"pageElement": "//script[contains(text(),'x6c')]",
"insert": "#manga",
"insertPos": 2,
"replaceElement": "#mangaTitle",
"pageInit": "let ge=e=>document.querySelector(e);let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/x6c/)>-1).innerHTML.slice(26,-1);let imgDataCode=eval(code).slice(10,-11);let imgData=eval(imgDataCode);let domain='https://i.hamreus.com';let F=new DocumentFragment();imgData.images.forEach(e=>{let img=new Image();img.src=loading_bak;img.dataset.src=`${domain+e}?e=${imgData.sl.e}&m=${imgData.sl.m}`;imagesObserver.observe(img);F.appendChild(img)});let E=ge('#manga');E.appendChild(F);let n=ge(\"a[data-action='chapter.next']\");if(imgData.nextId==0){n.href=location.pathname.replace(/\\d+\\.html$/,'');n.innerText='返回目录'}",
"pageAction": "let gae=e=>document.querySelectorAll(e);let titles=gae('.pagetual_pageBar');if(titles.length>10){titles[0].remove();let removes=gae('#manga>*');for(let i in removes){if(/pagetual_pageBar/.test(removes[i].className)){break}removes[i].remove()}}",
"pageBarText": "let t=doc.querySelector('#mangaTitle');if(t)return t.innerHTML.replace(/<.+>\\s?/g,'')",
"css": ".action-list li{width:50%!important}#action>ul>li:nth-child(n+2):nth-child(-n+3),.manga-page,.clickforceads{display:none!important}.manga-box img{border-top:0px!important;border-bottom:0px!important}"
},
{
"name": "看漫画手機版 - 最新更新/排行榜/書架/搜索/漫画大全 檢視下20條記錄 - 漫畫在新分頁打開",
"example": "https://m.manhuagui.com/list/update.html",
"url": "^https?://m\\.manhuagui\\.com/",
"exclude": [
"#manga",
"#chapter"
],
"init": "let openInNewTab=()=>document.querySelectorAll('.top-slider-wrap a,.main-list a:not([target=_blank]),.cont-list a:not([target=_blank])').forEach(a=>{a.setAttribute('target','_blank')});openInNewTab();new MutationObserver(()=>{openInNewTab()}).observe(document.body,{childList:true,subtree:true});",
"loadMore": "#more:not([style*='none'])>.more-go",
"css": ".clickforceads{display:none!important}"
},
{
"name": "看漫画 - 閱讀",
"example": "https://www.manhuagui.com/comic/30278/405998.html",
"url": "^https?://(tw|www)\\.manhuagui\\.com/comic/\\d+/\\d+\\.html",
"pinUrl": true,
"history": 2,
"init": "let ge=e=>document.querySelector(e);let str=`var imagesObserver=new IntersectionObserver((entries,observer)=>{entries.forEach(entry=>{if(entry.isIntersecting){observer.unobserve(entry.target);let realSrc=entry.target.dataset.src,nE=entry.target.nextElementSibling;if(realSrc){entry.target.src=realSrc;}if(nE&&nE.tagName=='IMG'&&nE.dataset.src){nE.src=nE.dataset.src;}}})});var loading_bak='data:image/png;base64,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';`;let script=document.createElement('script');script.type='text/javascript';script.innerHTML=str;ge('body').appendChild(script);let code=Array.from(document.scripts).find(s=>s.innerHTML.search(/x6c/)>-1).innerHTML.slice(26,-1);let imgDataCode=eval(code).slice(11,-11);let imgData=eval(imgDataCode);let loop=setInterval(()=>{let set=ge('.pr.tbCenter.cb img');if(set){clearInterval(loop);let domain='https://i.hamreus.com';let F=new DocumentFragment();imgData.files.forEach(e=>{let img=new Image();img.src=loading_bak;img.dataset.src=`${domain+imgData.path+e}?e=${imgData.sl.e}&m=${imgData.sl.m}`;imagesObserver.observe(img);F.appendChild(img)});let E=ge('.pr.tbCenter.cb');E.innerHTML='';E.appendChild(F)}},100)",
"nextLinkByJs": "let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/x6c/)>-1).innerHTML.slice(26,-1);let imgDataCode=eval(code).slice(11,-11);let imgData=eval(imgDataCode);let n=imgData.nextId;if(n!=0)return location.href.replace(/\\d+\\.html$/,'')+n+'.html';",
"pageElement": "//script[contains(text(),'x6c')]",
"insert": ".pr.tbCenter.cb",
"insertPos": 2,
"replaceElement": ".title h2",
"pageInit": "let ge=e=>document.querySelector(e);let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/x6c/)>-1).innerHTML.slice(26,-1);let imgDataCode=eval(code).slice(11,-11);let imgData=eval(imgDataCode);let domain='https://i.hamreus.com';let F=new DocumentFragment();imgData.files.forEach(e=>{let img=new Image();img.src=loading_bak;img.dataset.src=`${domain+imgData.path+e}?e=${imgData.sl.e}&m=${imgData.sl.m}`;imagesObserver.observe(img);F.appendChild(img)});let E=ge('.pr.tbCenter.cb');E.appendChild(F);let pc=ge('.btn-red.prevC');let curl=location.href.replace(/\\d+\\.html.*/,'');let purl=curl+imgData.prevId+'.html';let nurl=curl+imgData.nextId+'.html';pc.href=purl;pc.removeAttribute('onclick');let p=ge('.btn-red.prev');p.href=purl;p.removeAttribute('onclick');if(imgData.nextId!=0){ge('.btn-red.nextC').href=nurl;let n=ge('.btn-red.next+a');n.href=nurl;n.removeAttribute('onclick')}else{ge('.btn-red.nextC').href=curl;let n=ge('.btn-red.next+a');n.href=curl;n.innerText=ge('#viewList').innerText;n.removeAttribute('onclick')}",
"pageAction": "let gae=e=>document.querySelectorAll(e);let titles=gae('.pagetual_pageBar');if(titles.length>10){titles[0].remove();let removes=gae('.pr.tbCenter.cb>*');for(let i in removes){if(/pagetual_pageBar/.test(removes[i].className)){break}removes[i].remove()}}",
"pageBarText": "let t=doc.querySelector('h2');if(t)return t.innerText",
"css": ".title>div:not(.fr)>span,#pageSelect,.main-btn>a[href^='j'],.pager>a[href*='goPage'],.pager>span{display:none!important}.pr.tbCenter.cb>img{width:auto!important;height:auto!important;max-width:100%!important;display:block!important;margin:0 auto !important}"
},
{
"name": "看漫画 - 分類",
"example": "https://www.manhuagui.com/list/lianzai/",
"url": "^https?://(www|tw)\\.manhuagui\\.com/list/",
"nextLink": "span.current+a",
"pageElement": "#contList",
"replaceElement": ".pager-cont,.result-count",
"css": ".pagetual_pageBar{margin-top:-10px!important}"
},
{
"name": "漫畫屋 - 閱讀",
"example": "https://mh5.tw/series-wunalfy-484928-1-%E4%B8%8D%E5%B9%B8%E8%81%B7%E6%A5%AD%E7%9A%84%E5%B9%B8%E9%81%8B?",
"url": "^https?://mh5\\.tw/series",
"pinUrl": true,
"nextLinkByJs": "let ge=e=>doc.querySelector(e);let np=ge('.num>.cur+a');let nc=ge('.next>a:not(.hui)');let c=ge('.num>.cur').innerText;let m=ge('.num>a:last-child').innerText-1;if(c!=m){return np.href}else if(nc){return nc.href}else return;",
"pageElement": ".ptview>img:not([style])",
"replaceElement": ".setnmh-pagedos",
"pageAction": "let gae=e=>document.querySelectorAll(e);let d=gae('img[alt][style]')[0];if(d)d.remove();gae('.pagetual_pageBar>a').forEach(e=>{if(!/-1-/.test(e.href))e.parentNode.remove()});let ps=gae('.pagetual_pageBar');if(ps.length>4){ps[0].remove();let ds=gae('.ptview>*');for(let i in ds){if(/pagetual/.test(ds[i].id)){break};ds[i].remove()}}",
"pageBarText": "let t=doc.querySelector('h2');if(t)return t.innerText.replace(/\\(\\d+P\\)/,'')",
"rate": 10,
"css": ".setnmh-seebox img{max-width: 100% !important;display: block !important;margin: 0 auto !important;box-shadow:none!important}.setnmh-seebox{width:auto !important;max-width:800px !important}.num>a:last-child{display:none!important}"
},
{
"name": "漫畫屋 - 分類",
"example": "https://mh5.tw/allcartoonlist",
"url": "^https?://mh5\\.tw/allcartoonlist",
"nextLink": "a.cur+a",
"pageElement": "dl.alllist",
"replaceElement": "div.num",
"css": ".pagetual_pageBar{margin-bottom:0px!important}.pagetual_pageBar+dl{margin-top:-10px!important}"
},
{
"name": "zero搬运网 - PC版閱讀",
"example": "http://www.zerobywgeat.com/plugin.php?id=jameson_manhua&a=read&zjid=346180",
"url": "^https?://www\\.zerobywgeat\\.com/plugin\\.php",
"nextLink": "//a[span[contains(@uk-icon,'right')]]",
"pageElement": ".uk-zjimg",
"replaceElement": ".uk-grid-collapse,.uk-text-center,head>title",
"pageBarText": 1,
"css": ".uk-text-center.xg1.xs2{display:none!important}img[id]{margin-top:0px!important;margin-bottom:0px!important}"
},
{
"name": "zero搬运网 - 分類",
"example": "http://www.zerobywgeat.com/",
"url": "^https?://www\\.zerobywgeat\\.com/",
"nextLink": "a.nxt",
"pageElement": "//div[div[contains(@class,'mbm')] and contains(@class,'rootcate')]",
"replaceElement": ".pg.page",
"css": ".pagetual_pageBar{margin-top:0px!important}"
},
{
"name": "Mangabz / Xmanhua - 漫畫目錄展開章節",
"example": "https://xmanhua.com/1904xm/,https://www.mangabz.com/1904bz/",
"url": "^https?://(www\\.)?(mangabz|xmanhua)\\.com/\\d+(bz|xm)/$",
"pinUrl": true,
"init": "showMoreItem()",
"autoClick": "//a[text()='章節']"
},
{
"name": "Xmanhua - 手機版閱讀",
"example": "https://xmanhua.com/m10344/",
"url": "^https?://(www\\.)?xmanhua\\.com/m\\d+(-p\\d+)?/",
"include": ".bottom-bar",
"history": 2,
"pinUrl": true,
"init": "document.querySelectorAll('img[data-src]').forEach(img=>{img.src=img.dataset.src});",
"nextLink": "//a[text()='下一章']",
"pageElement": "#cp_img",
"replaceElement": ".top-title,.bottom-bar,.toast-win,head>title",
"pageInit": "let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/newImgs/)>-1).innerHTML;let imgData=eval(eval(code.trim().slice(4)).slice(12));let E=doc.querySelector('#cp_img');let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();img.src=e;F.appendChild(img)});E.innerHTML='';E.appendChild(F);",
"pageAction": "let ge=e=>document.querySelector(e);let gae=e=>document.querySelectorAll(e);let c=gae('#cp_img');if(c.length>10){c[0].remove()}let p=gae('.pagetual_pageBar');if(p.length>10){p[0].remove()}setTimeout(()=>{let m=document.title.match(/([^_]+)_([^_]+)/);let t=ge('.top-title');t.innerText=m[1].replace('漫畫','')+'_'+m[2]},100);let cs=gae('#cp_img');let last=cs.length-1;cs[last].addEventListener('click',()=>{let t=ge('body.toolbar');if(t){$('body').removeClass('toolbar')}else{$('body').addClass('toolbar')}});",
"preloadImages": "document.querySelector('#pagetual-preload').innerHTML='';let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/newImgs/)>-1).innerHTML;let imgSrcArr=eval(eval(code.trim().slice(4)).slice(12));return imgSrcArr",
"pageBarText": "let t=doc.querySelector('.top-title');if(t)return t.innerText.replace(/XManhua\\?.+\\?/,'')"
},
{
"name": "Mangabz - 手機版閱讀",
"example": "https://www.mangabz.com/m38701/",
"url": "^https?://(www\\.)?mangabz\\.com/m\\d+(-p\\d+)?/",
"include": ".bottom-bar",
"history": 2,
"pinUrl": true,
"init": "let ge=e=>document.querySelector(e);let b=ge('body.viewbody');if(b){b.innerHTML=b.innerHTML.replace('<!--','').replace('-->','');setTimeout(()=>{$('.top-bar-tool').removeAttr('style');$('.bottom-bar').removeAttr('style')},0)}function showtoolbar(){let t=ge('body.toolbar');if(t){$('body').removeClass('toolbar')}else{$('body').addClass('toolbar')}};document.addEventListener('click',showtoolbar);document.querySelectorAll('img[data-src]').forEach(e=>{e.src=e.dataset.src});",
"nextLink": "//a[text()='下一章']",
"pageElement": "#cp_img",
"replaceElement": ".bottom-bar,.toast-win,head>title",
"pageInit": "let ge=e=>doc.querySelector(e);let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/newImgs/)>-1).innerHTML;let imgData=eval(eval(code.trim().slice(4)).slice(12));let E=ge('#cp_img');let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();img.src=e;F.appendChild(img)});E.innerHTML='';E.appendChild(F);",
"pageAction": "let gae=e=>document.querySelectorAll(e);let c=gae('#cp_img');if(c.length>10){c[0].remove()}let p=gae('.pagetual_pageBar');if(p.length>10){p[0].remove()}setTimeout(()=>{let m=document.title.match(/([^_]+)_([^_]+)/);let t=document.querySelector('.top-title');t.innerText=m[1].replace('漫畫','')+'_'+m[2];$('.bottom-bar').removeAttr('style')},100);",
"preloadImages": "document.querySelector('#pagetual-preload').innerHTML='';let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/newImgs/)>-1).innerHTML;let imgSrcArr=eval(eval(code.trim().slice(4)).slice(12));return imgSrcArr",
"pageBarText": "let t=doc.querySelector('title');if(t)return t.innerText.match(/_(.+)_/)[1]"
},
{
"name": "Xmanhua - PC版閱讀",
"example": "https://xmanhua.com/m10344/",
"url": "^https?://(www\\.)?xmanhua\\.com/m\\d+(-p\\d+)?/",
"include": ".reader-bottom-page-list",
"pinUrl": true,
"init": "let ge=e=>document.querySelector(e);let loop=setInterval(()=>{let set=ge('#cp_img>img');if(set){clearInterval(loop);ge('#cp_img').innerHTML=ge('#cp_img>img').outerHTML;ge('#showimage').removeAttribute('style');}},100);function showtoolbar(){let t=ge('.header.toolbar');if(t){$('.header').removeClass('toolbar');$('.header').removeAttr('style')}else{$('.header').addClass('toolbar');$('.header').attr('style','top: -64px;')}let b=ge('.reader-bottom.toolbar');if(b){$('.reader-bottom').removeClass('toolbar');$('.reader-bottom').removeAttr('style')}else{$('.reader-bottom').addClass('toolbar');$('.reader-bottom').attr('style','bottom: -50px;')}};document.addEventListener('click',showtoolbar);function hidetoolbar(){var e=e||window.event;if(e.wheelDelta<0||e.detail>0){$('.header').addClass('toolbar');$('.header').attr('style','top: -64px;');$('.reader-bottom').addClass('toolbar');$('.reader-bottom').attr('style','bottom: -50px;')}else{$('.header').removeClass('toolbar');$('.header').removeAttr('style');$('.reader-bottom').removeClass('toolbar');$('.reader-bottom').removeAttr('style')}};document.addEventListener('wheel',hidetoolbar);document.addEventListener('DOMMouseScroll',hidetoolbar);function keyhidetoolbar(e){let key=window.event?e.keyCode:e.which;if(key=='34'||key=='32'||key=='40'){$('.header').addClass('toolbar');$('.header').attr('style','top: -64px;');$('.reader-bottom').addClass('toolbar');$('.reader-bottom').attr('style','bottom: -50px;')}else{$('.header').removeClass('toolbar');$('.header').removeAttr('style');$('.reader-bottom').removeClass('toolbar');$('.reader-bottom').removeAttr('style')}};document.addEventListener('keydown',keyhidetoolbar);",
"nextLinkByJs": "let m=doc.querySelector('.relative>a').innerText.match(/(\\d+)\\/(\\d+)/);let nc=doc.querySelector('img[src*=right-2]');if(m[1]!=m[2]){let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/XMANHUA_CURL/)>-1).innerHTML;let c=eval(code.match(/XMANHUA_CURL[^;]+/)[0]);let url=location.origin+c;let next=url.replace(/(-p\\d+)?\\/$/,'')+'-p'+(parseInt(m[1])+1)+'/';return next}else if(nc&&nc.parentNode){if(/javascript/.test(nc.parentNode.href)){return;}else{return nc.parentNode.href}}",
"pageElement": "#cp_img>img",
"replaceElement": ".container",
"pageAction": "let gae=e=>document.querySelectorAll(e);gae('.pagetual_pageBar>a').forEach(e=>{if(/-p\\d+\\/$/.test(e.href))e.parentNode.remove()});let ps=gae('.pagetual_pageBar');if(ps.length>4){ps[0].remove();let ds=gae('#cp_img>*');for(let i in ds){if(/pagetual/.test(ds[i].id)){break};ds[i].remove()}}",
"pageBarText": "let t=doc.querySelector('.reader-title>a:last-child');if(t)return t.innerText.trim()",
"rate": 5,
"css": ".container{width:auto!important}#cp_img img{width:auto!important;height:auto!important;max-width:100%!important;display:block!important;margin:0 auto !important}.reader-img-con{padding:64px 0 50px !important;}"
},
{
"name": "Mangabz - PC版閱讀",
"example": "https://www.mangabz.com/m38701/",
"url": "^https?://(www\\.)?mangabz\\.com/m\\d+(-p\\d+)?/",
"include": ".container",
"pinUrl": true,
"init": "let ge=e=>document.querySelector(e);let loop=setInterval(()=>{let set=ge('#cp_img>img');if(set){clearInterval(loop);ge('#cp_img').innerHTML=ge('#cp_img>img').outerHTML}},100);function hidetoolbar(){var e=e||window.event;if(e.wheelDelta<0||e.detail>0){$('.top-bar').attr('style','top: -74px;')}else{$('.top-bar').removeAttr('style')}};document.addEventListener('wheel',hidetoolbar);document.addEventListener('DOMMouseScroll',hidetoolbar);function keyhidetoolbar(e){let key=window.event?e.keyCode:e.which;if(key=='34'||key=='32'||key=='40'){$('.top-bar').attr('style','top: -74px;')}else{$('.top-bar').removeAttr('style')}};document.addEventListener('keydown',keyhidetoolbar);",
"nextLinkByJs": "let m=doc.querySelector('[class^=bottom-page]').innerText.match(/(\\d+)-(\\d+)/);let nc=doc.querySelector('img[src*=xiayizhang]');if(m[1]!=m[2]){let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/MANGABZ_CURL/)>-1).innerHTML;let c=eval(code.match(/MANGABZ_CURL[^;]+/)[0]);let url=location.origin+c;let next=url.replace(/(-p\\d+)?\\/$/,'')+'-p'+(parseInt(m[1])+1)+'/';return next}else if(nc&&nc.parentNode){if(/javascript/.test(nc.parentNode.href)){return;}else{return nc.parentNode.href}}",
"pageElement": "#cp_img>img",
"replaceElement": ".container",
"pageAction": "let gae=e=>document.querySelectorAll(e);gae('.pagetual_pageBar>a').forEach(e=>{if(/-p\\d+\\/$/.test(e.href))e.parentNode.remove()});let ps=gae('.pagetual_pageBar');if(ps.length>4){ps[0].remove();let ds=gae('#cp_img>*');for(let i in ds){if(/pagetual/.test(ds[i].id)){break};ds[i].remove()}}",
"pageBarText": "let t=doc.querySelector('.top-title');if(t)return t.innerText.trim()",
"rate": 5,
"css": "a[href^='j']{display:none!important}.container{width:auto!important}#cp_img img{width:auto!important;height:auto!important;max-width:100%!important;display:block!important;margin:0 auto !important}"
},
{
"name": "Mangabz / Xmanhua - 分類",
"example": "https://www.mangabz.com/manga-list-0-0-0/,https://xmanhua.com/manga-list-0-0-0/",
"url": "^https?://(www\\.)?(mangabz|xmanhua)\\.com/(manga-list|search)",
"nextLink": "//div[contains(@class,'page-pagination')]//a[contains(text(), '>')]",
"pageElement": "ul.mh-list",
"replaceElement": ".page-pagination",
"css": ".mh-list{padding-bottom:0px!important}.pagetual_pageBar+.mh-list{padding-top:10px!important}.pagetual_pageBar{margin-top:0px!important}"
},
{
"name": "风之动漫 - 閱讀",
"example": "https://manhua.fffdm.com/2/1040/,https://www.fffdm.com/manhua/132/222/",
"url": "^https?://(manhua|www)\\.fffdm\\.com/(manhua/)?\\d+/.+/",
"pinUrl": true,
"init": "let loop=setInterval(()=>{let mhpic=document.querySelector('#mhpic');if(mhpic&&mhpic.parentNode){let a=mhpic.parentNode;a.nextElementSibling.remove();a.outerHTML=a.innerHTML;clearInterval(loop)}},100);setTimeout(()=>{try{clearInterval(loop)}catch(e){}},5000)",
"nextLink": "//div[@class='navigation']/a[text()='下一页'][@href]",
"pageElement": "#mhpic",
"replaceElement": ".text-xl,.navigation",
"pageBar": 0,
"initRun": 1,
"autoLoadNum": "0",
"css": "#mhpic{border:none!important;padding:0!important;border-radius:0px!important;width:auto!important;height:auto!important;max-width:100%!important;display:block!important;margin:0 auto !important}#main>div>div:not([id]){display:none!important}"
},
{
"name": "動漫狂 - 手機版閱讀",
"example": "https://www.cartoonmad.com/m/comic/618700022010001.html",
"url": "^https?://www\\.cartoonmad\\.(cc|com)/m/comic/\\d+\\.html",
"history": 2,
"init": "let ge=e=>document.querySelector(e);let _src=ge('img[oncontextmenu]').src.match(/.+\\//)[0];let max=ge('.onpage').parentNode.lastElementChild.previousElementSibling.innerText;let F=new DocumentFragment();for(let i=1;i<=max;i++){let imgSrc;if(i<10){imgSrc=_src+'00'+i}else if(i<100){imgSrc=_src+'0'+i}else{imgSrc=_src+i}let img=new Image();img.className='PagetualImg';img.src=imgSrc;F.appendChild(img)};let E=ge('img[oncontextmenu]').parentNode.parentNode;E.innerHTML='';E.appendChild(F);",
"nextLinkByJs": "let lastPage=doc.querySelector('.onpage').parentNode.lastElementChild.previousElementSibling;let parseHTML=srt=>new DOMParser().parseFromString(srt,'text/html');return fetch(lastPage.href).then(res=>res.text()).then(async res=>{let fdoc=parseHTML(res);let ele=fdoc.querySelector('body>table>tbody>tr:nth-child(3)>td>a');return await fetch(ele.href).then(res=>res.text()).then(res=>{let ffdoc=parseHTML(res);let next=ffdoc.querySelector('.pages');if(next){return next.href}else{return null}})})",
"pageElement": "script[src*='/gpt.js']",
"insert": "body>table>tbody>tr:nth-child(3)>td",
"insertPos": 2,
"pageInit": "let ge=e=>doc.querySelector(e);let _src=ge('img[oncontextmenu]').src.match(/.+\\//)[0];let max=ge('.onpage').parentNode.lastElementChild.previousElementSibling.innerText;let F=new DocumentFragment();for(let i=1;i<=max;i++){let imgSrc;if(i<10){imgSrc=_src+'00'+i}else if(i<100){imgSrc=_src+'0'+i}else{imgSrc=_src+i}let img=new Image();img.className='PagetualImg';img.src=imgSrc;F.appendChild(img)};let E=document.querySelector('.PagetualImg').parentNode;E.appendChild(F);",
"pageAction": "let ps=document.querySelectorAll('.pagetual_pageBar');if(ps.length>10){ps[0].remove();let ds=document.querySelector('.PagetualImg').parentNode.querySelectorAll('*');for(let i in ds){if(/pagetual/.test(ds[i].id)){break};ds[i].remove()}};const fetchPicSrc=url=>{return fetch(url).then(res=>{return res.url})};document.querySelectorAll('img.PagetualImg[src*=file]').forEach(async(img)=>{img.src=await fetchPicSrc(img.src)})",
"preloadImages": "document.querySelector('#pagetual-preload').innerHTML='';let ge=e=>doc.querySelector(e);let _src=ge('img[oncontextmenu]').src.match(/.+\\//)[0];let max=ge('.onpage').parentNode.lastElementChild.previousElementSibling.innerText;let imgSrcArr=[];for(let i=1;i<=max;i++){let imgSrc;if(i<10){imgSrc=_src+'00'+i}else if(i<100){imgSrc=_src+'0'+i}else{imgSrc=_src+i}imgSrcArr.push(imgSrc)};return imgSrcArr",
"pageBarText": "let t=doc.querySelector('body>table>tbody>tr:nth-child(1)>td>table>tbody>tr>td:nth-child(2)>li>a:nth-child(3)');if(t)return t.innerText;",
"css": ".PagetualImg{max-width: 100% !important;display: block !important;margin: 0 auto !important;}body>table>tbody>tr:nth-child(5){display:none!important}"
},
{
"name": "動漫狂 - 閱讀",
"url": "^https?://www\\.cartoonmad\\.(cc|com)/comic/\\d+\\.html",
"example": "https://www.cartoonmad.com/comic/6187.html",
"history": 2,
"init": "document.onkeydown=null;let ge=e=>document.querySelector(e);let _src=ge('img[onload]').src.match(/.+\\//)[0];let max=document.querySelectorAll('option[value]').length;let E=ge('img[onload]').parentNode.parentNode;let F=new DocumentFragment();for(let i=1;i<=max;i++){let imgSrc;if(i<10){imgSrc=_src+'00'+i}else if(i<100){imgSrc=_src+'0'+i}else{imgSrc=_src+i}let img=new Image();img.className='PagetualImg';img.src=imgSrc;F.appendChild(img)};E.innerHTML='';E.appendChild(F);let p=ge('body>table>tbody>tr:nth-child(2)').cloneNode(true);let c=ge('body>table>tbody>tr:last-child');c.parentNode.insertBefore(p,c);",
"nextLink": "//a[img[@src='/image/rad.gif']]",
"pageElement": "//script[contains(text(),'top.')]",
"replaceElement": "head>title",
"insert": "//td[@align]//td",
"insertPos": 2,
"pageInit": "let docge=e=>doc.querySelector(e);let ge=e=>document.querySelector(e);let _src=docge('img[onload]').src.match(/.+\\//)[0];let max=doc.querySelectorAll('option[value]').length;let E=ge('.PagetualImg').parentNode;let F=new DocumentFragment();for(let i=1;i<=max;i++){let imgSrc;if(i<10){imgSrc=_src+'00'+i}else if(i<100){imgSrc=_src+'0'+i}else{imgSrc=_src+i}let img=new Image();img.className='PagetualImg';img.src=imgSrc;F.appendChild(img)};E.appendChild(F);let re=docge('body>table>tbody>tr:nth-child(2)').outerHTML;ge('body>table>tbody>tr:nth-child(2)').outerHTML=re;ge('body>table>tbody>tr:nth-child(6)').outerHTML=re;",
"pageAction": "let ps=document.querySelectorAll('.pagetual_pageBar');if(ps.length>10){ps[0].remove();let ds=document.querySelector('.PagetualImg').parentNode.querySelectorAll('*');for(let i in ds){if(/pagetual/.test(ds[i].id)){break};ds[i].remove()}};const fetchPicSrc=url=>{return fetch(url).then(res=>{return res.url})};document.querySelectorAll('img.PagetualImg[src*=file]').forEach(async(img)=>{img.src=await fetchPicSrc(img.src)})",
"preloadImages": "document.querySelector('#pagetual-preload').innerHTML='';let ge=e=>doc.querySelector(e);let _src=ge('img[onload]').src.match(/.+\\//)[0];let max=doc.querySelectorAll('option[value]').length;let imgSrcArr=[];for(let i=1;i<=max;i++){let imgSrc;if(i<10){imgSrc=_src+'00'+i}else if(i<100){imgSrc=_src+'0'+i}else{imgSrc=_src+i}imgSrcArr.push(imgSrc)};return imgSrcArr",
"pageBarText": "let t=doc.querySelector('b+a[style]');if(t)return t.innerText;",
"css": ".PagetualImg{max-width: 100% !important;display: block !important;margin: 0 auto !important;}td[valign='top'][width='160'],td[width='12'],select[name],body>table>tbody>tr:nth-child(5){display:none!important}"
},
{
"name": "動漫狂 - 分類",
"example": "https://www.cartoonmad.com/hotrank.html",
"url": "^https?://www\\.cartoonmad\\.(cc|com)/(hotrank|topcm|newcm|comic\\d+)(\\.\\d+)?\\.html",
"nextLink": "a.onpage+a",
"pageElement": "//table[tbody/tr/td/table/tbody/tr/td/a/span[@class='covers']]",
"replaceElement": "td[align='right']>table:last-child",
"css": ".pagetual_pageBar{margin-bottom:0px!important}"
},
{
"name": "漫画人 / dm5 動漫屋 / 極速漫畫 - 手機版 - 漫畫在新分頁打開",
"example": "https://m.dm5.com/",
"url": "^https?://(www\\.manhuaren|m\\.dm5|m\\.1kkk)\\.com/",
"exclude": [
"#cp_img",
"#tempc"
],
"init": "let openInNewTab=()=>document.querySelectorAll('.swiper-wrapper a:not([target=_blank]),.manga-list a:not([target=_blank]),.rank-list a:not([target=_blank])').forEach(a=>{a.setAttribute('target','_blank')});openInNewTab();new MutationObserver(()=>{openInNewTab()}).observe(document.body,{childList:true,subtree:true});"
},
{
"name": "漫画人 / dm5 動漫屋 / 極速漫畫 - 手機版閱讀",
"example": "https://www.manhuaren.com/manhua-list-s2/,https://www.manhuaren.com/m198122/,https://m.dm5.com/m1331307/,https://m.1kkk.com/ch1063-1331307/,https://m.1kkk.com/vol1-4761/",
"url": "^https?://(www|m)\\.(manhuaren|1kkk|dm5)\\.(com|cn)/(m|ch|vol|other)[-_0-9]+/$",
"exclude": ".view-paging",
"history": 2,
"pinUrl": true,
"init": "let ge=e=>document.querySelector(e);let loop=setInterval(()=>{let set=ge('#cp_img img');if(set){clearInterval(loop);let code=Array.from(document.scripts).find(s=>s.innerHTML.search(/newImgs/)>-1).innerHTML.slice(4,-1);let imgData=eval(eval(code).replace('var',''));let E=ge('#cp_img');let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();img.src=e;F.appendChild(img)});E.innerHTML='';E.appendChild(F)}},100)",
"nextLinkByJs": "let gx=x=>doc.evaluate(x,doc,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue;let next=gx(\"//ul[@class='view-bottom-bar']//a[text()='下一章' and not(contains(@href,'-end'))]\");if(next)return location.origin+next.href.split(\"'\")[1]",
"pageElement": "#cp_img",
"replaceElement": "head>title,.view-fix-top-bar-title,ul.view-bottom-bar,.view-fix-bottom-bar",
"pageInit": "let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/newImgs/)>-1).innerHTML.slice(4,-1);let imgData=eval(eval(code).replace('var',''));let E=doc.querySelector('#cp_img');let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();img.src=e;F.appendChild(img)});E.innerHTML='';E.appendChild(F);",
"pageAction": "let gae=e=>document.querySelectorAll(e);let cs=gae('#cp_img');let last=cs.length-1;cs[last].addEventListener('click',()=>{let t=document.querySelector('body.toolbar');if(t){$('body').removeClass('toolbar')}else{$('body').addClass('toolbar')}});let c=gae('#cp_img');if(c.length>10){c[0].remove()}let p=gae('.pagetual_pageBar');if(p.length>10){p[0].remove()}setTimeout(()=>{gae('a[href*=pushHistory]').forEach(a=>{a.href=a.href.split(\"'\")[1]})},300);",
"preloadImages": "document.querySelector('#pagetual-preload').innerHTML='';let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/newImgs/)>-1).innerHTML.slice(4,-1);let imgSrcArr=eval(eval(code).replace('var',''));return imgSrcArr",
"pageBarText": "let t=doc.querySelector('title');if(t)return t.innerText.match(/_([^_]+)/)[1]",
"css": ".view-bottom-bar>li:nth-child(n+2):nth-child(-n+3),.view-fix-bottom-bar>a:nth-child(2),.guide{display:none!important}.view-bottom-bar li{width:50%!important}.view-fix-bottom-bar>a{width:25%!important}"
},
{
"name": "極速漫畫 - PC版單行本閱讀",
"example": "https://www.1kkk.com/vol1-4761/",
"url": "^https?://(www|hk)\\.1kkk\\.com/vol[-_0-9]+/$",
"include": "#chapterpager",
"pinUrl": true,
"init": "let ge=e=>document.querySelector(e);let loop=setInterval(()=>{let set=ge('#cp_img img');if(set){clearInterval(loop);document.body.style.overflow='scroll';ge('#cp_img').innerHTML='';let pcData=async(page)=>{if(page>DM5_IMAGE_COUNT){return}if(!mkey){var mkey=''}let apiUrl=location.href+'chapterfun.ashx'+`?cid=${DM5_CID}&page=${page}&key=${mkey}&language=1>k=6&_cid=${DM5_CID}&_mid=${DM5_MID}&_dt=${DM5_VIEWSIGN_DT}&_sign=${DM5_VIEWSIGN}`;let res=await fetch(apiUrl);let resText=await res.text();let imgSrc=await eval(resText)[0];let img=new Image();img.src=imgSrc;ge('#cp_img').appendChild(img);page++;pcData(page)};pcData(1)}},100)",
"nextLink": "//a[text()='下一章']",
"manualMode": true,
"css": "a[href^='j'],.chapterpager,.view-comment{display:none!important}#cp_img>img{width:auto!important;height:auto!important;max-width:100%!important;display:block!important;margin:0 auto !important}.container{width:auto!important}"
},
{
"name": "dm5 動漫屋 / 極速漫畫 - PC版閱讀",
"example": "https://www.dm5.com/m1331307/,https://www.1kkk.com/ch1063-1331307/",
"url": "^https?://(www|tel|en|cnc)?\\.?(dm5|1kkk)\\.(com|cn)/(m|ch)[-_0-9]+/$",
"include": "#chapterpager",
"pinUrl": true,
"init": "let ge=(e)=>document.querySelector(e);let loop=setInterval(()=>{let set=ge('#cp_img>img');if(set){clearInterval(loop);ge('body').removeAttribute('style');ge('#cp_img').innerHTML=ge('#cp_img>img').outerHTML}},100);",
"nextLinkByJs": "let ge=(e)=>doc.querySelector(e);let gx=x=>doc.evaluate(x,doc,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue;let c=ge('.chapterpager>span.current').innerText;let m=ge('.chapterpager>*:last-child').innerText;let nc=gx(\"//a[text()='下一章']\");if(c!=m){let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/DM5_CURL/)>-1).innerHTML;let dc=eval(code.match(/DM5_CURL[^;]+/)[0]);let url=location.origin+dc;let next=url.replace(/(-p\\d+)?\\/$/,'')+'-p'+(parseInt(c)+1)+'/';return next}else if(nc){return nc.href}else{return null}",
"pageElement": "#cp_img>img",
"replaceElement": ".container",
"pageAction": "let gae=(e)=>document.querySelectorAll(e);gae('.pagetual_pageBar>a').forEach(e=>{if(/-p\\d+\\/$/.test(e.href))e.parentNode.remove()});let ps=gae('.pagetual_pageBar');if(ps.length>4){ps[0].remove();let ds=gae('#cp_img>*');for(let i in ds){if(/pagetual/.test(ds[i].id)){break};ds[i].remove()}}",
"pageBarText": "let t=doc.querySelector('.active');if(t)return t.innerText.trim()",
"rate": 10,
"css": "a[href^='j'],.chapterpager{display:none!important}#cp_img>img{width:auto!important;height:auto!important;max-width:100%!important;display:block!important;margin:0 auto !important}.container{width:auto!important}"
},
{
"name": "dm5 動漫屋 / 極速漫畫 - 分類",
"example": "https://www.dm5.com/manhua-list/,https://www.1kkk.com/manhua-list/",
"url": "^https?://(www|tel|en|cnc|hk)?\\.?(dm5|1kkk)\\.(com|cn)/manhua-([a-z]+/|list-area|list-tag|list-char)",
"init": "document.querySelectorAll('.cat-filter a').forEach(a=>{a.setAttribute('onclick','setTimeout(()=>{location.reload()}, 1000)')})",
"nextLink": "//a[text()=' > ']",
"pinUrl": true,
"pageElement": ".box-body",
"replaceElement": ".page-pagination"
},
{
"name": "無限動漫手機版 - 漫畫閱讀 - 雙擊下一集,鍵盤左右鍵上下集",
"example": "https://8.twobili.com/comic/insurance_15059.html?ch=1",
"url": "^https?://8\\.twobili\\.com/comic/insurance",
"pinUrl": true,
"init": "ge=e=>document.querySelector(e);function next(e){let key=window.event?e.keyCode:e.which;if(key==39){let n=ge('#nextvol:not([style])');if(n){n.click()}else{alert('沒有下一集了!')}}};document.addEventListener('keydown',next);function prev(e){let key=window.event?e.keyCode:e.which;if(key==37){let p=ge('#prevvol');if(ch==1){alert('沒有上一集了!')}else{p.click()}}};document.addEventListener('keydown',prev);function dcnext(e){let n=ge('#nextvol:not([style])');if(n){n.click()}else{alert('沒有下一集了!')}};document.addEventListener('dblclick',dcnext);let E=ge('#TheTable>ul>li');let F=new DocumentFragment();for(let i=1;i<=ps;i++){let imgSrc='//img'+ss(c,4,2)+'.8comic.com/'+ss(c,6,1)+'/'+ti+'/'+ss(c,0,4)+'/'+nn([i])+'_'+ss(c,mm([i])+10,3,f)+'.jpg';let img=new Image();img.src=imgSrc;F.appendChild(img)};E.innerHTML='';E.appendChild(F);let ul=ge('#TheTable>ul');let v1=ge('.view_tmenu').cloneNode(true);let v2=document.querySelectorAll('.view_menut')[1];ul.appendChild(v2);ul.appendChild(v1);let b1=ge('.book_inc_title');let b2=ge('.book_link_item');ul.appendChild(b1);ul.appendChild(b2);",
"nextLink": "0",
"css": ".pinch-zoom-container{height: auto!important; display: contents!important}#pagenum,[onclick^='j'],#pageindex,ico+a+.material-icons.right-logo{display:none!important}.view_menut a{width:33.3%!important;max-width:33.3%!important}"
},
{
"name": "無限動漫手機版 - 分類",
"example": "https://m.comicbus.com/category/update_comic-1.html",
"url": "^https?://m\\.comicbus\\.com/category/",
"nextLink": "//a[span/@class='mdi mdi-skip-next mdi-next-btn']",
"pageElement": "#list_dl",
"replaceElement": ".pager",
"css": ".pagetual_pageBar{margin-top:-1px!important;margin-bottom:5px!important}"
},
{
"name": "無限動漫 - 漫畫閱讀2 - 鍵盤左右鍵上下集",
"example": "https://www.comicabc.com/online/new-18722.html?ch=26",
"url": "^https?://www\\.comicabc\\.com/online/new-\\d+\\.html(\\?ch=\\d+(-\\d+)?)?$",
"init": "if(location.href.indexOf('ch=')==-1)location.href=location.href+'?ch=1';function ge(e){return document.querySelector(e)}function next(e){let key=window.event?e.keyCode:e.which;if(key==39){let n=ge('#nextvol:not([style])');if(n){n.click()}else{alert('沒有下一集了!')}}};document.addEventListener('keydown',next);function prev(e){let key=window.event?e.keyCode:e.which;if(key==37){let p=ge('#prevvol');if(location.href.match(/ch=(\\d+)/)[1]==1){alert('沒有上一集了!')}else{p.click()}}};document.addEventListener('keydown',prev);",
"nextLinkByUrl": [
"(ch=\\d+)(-(\\d+))?$",
"$1-{($3.0||1)+1}"
],
"stopSign": [
[
"#pagenum",
"(\\d+)"
],
[
"#pagenum",
"\\/(\\d+)"
]
],
"pageElement": "#TheImg",
"replaceElement": "#pagenum",
"css": "img[name='TheImg'] {max-width: 100% !important;display: block !important;margin: 0 auto !important;}#TheTable td:nth-child(1),#TheTable td:nth-child(3),.comment_block,#prevnext2,#prev,#next{display:none!important}",
"pageBar": 0,
"initRun": 1,
"autoLoadNum": "0"
},
{
"name": "無限動漫 - 漫畫閱讀 - 鍵盤左右鍵上下集",
"example": "https://www.comicabc.com/ReadComic/103/1/1_FU4_LD9_7.html",
"url": "^https?://www\\.comicabc\\.com/ReadComic/\\d+/\\d+/\\w+\\.html",
"init": "function ge(e){return document.querySelector(e)}function next(e){let key=window.event?e.keyCode:e.which;if(key==39){let n=ge('#nextvol:not([style])');if(n){n.click()}else{alert('沒有下一集了!')}}};document.addEventListener('keydown',next);function prev(e){let key=window.event?e.keyCode:e.which;if(key==37){let p=ge('#prevvol');if(location.pathname.split('/')[3]==1){alert('沒有上一集了!')}else{p.click()}}};document.addEventListener('keydown',prev);",
"nextLinkByUrl": [
"html(\\?p=(\\d+))?$",
"html?p={($2.0||1)+1}"
],
"stopSign": [
[
"#pagenum",
"(\\d+)"
],
[
"#pagenum",
"\\/(\\d+)"
]
],
"pageElement": "#TheImg",
"replaceElement": "#pagenum",
"css": "img[name='TheImg'] {max-width: 100% !important;display: block !important;margin: 0 auto !important;}#TheTable td:nth-child(1),#TheTable td:nth-child(3),.comment_block,#prevnext2,#prev,#next{display:none!important}",
"pageBar": 0,
"initRun": 1,
"autoLoadNum": "0"
},
{
"name": "無限動漫 - 動漫大全",
"example": "https://www.comicabc.com/list/all_all_all/",
"url": "^https?://www\\.comicabc\\.com/list/",
"nextLink": "//a[span/@class='mdi mdi-skip-next']",
"pageElement": ".default_row_width .row>.p-0",
"replaceElement": ".pager",
"css": ".pagetual_pageBar{margin-top:-14px!important}"
},
{
"name": "無限動漫 - 分類",
"example": "https://www.comicabc.com/comic/6-1.html",
"url": "^https?://www\\.comicabc\\.com/comic/[a-z0-9-]+\\.html",
"nextLink": "//a[span/@class='mdi mdi-skip-next']",
"pageElement": ".default_row_width>.p-0",
"replaceElement": ".pager",
"css": ".pagetual_pageBar{margin-top:-14px!important}"
},
{
"name": "無限動漫 - 圖庫原圖瀏覽",
"example": "https://www.comicabc.com/photo/p6038.html?n=1",
"url": "^https?://www\\.comicabc\\.com/photo/p\\d+\\.html\\?n=\\d+$",
"nextLinkByUrl": [
"(\\?n=(\\d+))$",
"?n={$2+1}",
"#next:not([style])"
],
"pageElement": "img[name='TheImg']",
"replaceElement": ".photo_main_div > div:nth-child(1)",
"pageBar": 0,
"initRun": 1,
"autoLoadNum": "0",
"css": "img[name='TheImg'] {max-width: 98% !important;display: block !important;margin: 0 auto !important;}"
},
{
"name": "無限動漫 - 圖庫清單載入大圖",
"example": "https://www.comicabc.com/photo/6041.html",
"url": "^https?://www\\.comicabc\\.com/photo/\\d+\\.html$",
"init": "document.querySelectorAll('#dl img').forEach(img=>{let f=img.src.replace('.jpe','.jpg');img.src=f})",
"pinUrl": true
},
{
"name": "無限動漫 - 圖庫",
"example": "https://www.comicabc.com/photo/1-1.html",
"url": "^https?://www\\.comicabc\\.com/photo/[0-9-]+\\.html$",
"nextLink": "//a[span/@class='mdi mdi-skip-next']",
"pageElement": ".photo_main_div .row",
"replaceElement": ".pager"
},
{
"name": "無限動漫 - 類別停止自動匹配",
"example": "https://www.comicabc.com/html/1/",
"url": "^https?://www\\.comicabc\\.com/html/\\d+/$",
"nextLink": "0"
},
{
"name": "砂之船动漫家 / 361中文漫画 - 手機版閱讀",
"example": "https://www.szcdmj.com/szcchapter/736400,https://www.361zw.com/361zwchapter/318949",
"url": "^https?://www\\.(szcdmj|361zw)\\.com/\\w{3,5}chapter/\\d+(\\?page=\\d+)?",
"include": ".view-bottom-bar",
"history": 2,
"pinUrl": true,
"nextLink": "//a[@href][text()='下一页' or text()='下一话']",
"pageElement": "#cp_img>img",
"replaceElement": ".view-bottom-bar,.view-fix-top-bar,.view-fix-bottom-bar",
"pageAction": "let gae=e=>document.querySelectorAll(e);gae('.pagetual_pageBar>a').forEach(e=>{if(/page=/.test(e.href))e.parentNode.remove()});let ps=gae('.pagetual_pageBar');if(ps.length>4){ps[0].remove();let ds=gae('#cp_img>*');for(let i in ds){if(/pagetual/.test(ds[i].id)){break};ds[i].remove()}}",
"pageBarText": "let t=doc.querySelector('.view-fix-top-bar-title');if(t)return t.innerText",
"css": ".view-bottom-bar>li:nth-child(n+3):nth-child(-n+4),.view-fix-bottom-bar-item:nth-child(n+4):nth-child(-n+5){display:none!important}.view-fix-bottom-bar-item,.view-bottom-bar>li{width:33.33%!important}"
},
{
"name": "砂之船动漫家 / 361中文漫画 / 土豪漫画 - PC版閱讀",
"example": "https://www.szcdmj.com/szcchapter/736400,https://www.361zw.com/361zwchapter/318168,https://7hxy.com/chapter/968191?page=8&id=968191",
"url": "^https?://(www\\.)?(szcdmj|361zw|7hxy)\\.com/\\w{0,5}chapter/\\d+",
"include": ".read-section",
"history": 2,
"pinUrl": true,
"nextLink": "//a[@href][text()='下一页' or text()='下一话' or text()='下一章']",
"pageElement": ".comiclist>.comicpage",
"replaceElement": ".fanye",
"pageAction": "let gae=e=>document.querySelectorAll(e);gae('.pagetual_pageBar>a').forEach(e=>{if(/page=/.test(e.href))e.parentNode.remove()});let ps=gae('.pagetual_pageBar');if(ps.length>4){ps[0].remove();let ds=gae('.comiclist>*');for(let i in ds){if(/pagetual/.test(ds[i].id)){break};ds[i].remove()}}",
"pageBarText": "let t=doc.querySelector('.title');if(t)return t.innerText.match(/\\s(.+)/)[1]",
"css": ".comiclist img{width:auto!important;height:auto!important;max-width:100%!important;display:block!important;margin:0 auto !important}"
},
{
"name": "砂之船动漫家 / 361中文漫画 - 分類",
"example": "https://www.szcdmj.com/szcbolist",
"url": "^https?://www\\.(szcdmj|361zw)\\.com/(szcbolist|booklist)",
"nextLink": "#nextPage,a[title='下一页'],li.active+li>a",
"pageElement": ".mh-list,.manga-list>ul",
"replaceElement": ".pagination",
"pageAction": "document.querySelectorAll('.mh-cover').forEach(e=>{e.style=e.getAttribute('style')})",
"css": ".mh-list+.pagetual_pageBar{margin-top:20px!important}.manga-list-2-cover-img{opacity: 1!important}"
},
{
"name": "生辰漫画网 - 手機版閱讀",
"example": "https://m.chashengchen.com/manhua/xianziniyoudaxiongzhizhao/2867318.html",
"url": "^https?://m\\.chashengchen\\.com/manhua/\\w+/\\d+\\.html",
"action": 1,
"init": "let ge=e=>document.querySelector(e);let F=new DocumentFragment();document.querySelectorAll('#image,.scroll-item img').forEach(e=>{let img=new Image();if(e.dataset.src){img.src=e.dataset.src}else{img.src=e.src}F.appendChild(img)});let E=ge('#scroll-image');E.innerHTML='';E.appendChild(F);ge('.erPag').remove();",
"nextLink": "//a[text()='下一章' and contains(@href,'html')]",
"pageElement": "#scroll-image",
"replaceElement": "head>title,h1,#action",
"pageInit": "let F=new DocumentFragment();doc.querySelectorAll('#image,.scroll-item img').forEach(e=>{let img=new Image();if(e.dataset.src){img.src=e.dataset.src}else{img.src=e.src}F.appendChild(img)});let E=doc.querySelector('#scroll-image');E.innerHTML='';E.appendChild(F);",
"pageAction": "let gae=e=>document.querySelectorAll(e);let c=gae('#scroll-image');if(c.length>10){c[0].remove()}let p=gae('.pagetual_pageBar');if(p.length>10){p[0].remove()}",
"pageBarText": "let t=doc.querySelector('h1>span');if(t)return t.innerText.replace(/[^>]+>/,'')",
"css": ".action-list li{width:50%!important}.right,#action>ul>li:nth-child(n+2):nth-child(-n+3),.UnderPage+div+script+div[id]{display:none!important}"
},
{
"name": "漫画连 - 閱讀",
"example": "https://www.100mhl.com/manhua/yuanlaiwoshixianjiezhizun/1268523.html",
"url": "^https?://www\\.100mhl\\.com/manhua/\\w+/\\d+\\.html",
"pinUrl": true,
"history": 2,
"init": "let ge=e=>document.querySelector(e);let code=Array.from(document.scripts).find(s=>s.innerHTML.search(/chapterImages/)>-1).innerHTML;let imgData=eval(code.match(/chapterImages[^;]+/)[0]);let E=ge('#imagesOld');let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();if(e.indexOf('http')!=-1){img.src=e}else{img.src=SinConf.resHost[0].domain+e}F.appendChild(img)});E.innerHTML='';E.appendChild(F);$('head').append('<style>#tbCenter>#imagesOld:nth-child(1)>img:nth-child('+imgData.length+')~* {display:none!important}</style>')",
"nextLinkByJs": "let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/nextChapterData/)>-1).innerHTML;let next=eval(code.match(/nextChapterData[^;]+/)[0]);if(next.id>0)return next.url",
"pageElement": "#imagesOld",
"replaceElement": "head>title,h1",
"pageInit": "let ge=e=>doc.querySelector(e);let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/chapterImages/)>-1).innerHTML;let imgData=eval(code.match(/chapterImages[^;]+/)[0]);let E=ge('#imagesOld');let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();if(e.indexOf('http')!=-1){img.src=e}else{img.src=SinConf.resHost[0].domain+e}F.appendChild(img)});E.innerHTML='';E.appendChild(F);",
"pageAction": "let gae=e=>document.querySelectorAll(e);let c=gae('#images');if(c.length>10){c[0].remove()}let p=gae('.pagetual_pageBar');if(p.length>10){p[0].remove()}",
"pageBarText": "let t=doc.querySelector('h1');if(t)return t.innerHTML.replace(/\\s<.+>/,'')",
"css": ".nav-pagination,.img_land_prev,.img_land_next,#page_select,.img_info,.title.pr>em:nth-child(5),.title.pr>span,.img_info{display:none!important}#imagesOld>img{max-width: 100% !important;display: block !important;margin: 0 auto -2px auto !important;border:0px!important;padding:0px!important;}.w996,.tbCenter{width:auto!important}"
},
{
"name": "生辰漫画网 / 奇妙漫画 - 閱讀",
"example": "https://www.chashengchen.com/manhua/xianziniyoudaxiongzhizhao/2867318.html",
"url": "^https?://www\\.(chashengchen|qmiaomh)\\.com/manhua/\\w+/\\d+\\.html",
"pinUrl": true,
"history": 2,
"init": "let ge=e=>document.querySelector(e);let code=Array.from(document.scripts).find(s=>s.innerHTML.search(/chapterImages/)>-1).innerHTML;let imgData=eval(code.match(/chapterImages[^;]+/)[0]);let E=ge('#images');let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();if(e.indexOf('http')!=-1){img.src=e}else{img.src=SinConf.resHost[0].domain+e}F.appendChild(img)});E.innerHTML='';E.appendChild(F);$('head').append('<style>#tbCenter>#images:nth-child(1)>img:nth-child('+imgData.length+')~* {display:none!important}</style>')",
"nextLinkByJs": "let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/nextChapterData/)>-1).innerHTML;let next=eval(code.match(/nextChapterData[^;]+/)[0]);if(next.id>0)return next.url",
"pageElement": "#images",
"replaceElement": "head>title,h1",
"pageInit": "let ge=e=>doc.querySelector(e);let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/chapterImages/)>-1).innerHTML;let imgData=eval(code.match(/chapterImages[^;]+/)[0]);let E=ge('#images');let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();if(e.indexOf('http')!=-1){img.src=e}else{img.src=SinConf.resHost[0].domain+e}F.appendChild(img)});E.innerHTML='';E.appendChild(F);",
"pageAction": "let gae=e=>document.querySelectorAll(e);let c=gae('#images');if(c.length>10){c[0].remove()}let p=gae('.pagetual_pageBar');if(p.length>10){p[0].remove()}",
"preloadImages": "document.querySelector('#pagetual-preload').innerHTML='';let ge=e=>doc.querySelector(e);let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/chapterImages/)>-1).innerHTML;let imgData=eval(code.match(/chapterImages[^;]+/)[0]);let imgSrcArr=[];imgData.forEach(e=>{let imgSrc;if(e.indexOf('http')!=-1){imgSrc=e}else{imgSrc=SinConf.resHost[0].domain+e}imgSrcArr.push(imgSrc)});return imgSrcArr",
"pageBarText": "let t=doc.querySelector('h1');if(t)return t.innerHTML.replace(/\\s<.+>/,'')",
"css": ".nav-pagination,.img_land_prev,.img_land_next,#page_select,.img_info,.title.pr>em:nth-child(5),.title.pr>span,.img_info{display:none!important}#images>img{max-width: 100% !important;display: block !important;margin: 0 auto -2px auto !important;border:0px!important;padding:0px!important;}.w996,.tbCenter{width:auto!important}"
},
{
"name": "来漫画 - 手機版閱讀",
"example": "https://m.laimanhua.net/kanmanhua/kaijujiangliyiyitiaoming/1684241122.html",
"url": "^https?://m\\.laimanhua\\.net/kanmanhua/\\w+/\\d+\\.html",
"pinUrl": true,
"history": 2,
"init": "let ge=e=>document.querySelector(e);let code=Array.from(document.scripts).find(s=>s.innerHTML.search(/mhInfo/)>-1).innerHTML;let json=eval(code.match(/mhInfo[^;]+/)[0]);let E=ge('#manga');let F=new DocumentFragment();json.images.forEach(e=>{let img=new Image();img.src=realurl+json.path+e;F.appendChild(img)});E.innerHTML='';E.appendChild(F);",
"nextLinkByJs": "let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/mhInfo/)>-1).innerHTML;let json=eval(code.match(/mhInfo[^;]+/)[0]);let next=json.nextUrlid;if(next>0)return location.href.replace(/\\d+\\.html$/,'')+next+'.html';",
"pageElement": "#manga",
"replaceElement": "head>title,#mangaTitle",
"pageInit": "let ge=e=>doc.querySelector(e);let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/mhInfo/)>-1).innerHTML;let json=eval(code.match(/mhInfo[^;]+/)[0]);let E=ge('#manga');let F=new DocumentFragment();json.images.forEach(e=>{let img=new Image();img.src=realurl+json.path+e;F.appendChild(img)});E.innerHTML='';E.appendChild(F);",
"pageAction": "let gae=e=>document.querySelectorAll(e);let c=gae('#manga');if(c.length>10){c[0].remove()}let p=gae('.pagetual_pageBar');if(p.length>10){p[0].remove()}",
"preloadImages": "document.querySelector('#pagetual-preload').innerHTML='';let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/mhInfo/)>-1).innerHTML;let json=eval(code.match(/mhInfo[^;]+/)[0]);let imgSrcArr=[];json.images.forEach(e=>{let imgSrc=realurl+json.path+e;imgSrcArr.push(imgSrc)});return imgSrcArr",
"pageBarText": "let t=doc.querySelector('#mangaTitle');if(t)return t.innerHTML.replace(/.+<.+>/g,'').trim()",
"css": ".action-list li{width:50%!important}#action>ul>li:nth-child(n+2):nth-child(-n+3),.manga-page,[id^='jusha']{display:none!important}.manga-box img{border-top:0px!important;border-bottom:0px!important}"
},
{
"name": "来漫画 - 閱讀",
"example": "https://www.laimanhua.net/kanmanhua/kaijujiangliyiyitiaoming/1684241122.html",
"url": "^https?://www\\.laimanhua\\.net/kanmanhua/\\w+/\\d+\\.html",
"pinUrl": true,
"history": 2,
"init": "let ge=e=>document.querySelector(e);let code=Array.from(document.scripts).find(s=>s.innerHTML.search(/picTree/)>-1).innerHTML;let base64=eval(code.match(/picTree[^;]+/)[0]);let imgData=base64_decode(base64).split('$qingtiandy$');let host=getpicdamin();let E=ge('#pic-list');let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();img.src=encodeURI(host+e);F.appendChild(img)});E.innerHTML='';E.appendChild(F);$('head').append('<style>.loading-box+#pic-list>img:nth-child('+imgData.length+')~* {display:none!important}</style>')",
"nextLinkByJs": "let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/nextUrlid/)>-1).innerHTML;let next=eval(code.match(/nextUrlid[^,]+/)[0]);if(next>0)return location.href.replace(/\\d+\\.html$/,'')+next+'.html'",
"pageElement": "#pic-list",
"replaceElement": "head>title,h1,#position>b",
"pageInit": "let ge=e=>doc.querySelector(e);let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/picTree/)>-1).innerHTML;let base64=eval(code.match(/picTree[^;]+/)[0]);let imgData=base64_decode(base64).split('$qingtiandy$');let host=getpicdamin();let E=ge('#pic-list');let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();img.src=encodeURI(host+e);F.appendChild(img)});E.innerHTML='';E.appendChild(F);",
"pageAction": "let gae=e=>document.querySelectorAll(e);let c=gae('#pic-list');if(c.length>10){c[0].remove()}let p=gae('.pagetual_pageBar');if(p.length>10){p[0].remove()}",
"preloadImages": "document.querySelector('#pagetual-preload').innerHTML='';let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/picTree/)>-1).innerHTML;let base64=eval(code.match(/picTree[^;]+/)[0]);let imgData=base64_decode(base64).split('$qingtiandy$');let host=getpicdamin();let imgSrcArr=[];imgData.forEach(e=>{let imgSrc=encodeURI(host+e);imgSrcArr.push(imgSrc)});return imgSrcArr",
"pageBarText": "let t=doc.querySelector('#position>b');if(t)return t.innerText",
"css": ".img_info{display:none!important}#pic-list>img{max-width: 100% !important;display: block !important;margin: 0 auto -2px auto !important;border:0px!important;padding:0px!important;}.w996,.tbCenter{width:auto!important}.pagetual_pageBar+.img-box{margin-top:0px!important}"
},
{
"name": "漫画吧 / 漫画连 - 手機版閱讀",
"example": "https://m.dmhua8.com/manhua/shengnvyintaiguowanmeibugoukeaierbeifeichuhunyuebingmaidaolinguo/966591.html",
"url": "^https?://m\\.(d?mhua8|100mhl)\\.com/manhua/[a-z]+/\\d+\\.html",
"init": "let gae=e=>document.querySelectorAll(e);let Imgs=gae('#images')[0];let Img=gae('img[alt]');let _img='';for(let i=0;i<Img.length;i++){_img+=Img[i].outerHTML}Imgs.innerHTML=_img;",
"action": 1,
"wait": "let img=doc.querySelector('#images img[alt]');return img!=null",
"nextLinkByJs": "let n=doc.querySelector('.action-list li:nth-child(3)>a');if(/html$/.test(n.href))return n.href",
"pageElement": "#images img[alt]",
"replaceElement": "head>title,.BarTit,#action",
"pageAction": "let gae=e=>document.querySelectorAll(e);gae('.pagetual_pageBar>a').forEach(e=>{if(/-\\d+\\.html$/.test(e.href))e.parentNode.remove()});let ps=gae('.pagetual_pageBar');if(ps.length>9){ps[0].remove();let ds=document.querySelectorAll('#images>*');for(let i=0;i<ds.length;i++){if(/pagetual/.test(ds[i].id)){break};ds[i].remove()}}",
"pageBarText": "let t=doc.querySelector('.BarTit');if(t)return t.innerText;",
"rate": 10,
"css": "#images~[id]:not(.control_bottom){display:none!important}#images img{margin:0 auto!important}"
},
{
"name": "漫画吧 - 閱讀",
"example": "https://www.dmhua8.com/manhua/shengnvyintaiguowanmeibugoukeaierbeifeichuhunyuebingmaidaolinguo/966404.html",
"url": "^https?://www\\.d?mhua8\\.com/manhua/\\w+/\\d+\\.html",
"pinUrl": true,
"autoClick": "#chapter-scroll:not(.active)",
"history": 2,
"init": "let ge=e=>document.querySelector(e);let E=ge('#images');let F=new DocumentFragment();chapterImages.forEach(e=>{let img=new Image();img.src=e;F.appendChild(img)});E.innerHTML='';E.appendChild(F);let style=document.createElement('style');style.innerHTML='#tbCenter>#images:nth-child(1)>img:nth-child('+chapterImages.length+')~*{display: none!important}';ge('head').appendChild(style);",
"nextLinkByJs": "let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/nextChapterData/)>-1).innerHTML;let next=eval(code.match(/nextChapterData[^;]+/)[0]);if(next.id>0)return next.url",
"pageElement": "#images",
"replaceElement": "head>title,h2",
"pageInit": "let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/chapterImages/)>-1).innerHTML;let imgData=eval(code.match(/chapterImages[^;]+/)[0]);let E=doc.querySelector('#images');let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();img.src=e;F.appendChild(img)});E.innerHTML='';E.appendChild(F);",
"pageAction": "let gae=e=>document.querySelectorAll(e);let c=gae('#images');if(c.length>10){c[0].remove()}let p=gae('.pagetual_pageBar');if(p.length>10){p[0].remove()}",
"pageBarText": "let t=doc.querySelector('h2');if(t)return t.innerText",
"css": "#images>img{max-width: 100% !important;display: block !important;margin: 0 auto -2px auto !important;border:0px!important;padding:0px!important;}.w996,.tbCenter{width:auto!important}.img_info{display:none!important}"
},
{
"name": "85漫画网手機版 - 漫畫閱讀",
"example": "https://m.85iu.com/manhua/mofaxueyuandeweizhuangjiaoshi/2740936.html",
"url": "^https?://m\\.85iu\\.com/manhua/\\w+/\\d+\\.html",
"pinUrl": true,
"init": "let Imgs=document.querySelector('.erPag');let Img=document.querySelector('.erPag img');Imgs.innerHTML=Img.outerHTML;",
"nextLink": "//a[text()='下一页' and contains(@href,'html')]",
"pageElement": ".erPag img",
"replaceElement": "head>title,h1,#action",
"pageAction": "let gae=e=>document.querySelectorAll(e);gae('.pagetual_pageBar>a').forEach(e=>{if(/-\\d+\\.html$/.test(e.href))e.parentNode.remove()});let ps=gae('.pagetual_pageBar');if(ps.length>4){ps[0].remove();let ds=gae('.erPag>*');for(let i in ds){if(/pagetual/.test(ds[i].id)){break};ds[i].remove()}}",
"pageBarText": "let t=doc.querySelector('h1>span');if(t)return t.innerText.replace(/[^>]+>/,'')",
"rate": 10,
"css": ".right{display:none!important}"
},
{
"name": "xlsmh下拉式漫画 / 奇妙漫画 - 手機版閱讀",
"example": "https://m.xlsmh.com/manhua/wodetexingnengwuxianchengzhang/1308826.html",
"url": "^https?://m\\.(xlsmh|qmiaomh)\\.com/manhua/\\w+/\\d+\\.html",
"pinUrl": true,
"history": 2,
"action": 1,
"init": "let ge=e=>document.querySelector(e);let F=new DocumentFragment();document.querySelectorAll('#image,.scroll-item img').forEach(e=>{let img=new Image();if(e.dataset.src){img.src=e.dataset.src}else{img.src=e.src}F.appendChild(img)});let E=ge('#scroll-image');E.innerHTML='';E.appendChild(F);ge('#images').remove();",
"nextLink": "//a[contains(text(),'下一章') and contains(@href,'html')]",
"pageElement": "#scroll-image",
"replaceElement": "head>title,h1,.letchepter",
"pageInit": "let F=new DocumentFragment();doc.querySelectorAll('#image,.scroll-item img').forEach(e=>{let img=new Image();if(e.dataset.src){img.src=e.dataset.src}else{img.src=e.src}F.appendChild(img)});let E=doc.querySelector('#scroll-image');E.innerHTML='';E.appendChild(F);",
"pageAction": "let gae=e=>document.querySelectorAll(e);let c=gae('#scroll-image');if(c.length>10){c[0].remove()}let p=gae('.pagetual_pageBar');if(p.length>10){p[0].remove()}",
"pageBarText": "let t=doc.querySelector('h1>span');if(t)return t.innerText.replace(/[^>]+>/,'')",
"css": ".right,.letchepter+p,.action-list{display:none!important}"
},
{
"name": "xlsmh下拉式漫画 / 85漫画网 - 閱讀",
"example": "https://www.xlsmh.com/manhua/wodetexingnengwuxianchengzhang/1308826.html,https://www.85iu.com/manhua/mofaxueyuandeweizhuangjiaoshi/2740936.html",
"url": "^https?://www\\.(xlsmh|85iu)\\.com/manhua/\\w+/\\d+\\.?\\.html",
"pinUrl": true,
"history": 2,
"init": "let ge=e=>document.querySelector(e);let E=ge('#images');let F=new DocumentFragment();chapterImages.forEach(e=>{let img=new Image();img.src=e;F.appendChild(img)});E.innerHTML='';E.appendChild(F);let style=document.createElement('style');style.innerHTML='#tbCenter>#images:nth-child(1)>img:nth-child('+chapterImages.length+')~*{display: none!important}';ge('head').appendChild(style);",
"nextLinkByJs": "let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/nextChapterData/)>-1).innerHTML;let next=eval(code.match(/nextChapterData[^;]+/)[0]);if(next.id>0)return next.url",
"pageElement": "#images",
"replaceElement": "head>title,h1",
"pageInit": "let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/chapterImages/)>-1).innerHTML;let imgData=eval(code.match(/chapterImages[^;]+/)[0]);let E=doc.querySelector('#images');let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();img.src=e;F.appendChild(img)});E.innerHTML='';E.appendChild(F);",
"pageAction": "let gae=e=>document.querySelectorAll(e);let c=gae('#images');if(c.length>10){c[0].remove()}let p=gae('.pagetual_pageBar');if(p.length>10){p[0].remove()}",
"preloadImages": "document.querySelector('#pagetual-preload').innerHTML='';let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/chapterImages/)>-1).innerHTML;let imgSrcArr=eval(code.match(/chapterImages[^;]+/)[0]);return imgSrcArr",
"pageBarText": "let t=doc.querySelector('h1');if(t)return t.innerHTML.match(/\\S+([^<]+)<.+>/)[1]",
"css": ".nav-pagination,.img_land_prev,.img_land_next,#page_select,.img_info,.title.pr>em:nth-child(5),.title.pr>span,.img_info{display:none!important}#images>img{max-width: 100% !important;display: block !important;margin: 0 auto -2px auto !important;border:0px!important;padding:0px!important;}.w996,.tbCenter{width:auto!important}"
},
{
"name": "爱米推漫画 / 蔷薇漫画 - 手機版閱讀",
"example": "https://m.imitui.com/manhua/yuanzun/3683.html,https://m.qwmanhua.com/manhua/woshenmeshihouwudile/1239188.html",
"url": "^https?://m\\.(imitui|qwmanhua)\\.com/manhua/\\w+/\\d+\\.html",
"action": 1,
"init": "let code=Array.from(document.scripts).find(s=>s.innerHTML.search(/nextChapterData/)>-1).innerHTML;let next=eval(code.match(/nextChapterData[^;]+/)[0]);let prev=eval(code.match(/prevChapterData[^;]+/)[0]);document.querySelectorAll('.comic-panel a:last-child').forEach(e=>{e.removeAttribute('onclick');if(next.id>0){e.href=next.url}else{e.href='';e.innerText='無下一章'}});document.querySelectorAll('.comic-panel a:first-child').forEach(e=>{e.removeAttribute('onclick');if(prev.id>0)e.href=prev.url});let ge=e=>document.querySelector(e);let F=new DocumentFragment();document.querySelectorAll('#image,.scroll-item img').forEach(e=>{let img=new Image();if(e.dataset.src){img.src=e.dataset.src}else{img.src=e.src}F.appendChild(img)});let E=ge('#scroll-image');E.innerHTML='';E.appendChild(F);ge('#images').remove();",
"nextLinkByJs": "let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/nextChapterData/)>-1).innerHTML;let next=eval(code.match(/nextChapterData[^;]+/)[0]);if(next.id>0)return next.url",
"pageElement": "#scroll-image",
"replaceElement": "head>title,h1,.BarTit",
"pageInit": "let F=new DocumentFragment();doc.querySelectorAll('#image,.scroll-item img').forEach(e=>{let img=new Image();if(e.dataset.src){img.src=e.dataset.src}else{img.src=e.src}F.appendChild(img)});let E=doc.querySelector('#scroll-image');E.innerHTML='';E.appendChild(F);let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/nextChapterData/)>-1).innerHTML;let next=eval(code.match(/nextChapterData[^;]+/)[0]);let prev=eval(code.match(/prevChapterData[^;]+/)[0]);document.querySelectorAll('.comic-panel a:last-child').forEach(e=>{if(next.id>0){e.href=next.url}else{e.href='';e.innerText='無下一章'}});document.querySelectorAll('.comic-panel a:first-child').forEach(e=>{if(prev.id>0)e.href=prev.url});",
"pageAction": "let gae=e=>document.querySelectorAll(e);let c=gae('#scroll-image');if(c.length>10){c[0].remove()}let p=gae('.pagetual_pageBar');if(p.length>10){p[0].remove()}",
"pageBarText": "let t=doc.querySelector('.BarTit');if(t)return t.innerText;",
"css": ".nav+div{display:none!important}#scroll-image img{width:auto!important;height:auto!important;max-width:100%!important;display:block!important;margin:0 auto !important}"
},
{
"name": "漫画芯 / 最漫画 - 手機版閱讀",
"example": "https://m.mhxin.com/manhua/douluodalu/631505.html,https://m.zuimh.com/manhua/douluodalu/314222.html",
"url": "^https?://m\\.(mhxin|zuimh)\\.com/manhua/[a-z]+/\\d+\\.html",
"init": "let a=document.querySelector('#images a');a.outerHTML=a.innerHTML;",
"nextLinkByJs": "let ge=e=>doc.querySelector(e);let m=ge('.image-content>p:last-child').innerText.match(/(\\d+)\\/(\\d+)/);let np=ge('.action-list li:nth-child(3)>a');let nc=ge('.action-list li:nth-child(4)>a');if(m[1]!=m[2]){return np.href}else if(/html$/.test(nc.href)){return nc.href}",
"pinUrl": true,
"pageElement": "#images img[id]",
"replaceElement": ".image-content>p:last-child",
"pageAction": "let gae=e=>document.querySelectorAll(e);gae('.pagetual_pageBar>a').forEach(e=>{if(/-\\d+\\.html$/.test(e.href))e.parentNode.remove()});let ps=gae('.pagetual_pageBar');if(ps.length>5){ps[0].remove();let ds=document.querySelector('#images img[id]').parentNode.querySelectorAll('*');for(let i=0;i<ds.length;i++){if(/pagetual/.test(ds[i].id)){break};ds[i].remove()}}",
"pageBarText": "let t=doc.querySelector('.BarTit');if(t)return t.innerText",