-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.html
4512 lines (4212 loc) · 202 KB
/
index.html
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
<!DOCTYPE html>
<html>
<head>
<title>M3U 超融合</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body {
font-family: Arial, sans-serif;
background-color: #057748;
color: aliceblue;
}
.button, .addNewSubscriber, .saveButtonClassName, .deleteButtonClassName,
.save-m3u-button, .delete-m3u-button, .changePasswordButtonClassName, .saveButtonClassName2, .deleteButtonClassName2,
#simply, #proxy-model-switch, .toggletext, #proxy-model-switch2 {
padding: 10px 20px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
margin-bottom: 5px;
margin-top: 5px;
float: right
}
.button:hover {
background-color: #3e8e41;
}
.saveButtonClassName, .deleteButtonClassName,
.save-m3u-button, .delete-m3u-button, #simply {
margin-right: 5px;
width: 45%
}
.saveButtonClassName2, .deleteButtonClassName2 {
margin-right: 3px;
width: 29%
}
.changePasswordButtonClassName {
margin-right: 3px;
width: 38%
}
.suburlclassname {
width: 70%;
background-color: #758a99;
color: aliceblue;
font-size: x-large;
}
.suburlclassname2 {
width: 60%;
background-color: #758a99;
color: aliceblue;
font-size: x-large;
}
.subnameClassName2 {
width: 15%;
background-color: #758a99;
color: aliceblue;
font-size: x-large;
}
.passwordClassName2 {
width: 15%;
background-color: #758a99;
color: aliceblue;
font-size: x-large;
}
.stubboninput {
width: 76%;
background-color: #758a99;
color: aliceblue;
font-size: x-large;
border-radius: 5px;
text-align: right;
padding-top: 20px;
padding-bottom: 20px;
}
.stubbonsave {
padding: 20px 30px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
float: right;
margin-left: 15px;
}
.subnameClassName,.submit-m3u-group {
width: 20%;
background-color: #758a99;
color: aliceblue;
font-size: x-large;
}
.subm3uUrl, .subm3uname {
width: 100%;
background-color: #758a99;
color: aliceblue;
font-size: x-large;
}
.suburlclassname, .subnameClassName, .saveButtonClassName, .deleteButtonClassName, .stepflag,
.notice, #upload-m3u, .changePasswordButtonClassName, .suburlclassname2, .subnameClassName2,
.passwordClassName2, .saveButtonClassName2, .deleteButtonClassName2,
#sub-m3u, #generatepass, #savem3uareas, .save-m3u-button, .delete-m3u-button, #upload-m3u-btn,
#download-m3u-btn, #remove-m3u-btn, #remove-m3u-btn,.submit-m3u-file,
.uploadjsonbtn,.submit-m3u-group-sub,
#simply, .download-json-btn, .dropdown, #proxy-model-switch, #proxy-model-switch2, .dropdown2, .stubbonsave, .removeallSubscriber, .addNewSubscriber {
font-size: x-large;
}
#upload-m3u, #sub-m3u, #generatepass, #savem3uareas, #upload-m3u-btn, #download-m3u-btn, #remove-m3u-btn, #remove-m3u-btn,
#simply, .uploadjsonbtn, .removeallSubscriber ,.submit-m3u-group,.submit-m3u-file,.submit-m3u-group-sub{
float: right;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
margin-bottom: 5px;
margin-top: 5px;
}
.deleteButtonClassName, .deleteButtonClassName2 {
background-color: crimson;
}
#remove-m3u-btn, .removeallSubscriber {
background-color: crimson;
float: right;
width: 25%;
}
#input, #output, #input2, #output2 {
width: 90%;
background-color: #758a99;
color: aliceblue;
font-size: x-large;
border-radius: 5px;
}
.buttonChooseProxies, .toggletext {
float: left;
background-color: #4CAF50;
border: none;
color: white;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
border-radius: 5px;
}
.buttonChooseProxies.active {
background-color: crimson;
}
.dropdown, .dropdown2 {
display: block;
float: right;
width: 100%;
}
.dropdown-content, .dropdown-content2 {
display: none;
position: absolute;
width: 50%;
z-index: 1;
border-radius: 5px;
background-color: #4CAF50; /* 设置背景色 */
border: 2px solid #ccc; /* 设置边框 */
}
.dropdown.active .dropdown-content, .dropdown2.active .dropdown-content2 {
display: block;
}
.switchfunctionbutton {
width: 60px;
height: 30px;
background-color: #ccc;
border-radius: 15px;
color: #fff;
font-weight: bold;
cursor: pointer;
}
.m3u-upload-sp{
float: right;
width: 100%;
border-radius: 15px;
margin-top: 10px;
padding: 2px;
border: 2px solid #ccc;
}
.on {
background-color: #4CAF50;
width: 100%;
}
.off {
background-color: crimson;
width: 100%;
}
.grid-container {
display: grid;
grid-template-columns: repeat(4, 24%);
grid-gap: 10px;
padding: 10px;
}
.grid-item {
display: flex;
flex-direction: column;
justify-content: center;
text-align: center;
border: 1px solid #ccc; /* 网格边框 */
padding: 10px; /* 网格内边距 */
}
.buttongrid {
margin-bottom: 10px; /* 按钮下方留白 */
}
.searchbox {
background-color: #4CAF50;
border: none;
color: #fff;
padding: 12px 20px;
text-align: center;
font-size: xx-large;
border-radius: 30px;
width: 40%;
margin-bottom: 20px;
background-image: linear-gradient(to bottom right, #4CAF50, #d9d9d9);
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2), inset 0 -1px 1px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.2);
}
.searchbox:focus {
outline: none;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), inset 0 1px 2px rgba(0, 0, 0, 0.2), inset 0 -1px 1px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.2);
}
</style>
</head>
<body onload="init()">
<div style="width:100%;display:flex; justify-content:space-between;">
<h1 style="width: 20%">M3U 超融合</h1>
<button id="download-json-btn7" class="button download-json-btn" style="width: 30%">一键导出全部配置</button>
<div id="upload-json-btn7" class="uploadjsonbtn"
style="position: relative; width: 30%; display: flex; justify-content: center; align-items: center;">
<label for="file-upload">一键导入全部配置</label>
<input type="file" name="file-upload"
style="position: absolute; top: 0; left: 0; height: 100%; width: 100%; opacity: 0;"></input>
</div>
</div>
<div id="switchbox" style="font-size: x-large">
<label>
<input type="radio" name="page" id="page1" checked>
<span>直播源订阅</span>
</label>
<label>
<input type="radio" name="page" id="page2">
<span>直播源管理</span>
</label>
<label>
<input type="radio" name="page" id="page3">
<span>密码本</span>
</label>
<label>
<input type="radio" name="page" id="page4">
<span>离线工具</span>
</label>
<label>
<input type="radio" name="page" id="page5">
<span>域名白名单订阅</span>
</label>
<label>
<input type="radio" name="page" id="page6">
<span>域名黑名单订阅</span>
</label>
<label>
<input type="radio" name="page" id="page7">
<span>ipv4订阅</span>
</label>
<label>
<input type="radio" name="page" id="page8">
<span>ipv6订阅</span>
</label>
<label>
<input type="radio" name="page" id="page9">
<span>文本行去重复</span>
</label>
<label>
<input type="radio" name="page" id="page10">
<span>节点订阅-节点订阅链接</span>
</label>
<label>
<input type="radio" name="page" id="page11">
<span>节点订阅-远程配置订阅</span>
</label>
<label>
<input type="radio" name="page" id="page12">
<span>节点订阅-后端地址</span>
</label>
<label>
<input type="radio" name="page" id="page13">
<span>DNS分流器</span>
</label>
<label>
<input type="radio" name="page" id="page14">
<span>订阅密码锁</span>
</label>
<label>
<input type="radio" name="page" id="page15">
<span>同步账号</span>
</label>
<label>
<input type="radio" name="page" id="page16">
<span>M3U白名单</span>
</label>
<label>
<input type="radio" name="page" id="page17">
<span>系统配置</span>
</label>
<label>
<input type="radio" name="page" id="page18">
<span>功能开关</span>
</label>
<label>
<input type="radio" name="page" id="page19">
<span>简易DNS分流白名单</span>
</label>
<label>
<input type="radio" name="page" id="page20">
<span>简易DNS分流黑名单</span>
</label>
<label>
<input type="radio" name="page" id="page21">
<span>打赏频道</span>
</label>
<label>
<input type="radio" name="page" id="page22">
<span>订阅文件重命名</span>
</label>
<label>
<input type="radio" name="page" id="page23">
<span>M3U垃圾过滤</span>
</label>
<label>
<input type="radio" name="page" id="page24">
<span>M3U白名单分组优先级</span>
</label>
<label>
<input type="radio" name="page" id="page25">
<span>网络配置文件下载加密上传</span>
</label>
<label>
<input type="radio" name="page" id="page26">
<span>网络配置文件下载解密</span>
</label>
<label>
<input type="radio" name="page" id="page27">
<span>Youtube直播源</span>
</label>
<label>
<input type="radio" name="page" id="page28">
<span>BiliBili直播源</span>
</label>
<label>
<input type="radio" name="page" id="page29">
<span>Huya直播源</span>
</label>
<label>
<input type="radio" name="page" id="page30">
<span>YY直播源</span>
</label>
</div>
<div id="choice">
<div id="page1" style="display: block;">
<h1>直播源订阅:从网络下载直播源</h1>
<div style="float: left;width: 70%">
<h3>后台默认24小时自动执行生成操作,同时触发有效直播源在后台缓慢检测</h3>
<h3>M3U超融合直播源订阅地址:docker主机地址:端口/url/allM3u.m3u</h3>
<h3 class="urllink">全部直播源-无加密: http://192.168.5.1:22771/secret/allM3u.m3u</h3>
<h3 class="urllink">全部直播源-无加密-txt: http://192.168.5.1:22771/secret/allM3u.txt</h3>
<h3 class="urllink">全部直播源-加密: http://192.168.5.1:22771/url/allM3uSecret.txt</h3>
<h3 class="urllink">有效直播源-无加密: http://192.168.5.1:22771/secret/aliveM3u.m3u</h3>
<h3 class="urllink">电视盒子专用-华语电视台-有效直播源-无加密:
http://192.168.5.1:22771/secret/healthM3u.m3u</h3>
<h3 class="urllink">adguardhome放行直播源域名-无加密:
http://192.168.5.1:22771/secret/tvDomainForAdguardhome.txt</h3>
<h3 class="urllink">adguardhome放行直播源域名-加密:
http://192.168.5.1:22771/url/tvDomainForAdguardhomeSecret.txt</h3>
<h3>上传文件导入合并M3U超融合备份</h3>
</div>
<div style="float: right;width: 30%">
<h2>txt转m3u直播源文件+格式规范</h2>
<form enctype="multipart/form-data" method="post">
<input id="upload-m3u" type="file" name="file" style="float: left;width: 80%">
<br>
<input id="sub-m3u" type="submit" value="上传你的m3u文件" style="float: left">
</form>
<br>
</div>
<div style="width:100%">
<div>
<input type="file" id="upload-json-btn" class="uploadjsonbtn" style="width: 100%"></input>
</div>
<div>
<button id="add-row" class="addNewSubscriber" style="width:100%">新增网络直播源订阅</button>
</div>
<div>
<button class="button stepflag" onclick="execute()" style="width: 100%">生成M3U超融合直播源订阅
</button>
</div>
<div>
<button id="download-json-btn" class="button download-json-btn" style="width: 100%">导出M3U订阅备份
</button>
</div>
<div style="width: 97%;">
<input type="text" id="searchInput6" placeholder="搜索框" class="searchbox" style="width: 100%"></input>
</div>
<button id="removem3ulinks" class="button removeallSubscriber"
onclick="removelinksBase('/api/removem3ulinks')">删除全部订阅
</button>
<div style="display: flex;width: 100%;">
<div class="notice" style="display: flex;width: 80%;">订阅来源:M3U网络直播源订阅地址+加密订阅源的密码(没有加密就不填写)
</div>
<div class="notice" style="display: flex;width: 20%;">操作</div>
</div>
<table id="input-table" style="width:100%">
<tbody style="width:100%">
</tbody>
</table>
</div>
</div>
<div id="page2" style="display: none;">
<h1>直播源粘贴板:永久保存直播源到本地</h1>
<h3>点击超融合链接,则会合并这里的直播源到全部直播源</h3>
<h3>这部分的直播源只能通过手动删除</h3>
<h3>没有在功能开关开启有效直播源和白名单直播源则无法使用该功能</h3>
<h3>上传m3u文件自动/复制直播源到文本框手动合并直播源</h3>
<input type="file" id="upload-m3u-btn" style="width: 100%"></input>
<textarea id="m3uarea" rows="10" style="width: 100%;background-color: #758a99;color: aliceblue"></textarea>
<br>
<button id="savem3uareas" style="width: 100%" class="button" type="button" onclick="savem3uarea()">
合并文本框直播源
</button>
<button id="download-m3u-btn" class="button" style="width: 100%">导出全部本地直播源</button>
<button id="remove-m3u-btn" onclick="removem3u()" class="button removeallSubscriber">
删除全部本地直播源
</button>
<div style="display: flex;width: 100%;">
<div class="notice" style="display: flex;width: 80%;">直播源地址+频道备注
</div>
<div class="notice" style="display: flex;width: 20%;">操作</div>
</div>
<table id="input-m3u-table" style="width:100%">
<tbody style="width:100%">
</tbody>
</table>
</div>
<div id="page3" style="display: none;">
<h1>密码记录本</h1>
<div style="width:100%">
<div>
<input type="file" id="upload-json-btn6" class="uploadjsonbtn" style="width: 100%"></input>
</div>
<div>
<button id="add-row6" class="addNewSubscriber" style="width:100%">新增密码</button>
</div>
<div>
<button id="download-json-btn6" class="button download-json-btn" style="width: 100%">导出密码备份
</button>
</div>
<div style="width: 97%;">
<input type="text" id="searchInput" placeholder="搜索框" class="searchbox" style="width: 100%"></input>
</div>
<button id="removem3ulinks6" class="button removeallSubscriber"
onclick="removelinksBase('/api/removem3ulinks6')">删除全部密码
</button>
<div style="display: flex;width: 100%;">
<div class="notice" style="display: flex;width: 80%;">订阅来源:密码来源+密码内容
</div>
<div class="notice" style="display: flex;width: 20%;">操作</div>
</div>
<table id="input-table6" style="width:100%">
<tbody style="width:100%">
</tbody>
</table>
</div>
</div>
<div id="page4" style="display: none;">
<h1>批量生成随机密码</h1>
<form style="float: right">
<label for="password-length">密码长度(必填):</label>
<input type="number" id="password-length" name="password-length" value="10" required min="1">
<br>
<label for="num-of-passwords">生成个数(默认10个):</label>
<input type="number" id="num-of-passwords" name="num-of-passwords" value="10" min="1">
<br>
<label>字符集:</label>
<input type="checkbox" id="numbers" name="numbers" value="numbers" checked>
<label for="numbers">0-9</label>
<input type="checkbox" id="upper-case" name="upper-case" value="upper-case" checked>
<label for="upper-case">A-Z</label>
<input type="checkbox" id="lower-case" name="lower-case" value="lower-case" checked>
<label for="lower-case">a-z</label>
<input type="checkbox" id="special-chars" name="special-chars" value="special-chars" checked>
<label for="special-chars">特殊符号</label>
<br>
<button id="generatepass" type="button" onclick="generatePasswords()">生成</button>
</form>
<br>
<textarea id="password-list" rows="10" readonly
style="width: 100%;background-color: #758a99;color: aliceblue"></textarea>
<br>
<h1>base64加密</h1>
<div>
<textarea id="input" rows="5" cols="50"></textarea><br/>
<button onclick="encode()">Encode</button>
<button onclick="decode()">Decode</button>
<br/>
<textarea id="output" rows="5" cols="50"></textarea>
</div>
<div class="m3u-upload-sp">
<h2>单个直播源文件数据(tvg_name)提取和分组(group-title)重命名,可以用来喂养m3u白名单和分组语言库</h2>
<h2>比如m3u文件里直播源确定都是央视,那么设置分组名字为央视,里面直播源的名字全部归类为央视</h2>
<h2>你可以把导出的group.json文件导入m3u白名单补充这个分组的词库</h2>
<form enctype="multipart/form-data" method="post">
<input class="submit-m3u-file" id="upload-m3u-data" type="file" name="file" style="float: left;width: 60%">
<input class="submit-m3u-group" id="upload-m3u-group" type="text" style="float: left;width: 15%;margin-left: 30px" placeholder="新分组名字">
<input class="submit-m3u-group-sub" type="submit" value="点击上传">
</form>
<br>
</div>
<div class="m3u-upload-sp">
<h2>单个直播源文件数据提取和分组重命名,可以用来喂养m3u白名单和分组语言库</h2>
<h2> 比如txt文件里直播源确定都是央视,那么设置分组名字为央视,里面直播源的名字全部归类为央视</h2>
<h2>你可以把导出的group.json文件导入m3u白名单补充这个分组的词库</h2>
<form enctype="multipart/form-data" method="post">
<input class="submit-m3u-file" id="upload-m3u-data-txt" type="file" name="file" style="float: left;width: 60%">
<input class="submit-m3u-group" id="upload-m3u-group-txt" type="text" style="float: left;width: 15%;margin-left: 30px"
placeholder="新分组名字">
<input class="submit-m3u-group-sub" type="submit" value="点击上传">
</form>
<br>
</div>
<div class="m3u-upload-sp">
<h2>m3u文件转txt文件</h2>
<form enctype="multipart/form-data" method="post">
<input class="submit-m3u-file" id="upload-m3u-to-txt" type="file" name="file"
style="float: left;width: 60%">
<input class="submit-m3u-group-sub" type="submit" value="点击上传">
</form>
<br>
</div>
</div>
<div id="page5" style="display: none;">
<h1>域名白名单订阅:从网络下载白名单</h1>
<div style="float: left;width: 70%">
<h3>后台默认24小时自动执行生成操作</h3>
<h3>超融合白名单订阅地址:参考M3U格式</h3>
<h3 class="urllink">dnsmasq-无加密:http://192.168.5.1:22771/secret/whiteListDnsmasq.conf</h3>
<h3 class="urllink">dnsmasq-加密:http://192.168.5.1:22771/url/whiteListDnsmasqSecret.txt</h3>
<h3 class="urllink">whitelist-无加密:http://192.168.5.1:22771/secret/whiteListDomian.txt</h3>
<h3 class="urllink">whitelist-加密:http://192.168.5.1:22771/url/whiteListDomianSecret.txt</h3>
<h3 class="urllink">
whitelist-openclash第三方直连规则-无加密:http://192.168.5.1:22771/secret/whitelistDirectRule.txt</h3>
<h3>上传文件导入合并白名单订阅</h3>
</div>
<div style="width:100%">
<div>
<input type="file" id="upload-json-btn2" class="uploadjsonbtn" style="width: 100%"></input>
</div>
<div>
<button id="add-row2" class="addNewSubscriber" style="width:100%">新增白名单域名订阅</button>
</div>
<div>
<button class="button stepflag" onclick="execute2()" style="width: 100%">生成白名单超融合订阅
</button>
</div>
<div>
<button id="download-json-btn2" class="button download-json-btn" style="width: 100%">
导出白名单订阅备份
</button>
</div>
<div style="width: 97%;">
<input type="text" id="searchInput7" placeholder="搜索框" class="searchbox" style="width: 100%"></input>
</div>
<button id="removem3ulinks2" class="button removeallSubscriber"
onclick="removelinksBase('/api/removem3ulinks2')">删除全部订阅
</button>
<div style="display: flex;width: 100%;">
<div class="notice" style="display: flex;width: 80%;">订阅来源:白名单订阅地址+加密订阅源的密码(没有加密就不填写)
</div>
<div class="notice" style="display: flex;width: 20%;">操作</div>
</div>
<table id="input-table2" style="width:100%">
<tbody style="width:100%">
</tbody>
</table>
</div>
</div>
<div id="page6" style="display: none;">
<h1>域名黑名单订阅:从网络下载黑名单</h1>
<div style="float: left;width: 70%">
<h3>后台默认24小时自动执行生成操作</h3>
<h3>超融合Adguardhome黑名单订阅地址:</h3>
<h3 class="urllink">黑名单-OP-无加密:http://192.168.5.1:22771/secret/openclashFallbackFilterDomain.conf</h3>
<h3 class="urllink">黑名单-OP-加密:http://192.168.5.1:22771/url/openclashFallbackFilterDomainSecret.txt</h3>
<h3 class="urllink">黑名单-无加密:http://192.168.5.1:22771/secret/blackListDomain.txt</h3>
<h3 class="urllink">黑名单-加密:http://192.168.5.1:22771/url/blackListDomainSecret.txt</h3>
<h3 class="urllink">黑名单-openclash代理规则:http://192.168.5.1:22771/secret/blacklistProxyRule.txt</h3>
<h3>上传文件导入合并黑名单订阅</h3>
</div>
<div style="width:100%">
<div>
<input type="file" id="upload-json-btn3" class="uploadjsonbtn" style="width: 100%"></input>
</div>
<div>
<button id="add-row3" class="addNewSubscriber" style="width:100%">新增黑名单域名订阅</button>
</div>
<div>
<button class="button stepflag" onclick="execute3()" style="width: 100%">生成黑名单超融合订阅
</button>
</div>
<div>
<button id="download-json-btn3" class="button download-json-btn" style="width: 100%">
导出黑名单订阅备份
</button>
</div>
<div style="width: 97%;">
<input type="text" id="searchInput8" placeholder="搜索框" class="searchbox" style="width: 100%"></input>
</div>
<button id="removem3ulinks3" class="button removeallSubscriber"
onclick="removelinksBase('/api/removem3ulinks3')">删除全部订阅
</button>
<div style="display: flex;width: 100%;">
<div class="notice" style="display: flex;width: 80%;">订阅来源:黑名单订阅地址+加密订阅源的密码(没有加密就不填写)
</div>
<div class="notice" style="display: flex;width: 20%;">操作</div>
</div>
<table id="input-table3" style="width:100%">
<tbody style="width:100%">
</tbody>
</table>
</div>
</div>
<div id="page7" style="display: none;">
<h1>ipv4订阅:从网络下载ipv4</h1>
<div style="float: left;width: 70%">
<h3>后台默认24小时自动执行生成操作</h3>
<h3>超融合ipv4订阅地址:参考m3u格式</h3>
<h3 class="urllink">ipv4-无加密:http://192.168.5.1:22771/secret/ipv4.txt</h3>
<h3 class="urllink">ipv4-加密:http://192.168.5.1:22771/url/ipv4Secret.txt</h3>
<h3>上传文件导入合并ipv4订阅</h3>
</div>
<div style="width:100%">
<div>
<input type="file" id="upload-json-btn4" class="uploadjsonbtn" style="width: 100%"></input>
</div>
<div>
<button id="add-row4" class="addNewSubscriber" style="width:100%">新增ipv4订阅</button>
</div>
<div>
<button class="button stepflag" onclick="execute4()" style="width: 100%">生成ipv4超融合订阅
</button>
</div>
<div>
<button id="download-json-btn4" class="button download-json-btn" style="width: 100%">导出ipv4订阅备份
</button>
</div>
<div style="width: 97%;">
<input type="text" id="searchInput9" placeholder="搜索框" class="searchbox" style="width: 100%"></input>
</div>
<button id="removem3ulinks4" class="button removeallSubscriber"
onclick="removelinksBase('/api/removem3ulinks4')">删除全部订阅
</button>
<div style="display: flex;width: 100%;">
<div class="notice" style="display: flex;width: 80%;">订阅来源:ipv4订阅地址+加密订阅源的密码(没有加密就不填写)
</div>
<div class="notice" style="display: flex;width: 20%;">操作</div>
</div>
<table id="input-table4" style="width:100%">
<tbody style="width:100%">
</tbody>
</table>
</div>
</div>
<div id="page8" style="display: none;">
<h1>ipv6订阅:从网络下载ipv6</h1>
<div style="float: left;width: 70%">
<h3>后台默认24小时自动执行生成操作</h3>
<h3>超融合ipv6订阅地址:参考m3u格式</h3>
<h3 class="urllink">IPV6-无加密:http://192.168.5.1:22771/secret/ipv6.txt</h3>
<h3 class="urllink">IPV6-加密:http://192.168.5.1:22771/url/ipv6Secret.txt</h3>
<h3>上传文件导入合并ipv6订阅</h3>
</div>
<div style="width:100%">
<div>
<input type="file" id="upload-json-btn5" class="uploadjsonbtn" style="width: 100%"></input>
</div>
<div>
<button id="add-row5" class="addNewSubscriber" style="width:100%">新增ipv6订阅</button>
</div>
<div>
<button class="button stepflag" onclick="execute5()" style="width: 100%">生成ipv6超融合订阅
</button>
</div>
<div>
<button id="download-json-btn5" class="button download-json-btn" style="width: 100%">导出ipv6订阅备份
</button>
</div>
<div style="width: 97%;">
<input type="text" id="searchInput10" placeholder="搜索框" class="searchbox"
style="width: 100%"></input>
</div>
<button id="removem3ulinks5" class="button removeallSubscriber"
onclick="removelinksBase('/api/removem3ulinks5')">删除全部订阅
</button>
<div style="display: flex;width: 100%;">
<div class="notice" style="display: flex;width: 80%;">订阅来源:ipv6订阅地址+加密订阅源的密码(没有加密就不填写)
</div>
<div class="notice" style="display: flex;width: 20%;">操作</div>
</div>
<table id="input-table5" style="width:100%">
<tbody style="width:100%">
</tbody>
</table>
</div>
</div>
<div id="page9" style="display: none;">
<h1>文本行去重复</h1>
<button id="simply" style="float: right;width: 100%" onclick="removeDuplicates()">去重复</button>
<div style="width:100%;display:flex; justify-content:space-between;">
<div style="width: 50%">
<p>在左边输入要去重复的文本,每行一个条目。</p>
<textarea id="input2" rows="30" cols="50"></textarea>
</div>
<div style="width: 50%">
<p>去重复结果如下:</p>
<textarea id="output2" rows="30" cols="50" readonly></textarea>
<br>
</div>
</div>
</div>
<div id="page10" style="display: none;width: 100%">
<h1>节点订阅:从网络下载节点</h1>
<div style="width: 100%">
<button id="button-1" class="buttonChooseProxies">Clash新参数</button>
<button id="button-2" class="buttonChooseProxies">ClashR新参数</button>
<button id="button-3" class="buttonChooseProxies">Clash</button>
<button id="button-4" class="buttonChooseProxies">Surge3</button>
<button id="button-5" class="buttonChooseProxies">Surge4</button>
<button id="button-6" class="buttonChooseProxies">Quantumult</button>
<button id="button-7" class="buttonChooseProxies">Surfboard</button>
<button id="button-8" class="buttonChooseProxies">Loon</button>
<button id="button-9" class="buttonChooseProxies">SSAndroid</button>
<button id="button-10" class="buttonChooseProxies">V2Ray</button>
<button id="button-11" class="buttonChooseProxies">ss</button>
<button id="button-12" class="buttonChooseProxies">ssr</button>
<button id="button-13" class="buttonChooseProxies">ssd</button>
<button id="button-14" class="buttonChooseProxies">ClashR</button>
<button id="button-15" class="buttonChooseProxies">Surge2</button>
<button id="button-16" class="buttonChooseProxies">QuantumultX</button>
</div>
<div style="float: left;width: 100%;display: flex;">
<div style="float: left;width: 50%">
<h3>后台默认24小时自动执行生成操作</h3>
<h3>超融合节点订阅地址:参考m3u格式</h3>
<h3>当出现网络问题但是可以下载远程加密订阅文件,直接取第一个加密订阅文件作为代理文件</h3>
<h3 class="urllink">无加密代理:http://192.168.5.1:22771/secret/proxyConfig.yaml</h3>
<h3 class="urllink">加密代理:http://192.168.5.1:22771/url/proxyConfigSecret.txt</h3>
<h3>上传文件导入合并节点订阅</h3>
</div>
<div style="width: 100%;display: flex;flex-direction: column;height: 100%">
<div class="dropdown" style="height: 30%">
<button id="proxy-model-switch" style="float: left;width: 90%">选择服务器配置</button>
<ul class="dropdown-content"></ul>
</div>
<div class="dropdown2" style="height: 30%">
<button id="proxy-model-switch2" style="float: left;width: 90%">选择远程配置</button>
<ul class="dropdown-content2"></ul>
</div>
</div>
</div>
<div style="width:100%">
<div>
<input type="file" id="upload-json-btn8" class="uploadjsonbtn" style="width: 100%"></input>
</div>
<div>
<button id="add-row8" class="addNewSubscriber" style="width:100%">新增节点订阅</button>
</div>
<div>
<button class="button stepflag" onclick="execute6()" style="width: 100%">生成节点超融合订阅
</button>
</div>
<div>
<button id="download-json-btn8" class="button download-json-btn" style="width: 100%">导出节点订阅备份
</button>
</div>
<div style="width: 97%;">
<input type="text" id="searchInput11" placeholder="搜索框" class="searchbox"
style="width: 100%"></input>
</div>
<button id="removem3ulinks8" class="button removeallSubscriber"
onclick="removelinksBase('/api/removem3ulinks8')">删除全部订阅
</button>
<div style="display: flex;width: 100%;">
<div class="notice" style="display: flex;width: 80%;">订阅来源:节点订阅地址+加密订阅源的密码
</div>
<div class="notice" style="display: flex;width: 20%;">操作</div>
</div>
<table id="input-table8" style="width:100%">
<tbody style="width:100%">
</tbody>
</table>
</div>
</div>
<div id="page11" style="display: none;">
<h1>节点订阅:远程配置订阅</h1>
<div style="float: left;width: 70%">
<h3>上传文件导入合并远程配置订阅</h3>
</div>
<div style="width:100%">
<div>
<input type="file" id="upload-json-btn9" class="uploadjsonbtn" style="width: 100%"></input>
</div>
<div>
<button id="add-row9" class="addNewSubscriber" style="width:100%">新增远程配置订阅</button>
</div>
<div>
<button id="download-json-btn9" class="button download-json-btn" style="width: 100%">导出远程配置备份
</button>
</div>
<div style="width: 97%;">
<input type="text" id="searchInput12" placeholder="搜索框" class="searchbox"
style="width: 100%"></input>
</div>
<button id="removem3ulinks9" class="button removeallSubscriber"
onclick="removelinksBase('/api/removem3ulinks9')">删除全部订阅
</button>
<div style="display: flex;width: 100%;">
<div class="notice" style="display: flex;width: 80%;">订阅来源:远程订阅地址+备注
</div>
<div class="notice" style="display: flex;width: 20%;">操作</div>
</div>
<table id="input-table9" style="width:100%">
<tbody style="width:100%">
</tbody>
</table>
</div>
</div>
<div id="page12" style="display: none;">
<h1>节点订阅:后端地址</h1>
<div style="float: left;width: 70%">
<h3>上传文件导入合并后端地址</h3>
</div>
<div style="width:100%">
<div>
<input type="file" id="upload-json-btn10" class="uploadjsonbtn" style="width: 100%"></input>
</div>
<div>
<button id="add-row10" class="addNewSubscriber" style="width:100%">新增后端地址</button>
</div>
<div>
<button id="download-json-btn10" class="button download-json-btn" style="width: 100%">
导出后端地址配置备份
</button>
</div>
<div style="width: 97%;">
<input type="text" id="searchInput13" placeholder="搜索框" class="searchbox"
style="width: 100%"></input>
</div>
<button id="removem3ulinks10" class="button removeallSubscriber"
onclick="removelinksBase('/api/removem3ulinks10')">删除全部订阅
</button>
<div style="display: flex;width: 100%;">
<div class="notice" style="display: flex;width: 80%;">订阅来源:后端地址+备注
</div>
<div class="notice" style="display: flex;width: 20%;">操作</div>
</div>
<table id="input-table10" style="width:100%">
<tbody style="width:100%">
</tbody>
</table>
</div>
</div>
<div id="page13" style="display: none;">
<h1>DNS分流器,监听22770端口</h1>
<h3>修改了下面参数需要重启容器使其配置生效</h3>
<div style="float: left;width: 70%">
<h3>设置分流并发线程,分流服务器,端口,超时</h3>
</div>
<div style="display: flex;width: 100%;">
DNS分流并发查询数(上限1000)
</div>
<div style="width:100%">
<input type="text" id="queryThreadNum" class="stubboninput"/>
<button id="queryThreadNumButton" onclick="saveQueryThreadNum()" class="stubbonsave">保存</button>
</div>
<div style="display: flex;width: 100%;">
通信超时时间(单位:秒)
</div>
<div style="width:100%">
<input type="text" id="timeout" class="stubboninput"/>
<button id="timeoutButton" onclick="saveTimeout()" class="stubbonsave">保存</button>
</div>
<div style="display: flex;width: 100%;">
DNS分流单个查询并发检测黑白名单数据线程数(上限1000)
</div>
<div style="width:100%">
<input type="text" id="threads" class="stubboninput"/>
<button id="threadsButton" onclick="saveData()" class="stubbonsave">保存</button>
</div>
<div style="display: flex;width: 100%;">
国内DNS服务器地址
</div>
<div style="width:100%">
<input type="text" id="chinaDnsServer" class="stubboninput"/>
<button id="chinaDnsServerBtn" onclick="saveChinaDnsServer()" class="stubbonsave">保存</button>
</div>
<div style="display: flex;width: 100%;">
国内DNS服务器端口
</div>
<div style="width:100%">
<input type="text" id="chinaDnsPort" class="stubboninput"/>
<button id="chinaDnsPortBtn" onclick="saveChinaDnsPort()" class="stubbonsave">保存</button>
</div>
<div style="display: flex;width: 100%;">
国外DNS服务器地址
</div>
<div style="width:100%">
<input type="text" id="extraDnsServer" class="stubboninput"/>
<button id="extraDnsServerBtn" onclick="saveExtraDnsServer()" class="stubbonsave">保存</button>
</div>
<div style="display: flex;width: 100%;">
国外DNS服务器端口
</div>
<div style="width:100%">
<input type="text" id="extraDnsPort" class="stubboninput"/>
<button id="extraDnsPortBtn" onclick="saveExtraDnsPort()" class="stubbonsave">保存</button>
</div>
</div>
<div id="page14" style="display: none;">
<h1>订阅密码锁</h1>
<div style="float: left;width: 70%">
<h3>设置私有订阅的密码</h3>
<h3>可以通过密码订阅别人的私有订阅</h3>
<h3>上传文件导入个人配置</h3>
</div>
<div>
<input type="file" id="upload-json-btn20" class="uploadjsonbtn" style="width: 100%"></input>
</div>
<div>
<button id="download-json-btn20" class="button download-json-btn" style="width: 100%">导出个人配置备份
</button>
</div>
<div style="display: flex;width: 100%;">
直播源订阅
</div>
<div style="width:100%">
<input type="text" id="threads2" class="stubboninput"/>
<button onclick="changePassword('m3u','threads2',threadNum2)" class="stubbonsave">随机</button>
<button onclick="changePasswordByHand('m3u','threads2',threadNum2)" class="stubbonsave">手动修改</button>
</div>
<div style="display: flex;width: 100%;">
域名白名单订阅
</div>
<div style="width:100%">
<input type="text" id="chinaDnsServer2" class="stubboninput"/>
<button onclick="changePassword('whitelist','chinaDnsServer2',chinaDnsServer2)" class="stubbonsave">随机
</button>
<button onclick="changePasswordByHand('whitelist','chinaDnsServer2',chinaDnsServer2)" class="stubbonsave">
手动修改
</button>
</div>
<div style="display: flex;width: 100%;">
域名黑名单订阅