mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Compare commits
1053 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c0d915e3da | ||
|
|
f8d9b5665f | ||
|
|
3576c95ad6 | ||
|
|
6451118b09 | ||
|
|
d42f0221ee | ||
|
|
5c11125431 | ||
|
|
22c77e2d8b | ||
|
|
053c478cc2 | ||
|
|
4c530118a5 | ||
|
|
2c87b1facc | ||
|
|
b8d47152de | ||
|
|
5e80b054d2 | ||
|
|
95ee56b53a | ||
|
|
300d535b0a | ||
|
|
6aded9e0e8 | ||
|
|
1573b86d50 | ||
|
|
2b97931ea0 | ||
|
|
32fe44ba00 | ||
|
|
d73be3ec7c | ||
|
|
8046b36bd0 | ||
|
|
9e16d64d0b | ||
|
|
f3b8fe5e13 | ||
|
|
5f243a666a | ||
|
|
992b24a5e2 | ||
|
|
c4fab85054 | ||
|
|
8edbdbf754 | ||
|
|
4840c2f83d | ||
|
|
23a97e7bfa | ||
|
|
4f60b001c8 | ||
|
|
d46ab3500b | ||
|
|
b08f444fdc | ||
|
|
27f41b0370 | ||
|
|
5ee2af14bb | ||
|
|
c0407d0fbc | ||
|
|
090dc7c069 | ||
|
|
4ec6faec2b | ||
|
|
6fe8acfe1f | ||
|
|
8e1ea3581b | ||
|
|
8656dbfd57 | ||
|
|
9ce5fa256b | ||
|
|
0d7fac9836 | ||
|
|
6bb378ec3b | ||
|
|
ebf87b7ed5 | ||
|
|
f136369e4f | ||
|
|
f8b5092e55 | ||
|
|
ab048b3e66 | ||
|
|
4b3a1a3870 | ||
|
|
acac416455 | ||
|
|
c85fc06e51 | ||
|
|
076dc47b55 | ||
|
|
993b726d97 | ||
|
|
afa034db9a | ||
|
|
3cba41aec6 | ||
|
|
921493aceb | ||
|
|
b8c8485671 | ||
|
|
527b45e299 | ||
|
|
0b52ee020d | ||
|
|
0b9c618b22 | ||
|
|
044f27bde5 | ||
|
|
774a39527a | ||
|
|
94ee786613 | ||
|
|
6f2012b551 | ||
|
|
809e74cda0 | ||
|
|
0e53afcf15 | ||
|
|
b49716eaea | ||
|
|
426156f51b | ||
|
|
cd57a036e2 | ||
|
|
4c3ee2da53 | ||
|
|
b081a28720 | ||
|
|
744ee19a27 | ||
|
|
304b1aaa9c | ||
|
|
29bb743eec | ||
|
|
3bfd9f5831 | ||
|
|
e4dd22d0dc | ||
|
|
b9c6c8f4b9 | ||
|
|
716f7b4ed9 | ||
|
|
722123937b | ||
|
|
374c7da873 | ||
|
|
dd22dbb607 | ||
|
|
e4beae71c7 | ||
|
|
4c1e21014b | ||
|
|
7b7e0c3dfa | ||
|
|
ac09466bfd | ||
|
|
a2eabc3ae5 | ||
|
|
99da661f3e | ||
|
|
062b6a465e | ||
|
|
4a0a14cbec | ||
|
|
c9de7dbfae | ||
|
|
953f480de9 | ||
|
|
1d10e48edb | ||
|
|
f2a1525d06 | ||
|
|
e8d9e711dd | ||
|
|
4f13240007 | ||
|
|
9b3c3576fc | ||
|
|
9960908cc7 | ||
|
|
779bf88e24 | ||
|
|
7170600900 | ||
|
|
739e0d3912 | ||
|
|
cd5329f11c | ||
|
|
fa060550f1 | ||
|
|
7ffb224774 | ||
|
|
732364962e | ||
|
|
5d49d33c14 | ||
|
|
406b2f6318 | ||
|
|
0443ba68f3 | ||
|
|
c69e309472 | ||
|
|
777e2d3d9b | ||
|
|
46710c8f42 | ||
|
|
9608d90a69 | ||
|
|
435e1a88ad | ||
|
|
fb1b2c0cfb | ||
|
|
9db33360a9 | ||
|
|
a006bdaef2 | ||
|
|
6e8780a9c2 | ||
|
|
b3189a328c | ||
|
|
82f0e97a1a | ||
|
|
20b9a0c3f9 | ||
|
|
c4ba3edcd1 | ||
|
|
1616061f65 | ||
|
|
5c885dcf48 | ||
|
|
5cffe994fa | ||
|
|
1dae00e324 | ||
|
|
3fdabaa64c | ||
|
|
8c9c89e753 | ||
|
|
50c55f353c | ||
|
|
fbbe32fc35 | ||
|
|
78fbebad3a | ||
|
|
95fd680f29 | ||
|
|
4e8221f089 | ||
|
|
e9e58f08c9 | ||
|
|
f73c0c9c8f | ||
|
|
dffe270a43 | ||
|
|
926061a489 | ||
|
|
985da1b7de | ||
|
|
494be26889 | ||
|
|
628727fa5b | ||
|
|
b8ed71a90e | ||
|
|
90b6af37f5 | ||
|
|
e556982770 | ||
|
|
6c5154fb74 | ||
|
|
4bde283ef2 | ||
|
|
beb17e1ece | ||
|
|
5619761be4 | ||
|
|
89ee0d9d30 | ||
|
|
68ce22291f | ||
|
|
ec77980db8 | ||
|
|
c0d23af500 | ||
|
|
896f5f8c53 | ||
|
|
fd02464c5e | ||
|
|
9d5f1cb02e | ||
|
|
bd46496365 | ||
|
|
05b6edb6e9 | ||
|
|
7e61d3f283 | ||
|
|
81ef584251 | ||
|
|
1d1246eb4a | ||
|
|
5b199169b9 | ||
|
|
a4a4c066c2 | ||
|
|
19e899dcef | ||
|
|
82f0713fa7 | ||
|
|
4cac416c94 | ||
|
|
373fd29b02 | ||
|
|
2aea045250 | ||
|
|
0280316f90 | ||
|
|
72cef751bd | ||
|
|
2fcbd4f9e6 | ||
|
|
7099bf9c06 | ||
|
|
578215629d | ||
|
|
0fda616533 | ||
|
|
3b1d1b087e | ||
|
|
f7e57f2dde | ||
|
|
6afdbff8a0 | ||
|
|
2c74f4fe19 | ||
|
|
189f535840 | ||
|
|
f9afbaa7da | ||
|
|
91cad58d51 | ||
|
|
1ab4c3fd6f | ||
|
|
5371e1df08 | ||
|
|
ce4ee6223b | ||
|
|
da6c829296 | ||
|
|
edee07bd95 | ||
|
|
5afe3037e3 | ||
|
|
fad450b354 | ||
|
|
46c6d59350 | ||
|
|
7eb3397cfa | ||
|
|
7d2bf04d22 | ||
|
|
0a6f5d3b08 | ||
|
|
16d249ba97 | ||
|
|
ce19b659bc | ||
|
|
82248e0cbf | ||
|
|
8959ff9fa2 | ||
|
|
7dbd9f95cd | ||
|
|
8215e7748c | ||
|
|
f62d1364ee | ||
|
|
e5359aa27e | ||
|
|
18b4223b4e | ||
|
|
afa914adb7 | ||
|
|
8c3ed109f1 | ||
|
|
5aa8b4ed38 | ||
|
|
b50a6796bf | ||
|
|
e2ec33f1f4 | ||
|
|
c9a8694df8 | ||
|
|
c1d1b85bf5 | ||
|
|
a5283105b0 | ||
|
|
24714b77a7 | ||
|
|
1ce2da6a62 | ||
|
|
f0b40d4da1 | ||
|
|
fdc9274b72 | ||
|
|
eb767a311e | ||
|
|
cbf8cbdef9 | ||
|
|
65850d31b5 | ||
|
|
234d786dcc | ||
|
|
8ba05d58af | ||
|
|
89f9c541d1 | ||
|
|
77e2de99f6 | ||
|
|
2cd6c63eb7 | ||
|
|
d517d5860d | ||
|
|
853c286799 | ||
|
|
b534c7e627 | ||
|
|
a92863ec8c | ||
|
|
67b720ed62 | ||
|
|
2606b44508 | ||
|
|
2cb9c93789 | ||
|
|
1ba4d2b2bf | ||
|
|
128992f387 | ||
|
|
65143cbaac | ||
|
|
9069c3a8e6 | ||
|
|
1ee5b56127 | ||
|
|
5dad867e79 | ||
|
|
a8cccbce32 | ||
|
|
cac4b15655 | ||
|
|
813f40804a | ||
|
|
5e8259de4e | ||
|
|
24e2304354 | ||
|
|
ec32924853 | ||
|
|
560e3b63b3 | ||
|
|
ce4c2835ad | ||
|
|
9243994c59 | ||
|
|
de5ff3c655 | ||
|
|
12b98683e1 | ||
|
|
8ac161b8db | ||
|
|
98f8264598 | ||
|
|
141aa8f1fa | ||
|
|
55fb3f2157 | ||
|
|
e9d1d3ac00 | ||
|
|
11dd64f965 | ||
|
|
15648f2594 | ||
|
|
df1e646809 | ||
|
|
88a4327531 | ||
|
|
c4a3e08fcb | ||
|
|
94c86bff2c | ||
|
|
95348dee39 | ||
|
|
78805b7011 | ||
|
|
1a02068bcb | ||
|
|
63b0e74949 | ||
|
|
5be4fab2e2 | ||
|
|
3bd053df66 | ||
|
|
2ba324b27a | ||
|
|
d8645fb2f1 | ||
|
|
92a05a71a9 | ||
|
|
04ee3bcdce | ||
|
|
0f2dcaaaa7 | ||
|
|
7515dfe321 | ||
|
|
a31cc26f6e | ||
|
|
42bdcbc722 | ||
|
|
f39520bac7 | ||
|
|
48f2afffa1 | ||
|
|
746696d53c | ||
|
|
648b94a63e | ||
|
|
96d2048395 | ||
|
|
8c0e0f7858 | ||
|
|
d76293ef0a | ||
|
|
fdec2d8dd6 | ||
|
|
b3f778f45b | ||
|
|
7d0b5b3cbe | ||
|
|
16bd4cfe81 | ||
|
|
7e5167c8b2 | ||
|
|
7f7612041b | ||
|
|
71157b54f9 | ||
|
|
048e26a46d | ||
|
|
cdec6f1f41 | ||
|
|
07bfb8166a | ||
|
|
7f68ff5b60 | ||
|
|
0d9eaeb367 | ||
|
|
080b46003d | ||
|
|
715579bdd7 | ||
|
|
70935b4a7c | ||
|
|
7e7caf6b78 | ||
|
|
b1155a05d3 | ||
|
|
b914d10224 | ||
|
|
b99c7bb8c1 | ||
|
|
7e1f172a68 | ||
|
|
e8feba46cf | ||
|
|
ce09c6b2b3 | ||
|
|
49e4d1020e | ||
|
|
923382fa4e | ||
|
|
2a79e6cd18 | ||
|
|
d90f47e5da | ||
|
|
5ca4c8b95e | ||
|
|
f86940427e | ||
|
|
bf3928a3b3 | ||
|
|
7f7ba9661f | ||
|
|
4c42802a36 | ||
|
|
2108ec3ab7 | ||
|
|
1bebac0e88 | ||
|
|
beb4e3eedf | ||
|
|
b2ed78d5f2 | ||
|
|
94a7f6fc28 | ||
|
|
f26495c63b | ||
|
|
cd3ba7d329 | ||
|
|
fbf72b3bfd | ||
|
|
e27816a91d | ||
|
|
9658f6346f | ||
|
|
21e44f7d74 | ||
|
|
8bdeed822f | ||
|
|
30ec155fa8 | ||
|
|
cb7df01bdf | ||
|
|
cf950a81f7 | ||
|
|
09afe49541 | ||
|
|
8a90a70648 | ||
|
|
dbd813b100 | ||
|
|
7c8d2d25a7 | ||
|
|
32b64401ea | ||
|
|
5a48fe3300 | ||
|
|
64279b611a | ||
|
|
46c301f230 | ||
|
|
b3872e179b | ||
|
|
2c1b900d2d | ||
|
|
304cd6b151 | ||
|
|
4e1572f7e2 | ||
|
|
5eaffeefa3 | ||
|
|
30f84b090f | ||
|
|
a7048799b9 | ||
|
|
7668bd0f05 | ||
|
|
c856bf9cce | ||
|
|
315826f038 | ||
|
|
13d8e87085 | ||
|
|
bb4914d1d1 | ||
|
|
437b7ad2a2 | ||
|
|
83f70e949b | ||
|
|
710e6bec56 | ||
|
|
ecb93e149e | ||
|
|
a858410a15 | ||
|
|
c00615306e | ||
|
|
ebe4b353a0 | ||
|
|
4f7b760c1d | ||
|
|
f0d5f17aca | ||
|
|
866ef53da0 | ||
|
|
f3f61287d8 | ||
|
|
c6fe03cb71 | ||
|
|
43349db0fc | ||
|
|
b6457feabd | ||
|
|
72133c78b2 | ||
|
|
870c6693dd | ||
|
|
17b2d5790d | ||
|
|
4d193acd67 | ||
|
|
afd7c91b6f | ||
|
|
362600fe7a | ||
|
|
85f150b56b | ||
|
|
fd4875fbd7 | ||
|
|
5626e3343d | ||
|
|
37389356af | ||
|
|
c973a25ad8 | ||
|
|
cb07fd0b95 | ||
|
|
8651717ca6 | ||
|
|
7e0d748097 | ||
|
|
a84c6e5180 | ||
|
|
deb5170cd7 | ||
|
|
a4ac1e3b97 | ||
|
|
3635d74ef8 | ||
|
|
901e2834ad | ||
|
|
3519f5b462 | ||
|
|
a29af2e27b | ||
|
|
00723a9845 | ||
|
|
1b187bf256 | ||
|
|
77ada2305f | ||
|
|
9e5159f7d2 | ||
|
|
2735b872d7 | ||
|
|
041856dd2a | ||
|
|
693911a264 | ||
|
|
bb4bbdfdfb | ||
|
|
36eb12574a | ||
|
|
26a219b45f | ||
|
|
14066617fc | ||
|
|
7dd99f7115 | ||
|
|
1575f00596 | ||
|
|
18017644dc | ||
|
|
98d8c57f27 | ||
|
|
3fb4a36688 | ||
|
|
d6f4d244d9 | ||
|
|
91329e21a4 | ||
|
|
cb55fc2669 | ||
|
|
99743eecf8 | ||
|
|
b512fc6b4e | ||
|
|
5191ba041b | ||
|
|
86fb4e0bc5 | ||
|
|
0588651b3f | ||
|
|
5051f40210 | ||
|
|
270d5d8659 | ||
|
|
00c60bf051 | ||
|
|
392f696cdc | ||
|
|
dbe99a4ee1 | ||
|
|
7c11ec1feb | ||
|
|
9c1f318c9b | ||
|
|
23a1f4081f | ||
|
|
8caf5564fa | ||
|
|
99f03a074d | ||
|
|
782bfde9d8 | ||
|
|
041d790624 | ||
|
|
9170e2b850 | ||
|
|
fe8314a29d | ||
|
|
62e1ab2b82 | ||
|
|
68181f8f81 | ||
|
|
be627b3ae9 | ||
|
|
773504a551 | ||
|
|
1709bd7032 | ||
|
|
40e3bfa87a | ||
|
|
2924f12ac3 | ||
|
|
1fc893d03d | ||
|
|
10bb55b564 | ||
|
|
92129ca999 | ||
|
|
6db6b76572 | ||
|
|
e91b9e6c83 | ||
|
|
3bdf8354dc | ||
|
|
93bcbed455 | ||
|
|
8332791265 | ||
|
|
882115fd8a | ||
|
|
fdf475f1ed | ||
|
|
6f04f26d33 | ||
|
|
2f4e5d963d | ||
|
|
5daf767966 | ||
|
|
d19ce3d742 | ||
|
|
964b68ce98 | ||
|
|
4430a80e81 | ||
|
|
454318403f | ||
|
|
7426b284e5 | ||
|
|
7e9a93368e | ||
|
|
b7e4269cc0 | ||
|
|
b61e74efbe | ||
|
|
d477d8ca5f | ||
|
|
ef644ce739 | ||
|
|
7a0f971e47 | ||
|
|
4d47a6fae4 | ||
|
|
8eb37e38e7 | ||
|
|
ae18e71158 | ||
|
|
eebb358cbf | ||
|
|
61c411525a | ||
|
|
f9378718ae | ||
|
|
612790bda5 | ||
|
|
d4579de536 | ||
|
|
5eae2c690e | ||
|
|
f20eee4080 | ||
|
|
d79147d665 | ||
|
|
f5d2606b07 | ||
|
|
26a93cf503 | ||
|
|
3aec810187 | ||
|
|
96dfda1868 | ||
|
|
e7957ab3e1 | ||
|
|
51bed55f3f | ||
|
|
fd97f07e7d | ||
|
|
663afe1a2b | ||
|
|
96c5c062e6 | ||
|
|
442c281c25 | ||
|
|
573f693e8c | ||
|
|
320a4f92ee | ||
|
|
fc4fe13a7a | ||
|
|
a1df99ac12 | ||
|
|
a8662022f5 | ||
|
|
6018100079 | ||
|
|
fbd459dc54 | ||
|
|
3684f7db0c | ||
|
|
0638dbdb24 | ||
|
|
be7881782c | ||
|
|
dffb95d071 | ||
|
|
959e2c5628 | ||
|
|
eb6a9db08b | ||
|
|
374d57ed16 | ||
|
|
70861143b2 | ||
|
|
c2d4e34f19 | ||
|
|
da2c1f8851 | ||
|
|
7d5286d30a | ||
|
|
71cf8de1b4 | ||
|
|
4e841e204c | ||
|
|
593ee5e448 | ||
|
|
db7ae378da | ||
|
|
a7fe2ebc28 | ||
|
|
3454438f1d | ||
|
|
c6449e872b | ||
|
|
879de481ef | ||
|
|
d08b71e599 | ||
|
|
870f238342 | ||
|
|
6cf98d74af | ||
|
|
d883a0bbe7 | ||
|
|
c740f16208 | ||
|
|
44decf2a29 | ||
|
|
26c53d44fa | ||
|
|
4784cbf888 | ||
|
|
f1ed668412 | ||
|
|
dc2a84757f | ||
|
|
b8121f7976 | ||
|
|
7fc04a2d23 | ||
|
|
e5cc2f143d | ||
|
|
4e83550c0e | ||
|
|
6295549226 | ||
|
|
d33a10513d | ||
|
|
560d651d35 | ||
|
|
2da58cef98 | ||
|
|
1480c3b8fc | ||
|
|
b5eb76eed6 | ||
|
|
b692010746 | ||
|
|
950147d48d | ||
|
|
d2a55bae78 | ||
|
|
7a9f5961a5 | ||
|
|
9ba5341d30 | ||
|
|
43a7bf6f87 | ||
|
|
34353f31f1 | ||
|
|
fee12bee0b | ||
|
|
f338e2f124 | ||
|
|
d21cd6887a | ||
|
|
b4904cc6d3 | ||
|
|
d5049eb417 | ||
|
|
ccea08347a | ||
|
|
c4e6429a86 | ||
|
|
a44d3d00d9 | ||
|
|
7c2c593c96 | ||
|
|
9b836b4cca | ||
|
|
6382c19890 | ||
|
|
b1da667797 | ||
|
|
c992e019cb | ||
|
|
4c887a5fae | ||
|
|
1e645ea6b5 | ||
|
|
8375b7fbe1 | ||
|
|
461b4f81b5 | ||
|
|
67cd09db6d | ||
|
|
da0f09f58b | ||
|
|
ffe84f451a | ||
|
|
3c3a070176 | ||
|
|
d9fa61450d | ||
|
|
487212adf7 | ||
|
|
5c826bffd2 | ||
|
|
9622a0c6dd | ||
|
|
480b2b46ff | ||
|
|
7800adbb02 | ||
|
|
f539020624 | ||
|
|
5293dfe4dc | ||
|
|
31e7383e12 | ||
|
|
ba255a757f | ||
|
|
a4279f721f | ||
|
|
1f59cbe330 | ||
|
|
66ede2a74c | ||
|
|
4e00907bf6 | ||
|
|
64f7c1ae2b | ||
|
|
d1d675af27 | ||
|
|
9d04df9a9d | ||
|
|
0cce063034 | ||
|
|
36177ba100 | ||
|
|
fa1e130866 | ||
|
|
b32d865337 | ||
|
|
ee4e3730ae | ||
|
|
efad15e287 | ||
|
|
c580d67617 | ||
|
|
1a0f6ab5dd | ||
|
|
57c281988b | ||
|
|
8f701e9434 | ||
|
|
1899c12f25 | ||
|
|
917b0690e9 | ||
|
|
690604a31b | ||
|
|
91b6a606bc | ||
|
|
0bc86f688c | ||
|
|
354c1ea7d4 | ||
|
|
98dbb08517 | ||
|
|
36fce218ec | ||
|
|
deda5c785f | ||
|
|
b4853c8f75 | ||
|
|
4979500d2c | ||
|
|
4b5d09b5f3 | ||
|
|
d4b6ea0c96 | ||
|
|
e998998fc0 | ||
|
|
0b3dfac457 | ||
|
|
5a864d385a | ||
|
|
d4b28b5822 | ||
|
|
aa3c449167 | ||
|
|
c636dd9553 | ||
|
|
125ad109a3 | ||
|
|
e2b30d5e4c | ||
|
|
2a332c8132 | ||
|
|
9618004a95 | ||
|
|
51973ba9de | ||
|
|
ce2168b0ea | ||
|
|
092cdbf866 | ||
|
|
12ea14f1e0 | ||
|
|
a79237a9fe | ||
|
|
d06da0b09e | ||
|
|
f9e024c000 | ||
|
|
78b08b5015 | ||
|
|
25b257300a | ||
|
|
18e22aa304 | ||
|
|
4307efc4da | ||
|
|
20a880eb64 | ||
|
|
d042be88cc | ||
|
|
00d8e8a0a2 | ||
|
|
8253c469de | ||
|
|
852c305074 | ||
|
|
0e144d9cc0 | ||
|
|
e8026f1a4c | ||
|
|
ef61deaf9c | ||
|
|
b17c5004e9 | ||
|
|
9d27442db6 | ||
|
|
143c3ee5c2 | ||
|
|
e064526110 | ||
|
|
bfd0648895 | ||
|
|
84eede8104 | ||
|
|
28dfc94156 | ||
|
|
a3dc3a4135 | ||
|
|
caa167b5ae | ||
|
|
c842e29739 | ||
|
|
2f0166d739 | ||
|
|
3cbeaa2355 | ||
|
|
5464c7e10a | ||
|
|
8afc9e7835 | ||
|
|
1e154728e9 | ||
|
|
bd06042af0 | ||
|
|
36c525b1b6 | ||
|
|
e2a7f06795 | ||
|
|
9b510d0c44 | ||
|
|
288b66bdac | ||
|
|
1e979017d7 | ||
|
|
8a4e422612 | ||
|
|
29059634f0 | ||
|
|
79e144f59d | ||
|
|
6c129e3f5f | ||
|
|
2cee8b58d3 | ||
|
|
0d963457ec | ||
|
|
1349ba360d | ||
|
|
0cb24673dc | ||
|
|
e3351f7949 | ||
|
|
ec1522dc8a | ||
|
|
de9efc4c44 | ||
|
|
0b5a74ff1f | ||
|
|
d2a3aa2873 | ||
|
|
d8e5b4d6be | ||
|
|
704a99a9f1 | ||
|
|
1c57de2433 | ||
|
|
d677f84b96 | ||
|
|
70f8479045 | ||
|
|
97b479d026 | ||
|
|
9d6e11452b | ||
|
|
8266cc8348 | ||
|
|
949fc167a6 | ||
|
|
5c85351e9b | ||
|
|
a89cab3485 | ||
|
|
797b928fd7 | ||
|
|
46418837ab | ||
|
|
cc0388c4f8 | ||
|
|
1c38cd354b | ||
|
|
8028b85518 | ||
|
|
c9165b8a00 | ||
|
|
ac62036cc5 | ||
|
|
073d332886 | ||
|
|
c83863f6db | ||
|
|
e692e42350 | ||
|
|
64acf4b931 | ||
|
|
c561a1e8e9 | ||
|
|
e9ff5ba0ed | ||
|
|
7919710d8b | ||
|
|
2bd0a3303e | ||
|
|
e72b6906a1 | ||
|
|
f7c9743e60 | ||
|
|
4488ab71e9 | ||
|
|
3b224b4ec8 | ||
|
|
d03e355e54 | ||
|
|
5b7cec5ef1 | ||
|
|
6e2ad8a47d | ||
|
|
a6d2d77435 | ||
|
|
e452bb0a4f | ||
|
|
f680f0b4b5 | ||
|
|
a057b8a67b | ||
|
|
ccab2cac68 | ||
|
|
3f47cee192 | ||
|
|
02e13053ff | ||
|
|
d7021e9f0f | ||
|
|
0abe8a6f5a | ||
|
|
9703861815 | ||
|
|
ece8d359d2 | ||
|
|
9dcd5d8766 | ||
|
|
312a868273 | ||
|
|
b5dfbcc455 | ||
|
|
56a8f3090b | ||
|
|
95498c074c | ||
|
|
a0f2ff16a7 | ||
|
|
c2092dc567 | ||
|
|
5c95cd605a | ||
|
|
c5852f8b91 | ||
|
|
74609a1971 | ||
|
|
249e13f63a | ||
|
|
8f010ecc8a | ||
|
|
60b427fdea | ||
|
|
bdf7cb7dba | ||
|
|
fdc05db08b | ||
|
|
3981ed7b68 | ||
|
|
cc0bc33be3 | ||
|
|
7f3974e858 | ||
|
|
3ad5118e1a | ||
|
|
0b20874474 | ||
|
|
d12e33bfbb | ||
|
|
813bd35598 | ||
|
|
0f7aa9beb7 | ||
|
|
a2c3d4449c | ||
|
|
10eb9e5c1c | ||
|
|
c31575d866 | ||
|
|
6a162e95c1 | ||
|
|
060a4e0474 | ||
|
|
53761e8fc3 | ||
|
|
6c28c5e548 | ||
|
|
ee315ac967 | ||
|
|
06e8ec4db2 | ||
|
|
2fed7cf66e | ||
|
|
301fa27eef | ||
|
|
0ba404cd54 | ||
|
|
52c042de8e | ||
|
|
3f30f00a9c | ||
|
|
7df423afac | ||
|
|
86906997a6 | ||
|
|
89cae81577 | ||
|
|
2d1f571c07 | ||
|
|
7a093dc48d | ||
|
|
71acfb2cf0 | ||
|
|
e83b6d2c92 | ||
|
|
8ca54c2d9c | ||
|
|
3be0e2c8cd | ||
|
|
49a78b3747 | ||
|
|
879f1951a7 | ||
|
|
66307a7049 | ||
|
|
3bdd8ee4d9 | ||
|
|
eb0b682b08 | ||
|
|
efdbded407 | ||
|
|
8b3a3b74e2 | ||
|
|
6e751973b7 | ||
|
|
31206d88d1 | ||
|
|
5373a48357 | ||
|
|
f945463524 | ||
|
|
47832830d0 | ||
|
|
ff2458fb7d | ||
|
|
716aeb07fa | ||
|
|
a5a41c94a9 | ||
|
|
d3546aa3f7 | ||
|
|
7349b957c6 | ||
|
|
b1159b5678 | ||
|
|
1204dbfcbf | ||
|
|
8676c45194 | ||
|
|
828dba8296 | ||
|
|
8b55437171 | ||
|
|
1ab35eb889 | ||
|
|
d6f89ec0ba | ||
|
|
4f33972aab | ||
|
|
13f165ee1d | ||
|
|
db543419be | ||
|
|
18d0dfc608 | ||
|
|
e7dba14fc8 | ||
|
|
8dcba987d3 | ||
|
|
ca9f1ddfbe | ||
|
|
6f5b7d0651 | ||
|
|
8127ca2fcc | ||
|
|
5972b58101 | ||
|
|
a407963f0d | ||
|
|
51033d9dee | ||
|
|
c5a6335fcb | ||
|
|
5fe573fa7b | ||
|
|
9cf1207df6 | ||
|
|
006da345d4 | ||
|
|
abe8dee241 | ||
|
|
f624aaf38c | ||
|
|
ed57e6d242 | ||
|
|
9755a9a606 | ||
|
|
1715184f91 | ||
|
|
0d1f909f2e | ||
|
|
3d98b341a0 | ||
|
|
aad8aca1bd | ||
|
|
2b79ad7bfb | ||
|
|
4f30cf1695 | ||
|
|
debb49cd19 | ||
|
|
419e57ff39 | ||
|
|
ca6ae416b1 | ||
|
|
e3d611f433 | ||
|
|
5908ec8bca | ||
|
|
8894659e3f | ||
|
|
30666cbbc7 | ||
|
|
fd5d07160a | ||
|
|
24b8282c2f | ||
|
|
f5162f697c | ||
|
|
44f3c55623 | ||
|
|
1555e26137 | ||
|
|
d6b079ce1e | ||
|
|
d13865099f | ||
|
|
3e8f26e517 | ||
|
|
a8903f9d80 | ||
|
|
6829bce705 | ||
|
|
3b55128e71 | ||
|
|
be32ec65bb | ||
|
|
5f75019286 | ||
|
|
59e61330b7 | ||
|
|
75b2589b0d | ||
|
|
340400bd10 | ||
|
|
eab4c9ac9a | ||
|
|
eb05bb4fb0 | ||
|
|
804fc15db0 | ||
|
|
bd062a4a61 | ||
|
|
50ae796dff | ||
|
|
3ba4b996ea | ||
|
|
630e7388e2 | ||
|
|
97f4d61139 | ||
|
|
f3cf02361a | ||
|
|
829ea2d13b | ||
|
|
086c26f1e0 | ||
|
|
7b244f5a18 | ||
|
|
431e65d161 | ||
|
|
98ba0f608c | ||
|
|
5f3e401239 | ||
|
|
c90cbe5735 | ||
|
|
59b1b9c73d | ||
|
|
ed2a7cfbac | ||
|
|
65275bdd6b | ||
|
|
15cae48760 | ||
|
|
e6dece098a | ||
|
|
2288a37aec | ||
|
|
b6e55a89c3 | ||
|
|
aeb24b7653 | ||
|
|
5d664797f0 | ||
|
|
4fd2d55235 | ||
|
|
5a9000c3c9 | ||
|
|
d0625315bf | ||
|
|
3d78bf7c9e | ||
|
|
7978f9491f | ||
|
|
b271983629 | ||
|
|
62b149aab3 | ||
|
|
1e97fb0873 | ||
|
|
c179e39ab0 | ||
|
|
b6fc88bf80 | ||
|
|
f4200e059f | ||
|
|
417b59ad65 | ||
|
|
3ed596aca8 | ||
|
|
cf634df419 | ||
|
|
8aa12ce2b6 | ||
|
|
72ae5e02df | ||
|
|
ca1184b321 | ||
|
|
6777f6282b | ||
|
|
405bd8d037 | ||
|
|
fa5863e2ed | ||
|
|
f21b176cc0 | ||
|
|
5ad3dc5995 | ||
|
|
8e92d08fa6 | ||
|
|
3a25af1604 | ||
|
|
8465a5ca19 | ||
|
|
7989b6e3b2 | ||
|
|
422fbcd0b5 | ||
|
|
a9585c38ca | ||
|
|
615a5bf88d | ||
|
|
c51bd23d2f | ||
|
|
602a80dd00 | ||
|
|
170ae7ef27 | ||
|
|
9362fa3456 | ||
|
|
90b4192e1e | ||
|
|
c1d7441801 | ||
|
|
053928cedf | ||
|
|
a01afc29f9 | ||
|
|
4b7bc8fd96 | ||
|
|
366a6189e6 | ||
|
|
a262fd8bee | ||
|
|
881ccf2f0e | ||
|
|
7ba1ef3d35 | ||
|
|
6bf19a101f | ||
|
|
45e179a0f5 | ||
|
|
57c0200b3b | ||
|
|
862ff40322 | ||
|
|
d39ea1595a | ||
|
|
f7e6943f48 | ||
|
|
efa36c0b7e | ||
|
|
a963bcaf07 | ||
|
|
e423139dd9 | ||
|
|
c6504d92af | ||
|
|
08212ec6c9 | ||
|
|
93917c1aaa | ||
|
|
bfa25d153e | ||
|
|
6fe1b0bb83 | ||
|
|
c541467d72 | ||
|
|
4074513bb5 | ||
|
|
c0bb391ffe | ||
|
|
1f4e2d8865 | ||
|
|
21628db58c | ||
|
|
263565e2fa | ||
|
|
aec8161204 | ||
|
|
5451586360 | ||
|
|
e116962272 | ||
|
|
b4be739c0b | ||
|
|
61ab51687f | ||
|
|
a49bfa2c09 | ||
|
|
8e20ac5588 | ||
|
|
21848eec67 | ||
|
|
52dbb0a221 | ||
|
|
9795d7f25f | ||
|
|
e782e0ec24 | ||
|
|
d74bbea083 | ||
|
|
0e322b1dcf | ||
|
|
c14a233224 | ||
|
|
2daca2959a | ||
|
|
127bbab202 | ||
|
|
7797af6344 | ||
|
|
8dfd900d9a | ||
|
|
d3b51bf0b3 | ||
|
|
402551969c | ||
|
|
01e0cc5ad0 | ||
|
|
5616376cfa | ||
|
|
558c8573e6 | ||
|
|
a8dd7ba681 | ||
|
|
9f485aec82 | ||
|
|
121fd7aa1e | ||
|
|
105f9f1927 | ||
|
|
7414001f7f | ||
|
|
9ee29e6f9d | ||
|
|
c935c70c57 | ||
|
|
333dc130ef | ||
|
|
fa1f50b9dd | ||
|
|
51e983c432 | ||
|
|
ae19ff5e2c | ||
|
|
4ef46ef64e | ||
|
|
6c3b48a8d5 | ||
|
|
a23f1ee85a | ||
|
|
c99c0611ec | ||
|
|
379005421f | ||
|
|
7378a6db5d | ||
|
|
c37d8cd1aa | ||
|
|
d2aed15bf1 | ||
|
|
fd5cf95322 | ||
|
|
43435db219 | ||
|
|
4c903b491f | ||
|
|
fe7c6daf6e | ||
|
|
86ac0fc25e | ||
|
|
20a2a4502f | ||
|
|
2da6f94cc1 | ||
|
|
199d16de29 | ||
|
|
8400fc8e04 | ||
|
|
6314caaf66 | ||
|
|
98fdf90657 | ||
|
|
e9091c30fa | ||
|
|
eb5e225249 | ||
|
|
c9bbb9473d | ||
|
|
85cf33c567 | ||
|
|
1ba25cfec4 | ||
|
|
f324aefc42 | ||
|
|
5c0e6f66cb | ||
|
|
ed3cb47629 | ||
|
|
2b0832de03 | ||
|
|
2978a7c414 | ||
|
|
1c4d807c5c | ||
|
|
9ee64cb19c | ||
|
|
1869f772bb | ||
|
|
46e9d791ac | ||
|
|
3fc6b3130c | ||
|
|
23dabcdab7 | ||
|
|
dacd1a8788 | ||
|
|
e30a8adbba | ||
|
|
ca88f81c9b | ||
|
|
a8af6f32b1 | ||
|
|
81cbb79dfd | ||
|
|
c3021a0803 | ||
|
|
d966114293 | ||
|
|
cfa819cdaf | ||
|
|
563cef9c19 | ||
|
|
a9fc8fdc37 | ||
|
|
282d88128a | ||
|
|
e13a7498ba | ||
|
|
68c39475b4 | ||
|
|
e5cfd163a9 | ||
|
|
83e7a942bd | ||
|
|
7d749c551e | ||
|
|
0b67f12069 | ||
|
|
1225ef32e9 | ||
|
|
6d3d192ecc | ||
|
|
86aa6a5101 | ||
|
|
0ac3fde2a0 | ||
|
|
2bcbb5dbbd | ||
|
|
8bb8b345b8 | ||
|
|
223551cb7d | ||
|
|
997218e884 | ||
|
|
d69b0c6797 | ||
|
|
63410b0d7d | ||
|
|
25fe609990 | ||
|
|
31230d6565 | ||
|
|
bc161e78d5 | ||
|
|
39346482f3 | ||
|
|
0d6abfce68 | ||
|
|
5ef218d42c | ||
|
|
c393408579 | ||
|
|
9a023de650 | ||
|
|
1e3bfa8147 | ||
|
|
d661450ddd | ||
|
|
2cc26ca72e | ||
|
|
abcd621c83 | ||
|
|
621a771236 | ||
|
|
eca428033c | ||
|
|
03ad4e6aad | ||
|
|
20d7c84552 | ||
|
|
3bc015c589 | ||
|
|
cddbbbde67 | ||
|
|
b8b8cda78d | ||
|
|
28a7a69f2e | ||
|
|
0503879237 | ||
|
|
257ea6dd30 | ||
|
|
ea8afa2e1a | ||
|
|
f65dc3c744 | ||
|
|
adb4975573 | ||
|
|
9f2a3bf8eb | ||
|
|
7d8ebf3a7d | ||
|
|
05038dbaab | ||
|
|
1dc36e4439 | ||
|
|
818a4674fd | ||
|
|
4a92b3bda8 | ||
|
|
6cc59e99ed | ||
|
|
c397506bfb | ||
|
|
1a1266777d | ||
|
|
fcfcc18dd5 | ||
|
|
356a55eb92 | ||
|
|
38f599a448 | ||
|
|
af4045755b | ||
|
|
ea8d678ced | ||
|
|
3b7a40608d | ||
|
|
6330e00be4 | ||
|
|
f76c3c442d | ||
|
|
d713c78826 | ||
|
|
aecaf18a91 | ||
|
|
bd3b452631 | ||
|
|
6dd3e79543 | ||
|
|
41dcc5dec0 | ||
|
|
0942adc888 | ||
|
|
0c93abff65 | ||
|
|
53f4eff781 | ||
|
|
a7424e706c | ||
|
|
639a122758 | ||
|
|
fc6e01a0a6 | ||
|
|
93f6afa869 | ||
|
|
723ab8f352 | ||
|
|
9576cfc7df | ||
|
|
2deaed9a63 | ||
|
|
98434ca154 | ||
|
|
0cfb415c72 | ||
|
|
c81aba7760 | ||
|
|
fb278b0b9a | ||
|
|
d25cd4f126 | ||
|
|
045a6ac28c | ||
|
|
8f10496200 | ||
|
|
624b0cf602 | ||
|
|
f3afbc089e | ||
|
|
b6151d8cbc | ||
|
|
ac63826213 |
@ -1,10 +1,10 @@
|
||||
> 1%
|
||||
last 2 versions
|
||||
not dead
|
||||
chrome > 100
|
||||
edge > 100
|
||||
firefox > 103
|
||||
safari > 15
|
||||
chrome > 105
|
||||
edge > 105
|
||||
firefox > 127
|
||||
safari > 15.4
|
||||
not and_chr > 0
|
||||
not and_ff > 0
|
||||
not and_qq > 0
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
packages/
|
||||
typings/
|
||||
dist/
|
||||
**/dist/
|
||||
dev/
|
||||
node_modules/
|
||||
!.github-json/
|
||||
|
||||
@ -46,6 +46,7 @@ module.exports = {
|
||||
},
|
||||
],
|
||||
|
||||
'vue/multi-word-component-names': 'off',
|
||||
'vue/max-attributes-per-line': 'off',
|
||||
'vue/html-self-closing': 'off',
|
||||
'vue/no-v-html': 'off',
|
||||
@ -83,6 +84,7 @@ module.exports = {
|
||||
'lines-between-class-members': 'off',
|
||||
radix: ['error', 'as-needed'],
|
||||
'max-classes-per-file': 'off',
|
||||
'class-methods-use-this': 'off',
|
||||
'prefer-destructuring': [
|
||||
'error',
|
||||
{
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
"id": "feature",
|
||||
"attributes": {
|
||||
"label": "对应功能",
|
||||
"description": "(指本脚本的某项具体功能, 不是指 b 站的) 可以在设置中尝试开启 / 关闭某项功能来排查. 最好能附上功能的 Commit 值 (在设置里功能选项的底部).\n<img src=\"https://user-images.githubusercontent.com/26504152/152666017-8a5acabc-2ad1-47ef-b0a2-cd5c54c867ab.jpg\" width=\"400\">\n请注意: 以下功能已不再维护 (不再修复 bug 和添加新功能), 但是你仍然可以为其提供 Pull Request.\n- 直播间自动抽奖\n- 默认播放器模式\n- 播放器置顶\n- 播放器定位\n",
|
||||
"description": "(指本脚本的某项具体功能, 不是指 b 站的) 可以在设置中尝试开启 / 关闭某项功能来排查. 最好能附上功能的 Commit 值 (在设置里功能选项的底部).\n<img src=\"https://user-images.githubusercontent.com/26504152/152666017-8a5acabc-2ad1-47ef-b0a2-cd5c54c867ab.jpg\" width=\"400\">\n如果组件包含作者的信息 (by @xxx), 请在这里 at 他们\n请注意: 以下功能已不再维护 (不再修复 bug 和添加新功能), 但是你仍然可以为其提供 Pull Request.\n- 直播间自动抽奖\n- 默认播放器模式\n- 播放器置顶\n- 播放器定位\n",
|
||||
"placeholder": "请输入"
|
||||
},
|
||||
"validations": {
|
||||
|
||||
@ -1,10 +1,12 @@
|
||||
{
|
||||
"name": "Build",
|
||||
"on": {
|
||||
"workflow_dispatch": null,
|
||||
"push": {
|
||||
"branches": [
|
||||
"master",
|
||||
"master-cdn"
|
||||
"master-cdn",
|
||||
"preview"
|
||||
]
|
||||
}
|
||||
},
|
||||
@ -13,16 +15,19 @@
|
||||
"runs-on": "ubuntu-latest",
|
||||
"steps": [
|
||||
{
|
||||
"uses": "actions/checkout@v2",
|
||||
"uses": "actions/checkout@v3",
|
||||
"with": {
|
||||
"fetch-depth": "0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Setup git",
|
||||
"run": "git config --local user.email github-actions[bot]@users.noreply.github.com\ngit config --local user.name github-actions[bot]\ngit config --global core.autocrlf true\ngit config --global core.safecrlf false"
|
||||
},
|
||||
{
|
||||
"name": "Install dependencies",
|
||||
"uses": "pnpm/action-setup@v2.2.4",
|
||||
"uses": "pnpm/action-setup@v4",
|
||||
"with": {
|
||||
"version": "latest",
|
||||
"run_install": true
|
||||
}
|
||||
},
|
||||
@ -42,14 +47,10 @@
|
||||
"name": "Build features",
|
||||
"run": "cd registry\npnpm install\ncd ../\npnpm run build-features\n"
|
||||
},
|
||||
{
|
||||
"name": "Build GitHub config",
|
||||
"run": "pnpm run build-github-config"
|
||||
},
|
||||
{
|
||||
"name": "Git commit",
|
||||
"id": "commit",
|
||||
"run": "git config --local user.email github-actions[bot]@users.noreply.github.com\ngit config --local user.name github-actions[bot]\ngit config --global core.autocrlf true\ngit config --global core.safecrlf false\ngit add --all\ngit commit -m \"CI build\"\n",
|
||||
"run": "git add --all\ngit commit -m \"CI build\"\n",
|
||||
"continue-on-error": true
|
||||
},
|
||||
{
|
||||
|
||||
@ -8,16 +8,15 @@
|
||||
"runs-on": "ubuntu-latest",
|
||||
"steps": [
|
||||
{
|
||||
"uses": "actions/checkout@v2",
|
||||
"uses": "actions/checkout@v3",
|
||||
"with": {
|
||||
"ref": "${{ github.event.pull_request.head.sha }}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Install dependencies",
|
||||
"uses": "pnpm/action-setup@v2.2.4",
|
||||
"uses": "pnpm/action-setup@v4",
|
||||
"with": {
|
||||
"version": "latest",
|
||||
"run_install": true
|
||||
}
|
||||
},
|
||||
|
||||
1
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
1
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
@ -13,6 +13,7 @@ body:
|
||||
description: |
|
||||
(指本脚本的某项具体功能, 不是指 b 站的) 可以在设置中尝试开启 / 关闭某项功能来排查. 最好能附上功能的 Commit 值 (在设置里功能选项的底部).
|
||||
<img src="https://user-images.githubusercontent.com/26504152/152666017-8a5acabc-2ad1-47ef-b0a2-cd5c54c867ab.jpg" width="400">
|
||||
如果组件包含作者的信息 (by @xxx), 请在这里 at 他们
|
||||
请注意: 以下功能已不再维护 (不再修复 bug 和添加新功能), 但是你仍然可以为其提供 Pull Request.
|
||||
- 直播间自动抽奖
|
||||
- 默认播放器模式
|
||||
|
||||
19
.github/workflows/build.yml
vendored
19
.github/workflows/build.yml
vendored
@ -1,20 +1,27 @@
|
||||
name: Build
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- master-cdn
|
||||
- preview
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: "0"
|
||||
- name: Setup git
|
||||
run: |-
|
||||
git config --local user.email github-actions[bot]@users.noreply.github.com
|
||||
git config --local user.name github-actions[bot]
|
||||
git config --global core.autocrlf true
|
||||
git config --global core.safecrlf false
|
||||
- name: Install dependencies
|
||||
uses: pnpm/action-setup@v2.2.4
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: latest
|
||||
run_install: true
|
||||
- name: Type check
|
||||
run: pnpm run type
|
||||
@ -28,15 +35,9 @@ jobs:
|
||||
pnpm install
|
||||
cd ../
|
||||
pnpm run build-features
|
||||
- name: Build GitHub config
|
||||
run: pnpm run build-github-config
|
||||
- name: Git commit
|
||||
id: commit
|
||||
run: |
|
||||
git config --local user.email github-actions[bot]@users.noreply.github.com
|
||||
git config --local user.name github-actions[bot]
|
||||
git config --global core.autocrlf true
|
||||
git config --global core.safecrlf false
|
||||
git add --all
|
||||
git commit -m "CI build"
|
||||
continue-on-error: true
|
||||
|
||||
5
.github/workflows/pull-request-check.yml
vendored
5
.github/workflows/pull-request-check.yml
vendored
@ -5,13 +5,12 @@ jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
- name: Install dependencies
|
||||
uses: pnpm/action-setup@v2.2.4
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: latest
|
||||
run_install: true
|
||||
- name: Type check
|
||||
run: pnpm run type
|
||||
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@ -8,3 +8,4 @@ dist/profile.json
|
||||
dist/bilibili-evolved.dev.user.js
|
||||
registry/dist/doc.js
|
||||
dev-tools/**/dist/
|
||||
.idea
|
||||
|
||||
14
.vscode/settings.json
vendored
14
.vscode/settings.json
vendored
@ -16,6 +16,7 @@
|
||||
"cSpell.words": [
|
||||
"afterbegin",
|
||||
"afterend",
|
||||
"akari",
|
||||
"BALH",
|
||||
"Bangumi",
|
||||
"bevo",
|
||||
@ -27,10 +28,12 @@
|
||||
"bofqi",
|
||||
"BVID",
|
||||
"camelcase",
|
||||
"cascader",
|
||||
"clipboardy",
|
||||
"cntr",
|
||||
"compositionend",
|
||||
"compositionstart",
|
||||
"contenteditable",
|
||||
"csrf",
|
||||
"ctnr",
|
||||
"Danmaku",
|
||||
@ -43,10 +46,12 @@
|
||||
"durl",
|
||||
"epid",
|
||||
"esbuild",
|
||||
"ffmetadata",
|
||||
"flac",
|
||||
"Fullscreen",
|
||||
"githubusercontent",
|
||||
"Greasemonkey",
|
||||
"guochuang",
|
||||
"haruna",
|
||||
"hdslb",
|
||||
"HEVC",
|
||||
@ -62,6 +67,7 @@
|
||||
"linebreak",
|
||||
"Liveroom",
|
||||
"materialdesignicons",
|
||||
"matroska",
|
||||
"medialist",
|
||||
"mimetype",
|
||||
"minmax",
|
||||
@ -76,6 +82,7 @@
|
||||
"preload",
|
||||
"protobuf",
|
||||
"pubdate",
|
||||
"rcount",
|
||||
"reimu",
|
||||
"reloadable",
|
||||
"reloadables",
|
||||
@ -84,6 +91,7 @@
|
||||
"reposts",
|
||||
"Roadmap",
|
||||
"roomid",
|
||||
"rpid",
|
||||
"saturationv",
|
||||
"Sendbar",
|
||||
"sortablejs",
|
||||
@ -91,15 +99,19 @@
|
||||
"superchat",
|
||||
"Swiper",
|
||||
"tabindex",
|
||||
"tagid",
|
||||
"Tampermonkey",
|
||||
"Touhou",
|
||||
"truetype",
|
||||
"uname",
|
||||
"usercard",
|
||||
"userscript",
|
||||
"Violentmonkey",
|
||||
"vnode",
|
||||
"Vuex",
|
||||
"Wasm",
|
||||
"watchlater",
|
||||
"webfullscreen",
|
||||
"woff",
|
||||
"xmlhttp"
|
||||
],
|
||||
@ -128,6 +140,6 @@
|
||||
"*.tsx": "${capture}.ts",
|
||||
"tsconfig.json": "tsconfig.*.json",
|
||||
"package.json": "package-lock.json, yarn.lock, pnpm-lock.yaml, .*",
|
||||
"index.ts": "index.*.ts, index.md, index.*.md",
|
||||
"index.ts": "index.*.ts, index.md, index.*.md"
|
||||
}
|
||||
}
|
||||
|
||||
884
CHANGELOG.md
884
CHANGELOG.md
@ -1,5 +1,889 @@
|
||||
<!-- spell-checker: disable -->
|
||||
# 更新日志
|
||||
|
||||
## v2.10.4-preview
|
||||
`2025-09-11`
|
||||
|
||||
包含 [v2.10.4](https://github.com/the1812/Bilibili-Evolved/releases/tag/v2.10.4) 的所有更新内容.
|
||||
|
||||
✨新增
|
||||
- 新增组件 `定制自动连播行为`, 可根据自动连播视频类型分别配置. (PR #5303 by [wsgh0202](https://github.com/wsgh0202))
|
||||
- `网址参数清理` 新增选项 `清理页面中的 A 标签`. (PR #5339 by [WakelessSloth56](https://github.com/WakelessSloth56), [LainIO24](https://github.com/lainio24))
|
||||
- `保存视频元数据` 支持标签和番剧信息, 支持番剧OPED转换为章节. (PR #5355 by [WakelessSloth56](https://github.com/WakelessSloth56), [LainIO24](https://github.com/lainio24))
|
||||
- 新增组件 `替换标题党封面`, 可将视频卡片的封面替换为视频预览帧. (PR #5226 by [UcnacDx2](https://github.com/UcnacDx2))
|
||||
- 新增组件 `会员购链接转换`, 可将移动端的会员购链接转换为 PC 端的链接. (#5310)
|
||||
- `下载视频` 支持配置下载地址偏好. (#3234)
|
||||
- 搜索栏支持自动补全关键词和搜索历史. (#822)
|
||||
|
||||
## v2.10.4
|
||||
`2025-09-11`
|
||||
|
||||
✨新增
|
||||
- `隐藏用户信息卡片` 适配新版评论区. (#5324, PR #5327 by [WakelessSloth56](https://github.com/WakelessSloth56))
|
||||
|
||||
🐛修复
|
||||
- 修复 `隐藏首页轮播图` 失效. (PR #5287 by [wsgh0202](https://github.com/wsgh0202))
|
||||
- 修复 `删除广告` 在首页无法屏蔽部分广告, 新增移除占位的选项. (PR #5307, #5309 by [wsgh0202](https://github.com/wsgh0202))
|
||||
- 修复部分功能未能识别主站分区页面的问题.
|
||||
- 修复 `下载表情` 失效. (#5320, PR #5325 by [Pencil](https://github.com/pencilqaq))
|
||||
- 修复 `点亮粉丝勋章` 在原版直播间失效. (PR #5328 by [k](https://github.com/kkkkkkkk566))
|
||||
- 修复 `清爽首页` 中的国创分区内容显示错误. (#5292)
|
||||
- 修复 `评论内容替换` 在 Firefox 中不生效. (#4843)
|
||||
- `夜间模式` 排除商家平台 (`shop.bilibili.com`). (PR #5354 by [ImAyxs](https://github.com/Ayx03))
|
||||
|
||||
## v2.10.3-preview
|
||||
`2025-07-22`
|
||||
|
||||
包含 [v2.10.3](https://github.com/the1812/Bilibili-Evolved/releases/tag/v2.10.3) 的所有更新内容.
|
||||
|
||||
- 新增 `深色模式` 组件, 用于跟随 b 站官方的内测深色模式. (#5272)
|
||||
> 脚本自身的元素配色也会逐步适配官方的配色, 目前仅适配设置面板、自定义顶栏和动态首页中的元素
|
||||
|
||||
- `插件 - 下载视频 - WASM 混流输出` 修正下载限制为 2GB, 新增下载速度和剩余时间显示. (#5102, PR #5233 by [WakelessSloth56](https://github.com/WakelessSloth56))
|
||||
- `弹幕空降` 支持识别中文数字, 修复对特殊弹幕未触发的问题. (PR #5265 by [fixfeat](https://github.com/fixfeat))
|
||||
- 新增 `视频预览放大` 组件. (PR #5281 by [wsgh0202](https://github.com/wsgh0202))
|
||||
> 放大鼠标悬停于视频卡片时播放的 5 分钟预览
|
||||
>
|
||||
> - 点击放大镜图标放大预览
|
||||
> - 点击缩小图标或者预览框外空白处关闭预览
|
||||
|
||||
## v2.10.3
|
||||
`2025-07-22`
|
||||
|
||||
<details>
|
||||
<summary>正式版用户将获得 v2.10.1-preview ~ v2.10.2-preview 的所有改动, 点击展开查看</summary>
|
||||
|
||||
- 新增 `稍后再看页面-重定向` 组件. (PR #5205 by [undefined](https://github.com/magicFeirl))
|
||||
> 重定向**稍后再看页面**到普通视频页面,和`稍后再看重定向`组件的区别在于,该组件是在进入稍后再看的视频页面后进行重定向,而非直接替换链接到普通视频的链接,用于补充`稍后再看重定向`组件的功能。
|
||||
|
||||
- `隐藏热搜` 支持隐藏直播间搜索框的热搜. (PR #5207 by [undefined](https://github.com/magicFeirl))
|
||||
- 修复 `视频链接增强` 对 niconico 链接的处理. (PR #5215 by [Alan Ye](https://github.com/at-wr))
|
||||
- 新增 `动态分组过滤` 组件. (PR #5217 by [Rinne](https://github.com/OharaRinneY))
|
||||
> 按照关注分组筛选动态
|
||||
|
||||
- `直播信息扩充` 支持配置置顶和隐藏的关注列表. (#5183)
|
||||
- 新增组件 `一键点亮直播间粉丝勋章`. (PR #5171 by [undefined](https://github.com/magicFeirl))
|
||||
> 在直播间页面的功能面板添加一键点亮粉丝勋章功能,仅适用于有粉丝勋章且正在直播的直播间。原理:发送一个 300 次点赞的请求点亮粉丝勋章。
|
||||
|
||||
- 新增组件 `下载表情`. (PR #5176 by [Pencil](https://github.com/pencilqaq))
|
||||
> 支持下载 up 主专属表情包,处于任意直播间页面时,下载按钮会在 `功能` 面板显示,以压缩包形式保存。
|
||||
|
||||
- 新增组件 `视频链接增强`. (PR #5197 by [Alan Ye](https://github.com/at-wr))
|
||||
> 这个组件会将视频简介中的普通网址转换为可点击的链接,并将<del>被 Bilibili 抛弃</del>已失效的 `acg.tv` 跳转链接修复为 `nicovideo.jp` 链接。
|
||||
>
|
||||
> 例如: `https://acg.tv/sm37507315` → `https://www.nicovideo.jp/watch/sm37507315`
|
||||
>
|
||||
> <i>本组件不会保证目标链接的安全性,因此在点击前请自行验证其是否可信</i>
|
||||
|
||||
- `自定义顶栏` 新增 `使用主题色 Logo` 选项, 关闭时可以使用黑白纯色的 Logo. (#4996)
|
||||
- `自定义顶栏` 更新 `游戏中心`, `漫画`, `赛事` 的弹窗, 废弃 `直播` 的弹窗. (#5055)
|
||||
|
||||
</details>
|
||||
|
||||
- 修复 `隐藏首页轮播图` 失效, 并增加了一些局部元素控制功能. (PR #5287 by [wsgh0202](https://github.com/wsgh0202))
|
||||
|
||||
(以下其实都是 6 月就更新了, 只要你的 `自动更新器` 正常使用, 应该早已收到更新了, 这些改动无需更新本体)
|
||||
|
||||
✨新增
|
||||
- `显示视频投稿时间` 支持在合集类页面显示. (#5247, PR #5266 by [呼乎户](https://github.com/wisokey))
|
||||
- `动态过滤` 支持过滤新出现的热搜面板. (#5273, PR #5276 by [Whalko](https://github.com/RtYkk))
|
||||
|
||||
🐛修复
|
||||
- 修复 `夜间模式` 在首页 svg 图标的颜色. (PR #5240 by [hyrious](https://github.com/hyrious))
|
||||
- 修复 `自动移出稍后再看` 重复调用接口的 bug. (PR #5241 by [sunfkny](https://github.com/sunfkny))
|
||||
- 修复 `关注时间显示` 失效. (#5096, #5212, PR #5282 by [CNOCM](https://github.com/CNOCM))
|
||||
|
||||
|
||||
## v2.10.2-preview
|
||||
`2025-05-30`
|
||||
|
||||
包含 [v2.10.2](https://github.com/the1812/Bilibili-Evolved/releases/tag/v2.10.2) 的所有更新内容.
|
||||
|
||||
- 新增 `稍后再看页面-重定向` 组件. (PR #5205 by [undefined](https://github.com/magicFeirl))
|
||||
> 重定向**稍后再看页面**到普通视频页面,和`稍后再看重定向`组件的区别在于,该组件是在进入稍后再看的视频页面后进行重定向,而非直接替换链接到普通视频的链接,用于补充`稍后再看重定向`组件的功能。
|
||||
|
||||
- `隐藏热搜` 支持隐藏直播间搜索框的热搜. (PR #5207 by [undefined](https://github.com/magicFeirl))
|
||||
- 修复 `视频链接增强` 对 niconico 链接的处理. (PR #5215 by [Alan Ye](https://github.com/at-wr))
|
||||
- 新增 `动态分组过滤` 组件. (PR #5217 by [Rinne](https://github.com/OharaRinneY))
|
||||
> 按照关注分组筛选动态
|
||||
|
||||
- `直播信息扩充` 支持配置置顶和隐藏的关注列表. (#5183)
|
||||
|
||||
|
||||
## v2.10.2
|
||||
`2025-05-30`
|
||||
|
||||
✨新增
|
||||
- 更新历史记录页面的链接至 `https://www.bilibili.com/history`. (#5218)
|
||||
- `删除视频弹窗` 支持屏蔽新型的流畅度反馈弹窗.
|
||||
- 优化了个人空间的夜间模式.
|
||||
|
||||
🐛修复
|
||||
- 修复 `快捷键扩展` 在 Firefox 中聚焦播放器后失效. (#5225)
|
||||
- 修复 `动态过滤器` 对合集 / 课程类型的过滤, 恢复失效的 `自转发` 类型. (#5135, #5229)
|
||||
- 修复 `禁用特殊弹幕样式` 对大会员弹幕失效. (#5208)
|
||||
- 修复 `自动点赞` 对黑名单无效. (#5221, PR #5222 by [CrazyboyQCD](https://github.com/CrazyboyQCD))
|
||||
- 修复 `清爽首页` 中失效的排行榜数据, 部分视频的描述未展示, 以及视频的封面比例不正确. (#5211)
|
||||
|
||||
☕开发者相关
|
||||
- 修复组件中新创建的数组类型选项没有保存到脚本管理器的存储中.
|
||||
|
||||
## v2.10.1-preview
|
||||
`2025-04-09`
|
||||
|
||||
包含 [v2.10.1](https://github.com/the1812/Bilibili-Evolved/releases/tag/v2.10.1) 的所有更新内容.
|
||||
|
||||
- 新增组件 `一键点亮直播间粉丝勋章`. (PR #5171 by [undefined](https://github.com/magicFeirl))
|
||||
> 在直播间页面的功能面板添加一键点亮粉丝勋章功能,仅适用于有粉丝勋章且正在直播的直播间。原理:发送一个 300 次点赞的请求点亮粉丝勋章。
|
||||
|
||||
- 新增组件 `下载表情`. (PR #5176 by [Pencil](https://github.com/pencilqaq))
|
||||
> 支持下载 up 主专属表情包,处于任意直播间页面时,下载按钮会在 `功能` 面板显示,以压缩包形式保存。
|
||||
|
||||
- 新增组件 `视频链接增强`. (PR #5197 by [Alan Ye](https://github.com/at-wr))
|
||||
> 这个组件会将视频简介中的普通网址转换为可点击的链接,并将<del>被 Bilibili 抛弃</del>已失效的 `acg.tv` 跳转链接修复为 `nicovideo.jp` 链接。
|
||||
>
|
||||
> 例如: `https://acg.tv/sm37507315` → `https://www.nicovideo.jp/watch/sm37507315`
|
||||
>
|
||||
> <i>本组件不会保证目标链接的安全性,因此在点击前请自行验证其是否可信</i>
|
||||
|
||||
- `自定义顶栏` 新增 `使用主题色 Logo` 选项, 关闭时可以使用黑白纯色的 Logo. (#4996)
|
||||
- `自定义顶栏` 更新 `游戏中心`, `漫画`, `赛事` 的弹窗, 废弃 `直播` 的弹窗. (#5055)
|
||||
|
||||
## v2.10.1
|
||||
`2025-04-09`
|
||||
|
||||
<details>
|
||||
<summary>正式版用户将获得 v2.9.6-preview ~ v2.10.0-preview 的所有改动, 点击展开查看</summary>
|
||||
|
||||
- 新增插件 `自定义顶栏 - 版权内容`. (#5045)
|
||||
> 为自定义顶栏扩充版权内容相关的快速入口, 包括国创 / 电影 / 电视剧 /综艺 / 纪录片
|
||||
|
||||
- 视频截图在还有截图未处理 (保存 / 丢弃) 时, 离开页面增加二次确认. (#5066)
|
||||
- `插件 - 下载视频 - WASM 混流输出` 在超过 4GB 时支持抛出错误提示. (PR #5102 by [WakelessSloth56](https://github.com/WakelessSloth56))
|
||||
- `自定义顶栏` 的透明填充在同时开启了全局固定时, 支持下拉后过渡到不透明状态. (#4996)
|
||||
- `自定义顶栏` 的弹窗增加了 0.2s 的触发延迟, 防止鼠标快速经过时误触. (#4949)
|
||||
- 废弃 `双击全屏` 组件, 本体也不再会屏蔽双击全屏. (#5095)
|
||||
|
||||
</details>
|
||||
|
||||
✨新增
|
||||
- 新增组件 `禁用双击全屏`. (#5095)
|
||||
> ⚠ 请注意 `双击全屏` 组件已废弃, 本体也不再会屏蔽双击全屏, 更新后可以直接卸载 `双击全屏` 组件
|
||||
|
||||
- `快捷键扩展` 的使用说明增加关于屏蔽 b 站自带快捷键的指南. (#5168)
|
||||
- `动态过滤器` 增加 `课程`, `直播`, `合集` 类型. (#5135)
|
||||
> 这些类型的支持是根据 b 站代码里的枚举加的, 我的动态里没有这些类型无法测试, 如果还有相关问题请继续在 #5135 中反馈
|
||||
|
||||
🐛修复
|
||||
- 修复 `快捷键扩展` 在聚焦元素相关的动作中出现失效的情况. (#5150, #5153, #5174)
|
||||
- 修复 `启用快速收藏` 在存在和默认收藏夹同名的收藏夹时, 收藏到了错误的收藏夹. (#5151)
|
||||
- 修复 `图片批量导出` 在 Firefox 中导出动态图片时出现重复图片. (#5166)
|
||||
- 修复 `夜间模式` 导致登录时二维码扫码困难. (#5163, PR #5173 by [Pencil](https://github.com/pencilqaq))
|
||||
- 修复 `删除广告` 在搜索页出现的空位. (#5032)
|
||||
|
||||
|
||||
## v2.10.0-preview
|
||||
`2025-02-25`
|
||||
|
||||
包含 [v2.10.0](https://github.com/the1812/Bilibili-Evolved/releases/tag/v2.10.0) 的所有更新内容.
|
||||
|
||||
- `插件 - 下载视频 - WASM 混流输出` 在超过 4GB 时支持抛出错误提示. (PR #5102 by [WakelessSloth56](https://github.com/WakelessSloth56))
|
||||
- `自定义顶栏` 的透明填充在同时开启了全局固定时, 支持下拉后过渡到不透明状态. (#4996)
|
||||
- `自定义顶栏` 的弹窗增加了 0.2s 的触发延迟, 防止鼠标快速经过时误触. (#4949)
|
||||
- 废弃 `双击全屏` 组件, 本体也不再会屏蔽双击全屏. (#5095)
|
||||
|
||||
## v2.10.0
|
||||
`2025-02-25`
|
||||
|
||||
✨新增
|
||||
- 优化 `夜间模式` 在视频页和新版个人空间的适配. (#5121, #5115, PR #5116 by [Pencil](https://github.com/pencilqaq))
|
||||
- 动态相关功能支持在新版个人空间里使用. (#5112)
|
||||
- `稍后再看` 重定向支持在新版稍后再看列表页里使用. (#4951)
|
||||
|
||||
🐛修复
|
||||
- 对 `自定义顶栏` 的番剧区分了链接和弹窗两种形式, 避免重名. 若同时开启, 番剧弹窗将自动变为 "追番追剧". (#5087)
|
||||
- 修复 `图片批量导出` 在新版动态卡片上不生效. (#5098)
|
||||
- 修复 `删除广告` 在视频页清理不干净. (#5110)
|
||||
- 修复 `快捷键扩展` 导致在视频页使用方向键选择搜索建议时, 触发了音量调整. (#5119)
|
||||
- 修复 `高分辨率图片` 导致部分图片比例不正确 (#5103)
|
||||
> 因为 b 站自身基本已经普及 2x 缩放的图片, 如果你的系统缩放比例小于等于 200%, 也不需要在专栏中请求原图, 则可以删除 `高分辨率图片` 组件. `高分辨率图片` 改为只对 200% 缩放以上的屏幕请求更高分辨率的图片.
|
||||
|
||||
- 修复 `自定义顶栏` 的排序设置在重新登录后乱序. (#5099)
|
||||
- 修复关闭再打开 `自定义顶栏` 后, 其布局设置的界面异常.
|
||||
- 修复注入到播放器控制栏按钮的相关功能不生效.
|
||||
|
||||
☕开发者相关
|
||||
- 优化关于启动 `dev-server` 的文档. (PR #5130 by [undefined](https://github.com/magicFeirl))
|
||||
- pnpm 升级至 v10, 启用 corepack.
|
||||
|
||||
🗑️废弃
|
||||
- 废弃 `签到助手` 中的 `直播间签到`, 因为直播间签到已被 b 站下线.
|
||||
|
||||
|
||||
## v2.9.6-preview
|
||||
`2024-12-28`
|
||||
|
||||
包含 [v2.9.6](https://github.com/the1812/Bilibili-Evolved/releases/tag/v2.9.6) 的所有更新内容.
|
||||
|
||||
- 新增插件 `自定义顶栏 - 版权内容`. (#5045)
|
||||
> 为自定义顶栏扩充版权内容相关的快速入口, 包括国创 / 电影 / 电视剧 /综艺 / 纪录片
|
||||
|
||||
- 视频截图在还有截图未处理 (保存 / 丢弃) 时, 离开页面增加二次确认. (#5066)
|
||||
|
||||
## v2.9.6
|
||||
`2024-12-28`
|
||||
|
||||
✨新增
|
||||
- `自定义顶栏` 更新:
|
||||
- (来自 v2.9.5-preview) 历史支持手动刷新. (#4948)
|
||||
- 全局固定适配话题页. (#5039)
|
||||
- 新歌热榜 URL 更新. (#5056)
|
||||
- `订阅` 重命名为 `番剧`, 功能不变. (#4777)
|
||||
- 增加 VLOG, 搞笑, 综艺, 单机游戏入口. (#1511)
|
||||
- `传统连播模式` 支持番剧页面. (#5067)
|
||||
- `下载视频` 增加选项 `DASH 回退编码`, 默认回退到 AVC, 可以避免 HEVC 回退到 AV1 的情况. (#5080)
|
||||
- 新增功能 `隐藏首页轮播图`. (从上一版本废弃的 `简化首页` 中提取) (#5038)
|
||||
- `夜间模式` 优化对动态和新版首页的适配. (#5075)
|
||||
|
||||
🐛修复
|
||||
- 修复 `隐藏头像框` 对部分角标删除不完全. (#5040)
|
||||
- 修复 `自定义顶栏` 删除搜索历史时失焦. (#4732)
|
||||
- 修复 `自定义顶栏` 未登录时仍能通过功能面板进行排序. (#5051)
|
||||
- 修复 `自定义顶栏` 收藏夹的音频链接错误. (#5069)
|
||||
- 修复在搜索页的样式冲突. (#5073)
|
||||
- 修复 `直播首页静音` 在关闭时仍会导致首页静音. (#5045)
|
||||
- 修复 `禁止滚轮调音量` 在 Firefox 中不生效. (#5047)
|
||||
- 回退 `直播信息扩充` 的 API 变更. (#4964)
|
||||
|
||||
## v2.9.5-preview
|
||||
`2024-11-12`
|
||||
|
||||
包含 [v2.9.5](https://github.com/the1812/Bilibili-Evolved/releases/tag/v2.9.5) 的所有更新内容.
|
||||
|
||||
- `自定义顶栏` 的历史支持手动刷新. (#4948)
|
||||
|
||||
## v2.9.5
|
||||
`2024-11-12`
|
||||
|
||||
<details>
|
||||
<summary>正式版用户将获得 v2.9.4-preview 的所有改动, 点击展开查看</summary>
|
||||
|
||||
✨新增
|
||||
- 新增组件 `隐藏头像框`.
|
||||
> 隐藏页面中用户的头像框 (包括角标), 目前支持动态和视频页面.
|
||||
|
||||
- 新增组件 `隐藏直播马赛克`. (#4634)
|
||||
> 移除直播画面中的马赛克区域.
|
||||
|
||||
- 优化了搜索框的搜索建议精准度. (#4833)
|
||||
- 新增组件 `删除动态`. (PR #4915 by [gouzil](https://github.com/gouzil))
|
||||
> 删除动态, 可选转发抽奖, 和全部删除.
|
||||
|
||||
- `保存视频元数据` 增加 FFMETADATA 字段选项. (PR #4943 by [WakelessSloth56](https://github.com/WakelessSloth56))
|
||||
- 新增组件 `评论内容替换`. (#4072)
|
||||
> 替换评论中的内容.
|
||||
> 可以添加多个替换配置, 每项配置可将一个关键词替换为其他文本. 若替换的目标是一个链接, 则视作替换为表情.
|
||||
>
|
||||
|
||||
- `直播信息扩充` 更换新的 API 接口. (PR #4964 by [Oxygenくん](https://github.com/oxygenkun))
|
||||
|
||||
</details>
|
||||
|
||||
✨新增
|
||||
- 新版视频推荐适配组件:
|
||||
- `显示视频投稿时间` (#4934, PR #4960 by [呼乎户](https://github.com/wisokey))
|
||||
- `隐藏视频推荐`
|
||||
- `选集区域优化`, 其中 `展开选集标题` 选项还可恢复分 P 数的展示
|
||||
- `传统连播模式`
|
||||
- `展开弹幕列表` - `有选集时不自动展开`
|
||||
- 优化在线仓库中的搜索逻辑和搜索为空的提示. (#4975, #4973)
|
||||
- `自定义顶栏` 的历史支持显示分 P 数信息. (#1866)
|
||||
- `删除广告` 更新对首页浮窗广告的屏蔽. (#5001)
|
||||
|
||||
🐛修复
|
||||
- 修复 `简化直播间` 付费礼物屏蔽失效. (#4968)
|
||||
- 修复动态菜单中的扩展菜单项失效. (#4976)
|
||||
- `夜间模式` 排除工房页面, 避免文字难以阅读. (#4981)
|
||||
- `自定义顶栏` 移除已下线的 `短剧榜` 入口. (#4987)
|
||||
- 修复 `删除广告` 导致直播间和个人空间里的动态显示不出来. (#5003)
|
||||
- 修复 `网址参数清理` 对需转义的字符处理不正确. (#5009)
|
||||
- 修复组件描述在部分页面的标题颜色不正确. (#4995)
|
||||
- 修复 `禁止跳转动态详情` 在带图转发动态二次转发后, 查看图片按钮失效. (PR #4980 by [sunfkny](https://github.com/sunfkny))
|
||||
- 插件 `下载视频 - WASM 混流输出` 修复写入元数据选项, 新增混流进度, 优化多集下载. (#4840, PR #4984 by [WakelessSloth56](https://github.com/WakelessSloth56))
|
||||
|
||||
☕开发者相关
|
||||
- `自定义顶栏` 未登录时的阿卡林头像转为内置. (感觉说不定 b 站哪天就把这图删了)
|
||||
|
||||
🗑️废弃
|
||||
- 废弃 `简化首页` 功能, 请使用 [BewlyBewly](https://github.com/BewlyBewly/BewlyBewly) 替代.
|
||||
|
||||
## v2.9.4-preview
|
||||
`2024-10-22`
|
||||
|
||||
包含 [v2.9.4](https://github.com/the1812/Bilibili-Evolved/releases/tag/v2.9.4) 的所有更新内容.
|
||||
|
||||
✨新增
|
||||
- 新增组件 `隐藏头像框`.
|
||||
> 隐藏页面中用户的头像框 (包括角标), 目前支持动态和视频页面.
|
||||
|
||||
- 新增组件 `隐藏直播马赛克`. (#4634)
|
||||
> 移除直播画面中的马赛克区域.
|
||||
|
||||
- 优化了搜索框的搜索建议精准度. (#4833)
|
||||
- 新增组件 `删除动态`. (PR #4915 by [gouzil](https://github.com/gouzil))
|
||||
> 删除动态, 可选转发抽奖, 和全部删除.
|
||||
|
||||
- `保存视频元数据` 增加 FFMETADATA 字段选项. (PR #4943 by [WakelessSloth56](https://github.com/WakelessSloth56))
|
||||
- 新增组件 `评论内容替换`. (#4072)
|
||||
> 替换评论中的内容.
|
||||
> 可以添加多个替换配置, 每项配置可将一个关键词替换为其他文本. 若替换的目标是一个链接, 则视作替换为表情.
|
||||
>
|
||||
|
||||
- `直播信息扩充` 更换新的 API 接口. (PR #4964 by [Oxygenくん](https://github.com/oxygenkun))
|
||||
|
||||
## v2.9.4
|
||||
`2024-10-22`
|
||||
|
||||
✨新增
|
||||
- `屏蔽黑名单up主` 去除了登录校验. (#4917, PR #4926 by [snowraincloud](https://github.com/snowraincloud))
|
||||
- `图片批量导出` 适配新型的图片动态. (#4830)
|
||||
- 更新评论区的 `夜间模式`. (#4931)
|
||||
|
||||
🐛修复
|
||||
- 修复 StreamSaver 和 ffmpeg WASM 的 SRI 校验问题. (#4913, #4864)
|
||||
- 修复下载合集时 BV 号命名重复. (#4818)
|
||||
- 修复 `删除广告` 去除首页广告时没有遵循 `占位文本` 选项. (#4836)
|
||||
- 修复 `自定义顶栏` 历史面板中的多余 title 提示. (#4962)
|
||||
- 修复下载弹幕时播放器设置没有正确读取. (#4824)
|
||||
|
||||
🗑️废弃
|
||||
- `自定义顶栏` 删除 `相簿` 入口.
|
||||
|
||||
☕开发者相关
|
||||
- 修复 DevClient 无法重载 Shadow DOM 样式.
|
||||
|
||||
## v2.9.3-preview
|
||||
`2024-09-15`
|
||||
|
||||
主要是各种修复, 见 [v2.9.3](https://github.com/the1812/Bilibili-Evolved/releases/tag/v2.9.3).
|
||||
|
||||
## v2.9.3
|
||||
`2024-09-15`
|
||||
|
||||
<details>
|
||||
<summary>正式版用户将获得 v2.9.1-preview ~ v2.9.2-preview 的所有改动, 点击展开查看</summary>
|
||||
|
||||
✨新增
|
||||
- `查看封面` 可以为 aria2 输出提供直接的封面下载. (PR #4798 by [Oxygenくん](https://github.com/oxygenkun))
|
||||
- 新增组件 `保存视频元数据`. (PR #4840 by [WakelessSloth56](https://github.com/WakelessSloth56))
|
||||
> - 保存视频元数据为 [FFMETADATA](https://ffmpeg.org/ffmpeg-formats.html#Metadata-2) 格式
|
||||
> - 使用组件 `下载视频` 时指定 `WASM` 输出方式(插件 `下载视频 - WASM 混流输出`)可选择是否直接混流入输出文件。
|
||||
> - 保存视频章节为 OGM 格式 (https://github.com/the1812/Bilibili-Evolved/discussions/2069#discussioncomment-10110916)
|
||||
|
||||
- `简化首页` 支持隐藏轮播图. (PR #4852 by [Lime](https://github.com/Liumingxun))
|
||||
- 新增组件 `添加直播间用户超链接`. (PR #4856 by [Light_Quanta](https://github.com/LightQuanta))
|
||||
> 网页版直播间右上角的房间观众和大航海界面的用户列表只可查看用户名,不可进行点击。该组件为用户头像和用户名称处添加点击效果,允许通过点击直接查看用户空间。
|
||||
|
||||
- 插件 `下载视频 - WASM 混流输出` 支持并行下载库和音视频流. (PR #4864 by [WakelessSloth56](https://github.com/WakelessSloth56))
|
||||
- `弹幕转义` 支持对正斜杠的换行 (`/n`) 进行转义. (#4865)
|
||||
- `自定义顶栏` 支持直接在功能中打开布局设置. (#2666)
|
||||
- `高分辨率图片` 支持处理没有指定高度的图片, 支持在专栏页面中请求原图. (#2868)
|
||||
- `直播间网页全屏自适应` 样式适配较低的宽度值. (#4895)
|
||||
|
||||
☕开发者相关
|
||||
- 外部资源接入 Subresource Integrity. (#4896)
|
||||
|
||||
</details>
|
||||
|
||||
🐛修复
|
||||
- 修复 `快速收起评论` 对旧版评论区的兼容性. (#4905)
|
||||
- 修复 `快捷键扩展` 的发送评论在新版评论区失效. (#4843)
|
||||
- 修复 `禁用评论区搜索词` 偶现样式失效. (#4843)
|
||||
|
||||
☕开发者相关
|
||||
- `ShadowDomObserver` 在使用前无需再调用 `observe()`.
|
||||
- 增加工具方法 `getActiveElement` 检测当前页面的聚焦元素.
|
||||
|
||||
## v2.9.2-preview
|
||||
`2024-09-08`
|
||||
|
||||
包含 [v2.9.2](https://github.com/the1812/Bilibili-Evolved/releases/tag/v2.9.2) 的所有更新内容.
|
||||
|
||||
✨新增
|
||||
- `弹幕转义` 支持对正斜杠的换行 (`/n`) 进行转义. (#4865)
|
||||
- `自定义顶栏` 支持直接在功能中打开布局设置. (#2666)
|
||||
- `高分辨率图片` 支持处理没有指定高度的图片, 支持在专栏页面中请求原图. (#2868)
|
||||
- `直播间网页全屏自适应` 样式适配较低的宽度值. (#4895)
|
||||
|
||||
☕开发者相关
|
||||
- 外部资源接入 Subresource Integrity. (#4896)
|
||||
|
||||
## v2.9.2
|
||||
`2024-09-08`
|
||||
|
||||
✨新增
|
||||
- `网址参数清理` 支持清理 `is_room_feed`. (PR #4886 by [dreammu](https://github.com/dreammu))
|
||||
|
||||
🐛修复
|
||||
- 新版评论区相关功能修复: (#4843)
|
||||
- 修复 `快速收起评论` 按钮错位. (#4890)
|
||||
- 恢复功能: `禁用评论区搜索词`, `评论区IP属地显示`, `复制动态链接`.
|
||||
- `简化评论区` 支持 Firefox.
|
||||
- 样式实现使用 [Container style queries](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_containment/Container_size_and_style_queries#container_style_queries_2) 替代 [:host-context](https://developer.mozilla.org/en-US/docs/Web/CSS/:host-context), 虽然 Firefox 还是不支持, 但是能稍微标准化一点.
|
||||
- 夜间模式适配
|
||||
|
||||
☕开发者相关
|
||||
- Shadow DOM API (`./src/core/shadow-dom`) 更名为 Shadow Root API (`./src/core/shadow-root`), 模块内的功能导出单例:
|
||||
- `shadowDomObserver`: 持续观测页面上的所有 Shadow DOM.
|
||||
- `shadowRootStyles`: 支持将样式注入到 Shadow DOM 内部.
|
||||
- Comments API 增加 `CommentAreaV3` 实现, 支持基于 Shadow DOM 的新版评论区. (#4843)
|
||||
- 增加 `isContainerStyleQuerySupported` 来检测当前浏览器对 [Container style queries](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_containment/Container_size_and_style_queries#container_style_queries_2) 的支持.
|
||||
- 组件样式支持在 `ComponentMetadata.instantStyles` 中声明 `shadowDom: true` 来插入到 Shadow DOM 中.
|
||||
|
||||
|
||||
## v2.9.1-preview
|
||||
`2024-08-15`
|
||||
|
||||
包含 [v2.9.1](https://github.com/the1812/Bilibili-Evolved/releases/tag/v2.9.1) 的所有更新内容.
|
||||
|
||||
✨新增
|
||||
- `查看封面` 可以为 aria2 输出提供直接的封面下载. (PR #4798 by [Oxygenくん](https://github.com/oxygenkun))
|
||||
- 新增组件 `保存视频元数据`. (PR #4840 by [WakelessSloth56](https://github.com/WakelessSloth56))
|
||||
> - 保存视频元数据为 [FFMETADATA](https://ffmpeg.org/ffmpeg-formats.html#Metadata-2) 格式
|
||||
> - 使用组件 `下载视频` 时指定 `WASM` 输出方式(插件 `下载视频 - WASM 混流输出`)可选择是否直接混流入输出文件。
|
||||
> - 保存视频章节为 OGM 格式 (https://github.com/the1812/Bilibili-Evolved/discussions/2069#discussioncomment-10110916)
|
||||
|
||||
- `简化首页` 支持隐藏轮播图. (PR #4852 by [Lime](https://github.com/Liumingxun))
|
||||
- 新增组件 `添加直播间用户超链接`. (PR #4856 by [Light_Quanta](https://github.com/LightQuanta))
|
||||
> 网页版直播间右上角的房间观众和大航海界面的用户列表只可查看用户名,不可进行点击。该组件为用户头像和用户名称处添加点击效果,允许通过点击直接查看用户空间。
|
||||
|
||||
- 插件 `下载视频 - WASM 混流输出` 支持并行下载库和音视频流. (PR #4864 by [WakelessSloth56](https://github.com/WakelessSloth56))
|
||||
|
||||
## v2.9.1
|
||||
`2024-08-15`
|
||||
|
||||
<details>
|
||||
<summary>正式版用户将获得 v2.9.0-preview 的所有改动 (新功能以及一项废弃), 点击展开查看</summary>
|
||||
|
||||
✨新增
|
||||
- `简化直播间` 支持屏蔽推荐直播间. (#4787)
|
||||
- 新增功能 `删除直播马赛克遮罩` (#4634, PR #4814)
|
||||
> 删除观看直播时某些分区的马赛克遮罩.
|
||||
|
||||
- `启用视频截图` 截出来的图支持直接复制. (此功能需要 Firefox 127 版本以上) (#4806)
|
||||
- `图片批量导出`, `下载视频` 支持更多变量, 详情可在更新组件后查看设置中的说明: (#3852)
|
||||
- 动态 ID, 用户 ID, 动态发布时间, 被转发动态相关数据
|
||||
- 专栏 cv 号, 专栏发布时间
|
||||
- (仅对批量视频下载 (分P / 合集) 有效) up 主名称, up 主 ID, 视频发布时间
|
||||
- `自定义顶栏` 的稍后再看和历史面板现在始终显示 "已观看" 状态. (#4346)
|
||||
- `自定义顶栏` 的稍后再看, 收藏和历史面板优化了分 P 数和观看进度的展示, 详见[此处](https://github.com/the1812/Bilibili-Evolved/discussions/1866#discussioncomment-10075203). (#1866)
|
||||
|
||||
🗑️废弃
|
||||
- 删除 `下载视频` 的 Toast 输出方式.
|
||||
|
||||
</details>
|
||||
|
||||
🐛修复
|
||||
- 部分修复 `简化评论区` 在新版评论区下失效. (#4843)
|
||||
- 头像框目前还没找到比较好的方式隐藏, 暂不支持.
|
||||
- 时间由于 Shadow DOM 限制, 无法再挪到右上角了, `装扮 & 时间` 只对装扮有效.
|
||||
- 样式实现依赖 [:host-context](https://developer.mozilla.org/en-US/docs/Web/CSS/:host-context), 因此目前还不支持 Firefox.
|
||||
- 修复 `删除视频弹窗` 和 `禁用特殊弹幕样式` 在新版播放器下失效. (#4843, #4823, PR #4839 by [festoney8](https://github.com/festoney8))
|
||||
- 修复 `快捷键扩展` 的部分操作和 `启用弹幕空降` 在新版播放器下失效.
|
||||
|
||||
☕开发者相关
|
||||
- 新增 Shadow DOM 系列 API (`src/core/shadow-dom.ts`), 用于处理 Shadow DOM 相关的逻辑.
|
||||
- `ShadowDomObserver`: 持续观测页面上的所有 Shadow DOM.
|
||||
- `ShadowDomStyles`: 支持将样式注入页面, 包含所有 Shadow DOM 内部.
|
||||
- `MutationObserver` 相关的 API 支持使用 `Node` 类型作为目标.
|
||||
|
||||
## v2.9.0-preview
|
||||
`2024-07-19`
|
||||
|
||||
✨新增
|
||||
- `简化直播间` 支持屏蔽推荐直播间. (#4787)
|
||||
- 新增功能 `删除直播马赛克遮罩` (#4634, PR #4814)
|
||||
> 删除观看直播时某些分区的马赛克遮罩.
|
||||
|
||||
- `启用视频截图` 截出来的图支持直接复制. (此功能需要 Firefox 127 版本以上) (#4806)
|
||||
- `图片批量导出`, `下载视频` 支持更多变量, 详情可在更新组件后查看设置中的说明: (#3852)
|
||||
- 动态 ID, 用户 ID, 动态发布时间, 被转发动态相关数据
|
||||
- 专栏 cv 号, 专栏发布时间
|
||||
- (仅对批量视频下载 (分P / 合集) 有效) up 主名称, up 主 ID, 视频发布时间
|
||||
- `自定义顶栏` 的稍后再看和历史面板现在始终显示 "已观看" 状态. (#4346)
|
||||
- `自定义顶栏` 的稍后再看, 收藏和历史面板优化了分 P 数和观看进度的展示, 详见[此处](https://github.com/the1812/Bilibili-Evolved/discussions/1866#discussioncomment-10075203). (#1866)
|
||||
|
||||
🗑️废弃
|
||||
- 删除 `下载视频` 的 Toast 输出方式.
|
||||
|
||||
## v2.8.13
|
||||
`2024-07-19`
|
||||
|
||||
<details>
|
||||
<summary>获得 v2.8.12-preview 的所有新功能, 点击展开查看</summary>
|
||||
|
||||
✨新增
|
||||
- `下载视频 - WASM 混流输出` 支持批量下载. (PR #4726 by [WakelessSloth56](https://github.com/WakelessSloth56))
|
||||
- `夜间模式` 增加 `color-scheme` meta 信息, 适配 Chrome 的 [Fluent overlay scrollbars](chrome://flags/#fluent-overlay-scrollbars). (#4717)
|
||||
|
||||
</details>
|
||||
|
||||
✨新增
|
||||
- `删除广告` 支持屏蔽首页的 "广告已被屏蔽" 占位卡片.
|
||||
- `自定义顶栏` 增加公益、公开课、社区中心入口. (#1511)
|
||||
|
||||
🐛修复
|
||||
- 修复 `显示视频投稿时间` 时间显示错误及不显示时间的问题. (#4755, PR #4756 by [呼乎户](https://github.com/wisokey))
|
||||
- 修复夜间模式的一些适配问题. (#4376, #4768, #4785, #4802, PR #4763, #4810 by [Pencil](https://github.com/pencilqaq))
|
||||
- 修复 `屏蔽黑名单up主` 弹窗高度溢出. (PR #4784 by [snowraincloud](https://github.com/snowraincloud))
|
||||
- 修复 `自定义顶栏` 搜索框在 b 站搜索页打字时自动弹出. (#4808)
|
||||
|
||||
☕开发者相关
|
||||
- 修复 GitHub Workflow 中 pnpm 安装失败.
|
||||
|
||||
## v2.8.11-preview / v2.8.12-preview
|
||||
`2024-05-14`
|
||||
|
||||
包含 [v2.8.11](https://github.com/the1812/Bilibili-Evolved/releases/tag/v2.8.11) 的所有更新内容.
|
||||
|
||||
✨新增
|
||||
- `下载视频 - WASM 混流输出` 支持批量下载. (PR #4726 by [WakelessSloth56](https://github.com/WakelessSloth56))
|
||||
- `夜间模式` 增加 `color-scheme` meta 信息, 适配 Chrome 的 [Fluent overlay scrollbars](chrome://flags/#fluent-overlay-scrollbars). (#4717)
|
||||
|
||||
## v2.8.11 / v2.8.12
|
||||
`2024-05-14`
|
||||
|
||||
🐛修复
|
||||
- 修复了搜索框中的 XSS 注入问题.
|
||||
- 修复了搜索框在搜索页面不能同步关键词. (#4721)
|
||||
- 修复 `评论区IP属地显示` 失效. (#4690)
|
||||
- 在搜索框中删除搜索历史时将不再收起下拉菜单. (#4732)
|
||||
- 修复功能反复开关时, 功能面板中的按钮重复出现. (#4731)
|
||||
- 修复功能面板空间不足时出现折行. (#4730)
|
||||
- 修复 `启用视频截图` 在番剧区失效. (#4719)
|
||||
|
||||
☕开发者相关
|
||||
- Comment API 调整:
|
||||
- 增加对 `CommentArea` 销毁的监测.
|
||||
- `forEachCommentItem` / `forEechCommentArea` 参数统一支持 `added` 和 `removed` 回调.
|
||||
- `CommentReplyItem` / `CommentItem` 增加属性 `vueProps`.
|
||||
|
||||
|
||||
## v2.8.10-preview
|
||||
`2024-04-23`
|
||||
|
||||
包含 [v2.8.10](https://github.com/the1812/Bilibili-Evolved/releases/tag/v2.8.10) 的所有更新内容.
|
||||
|
||||
- 更新了 `动态过滤器` 的描述, 当开启 `直播信息扩充` 时不可配置 `正在直播` 的显隐. (#4705)
|
||||
|
||||
## v2.8.10
|
||||
`2024-04-23`
|
||||
|
||||
<details>
|
||||
<summary>获得 v2.8.9-preview 的所有新功能, 点击展开查看</summary>
|
||||
|
||||
- `下载视频 - WASM 混流输出` 支持更持久的缓存方式. (PR #4667 by [WakelessSloth56](https://github.com/WakelessSloth56))
|
||||
- `外置稍后再看` 和 `启用快速收藏` 增加了 `显示方式` 选项, 出现无法自动适配的排版问题时可以尝试手动调整此设置. (#4532)
|
||||
- 新增插件 `动态过滤器 - 移除商品带货动态`. (#4425)
|
||||
> 移除动态里的商品带货动态 (UP主的推荐 · 来自 XX), 装有 `动态过滤器` 时生效.
|
||||
|
||||
- 新增组件 `动态图片平铺展示`. (#4645)
|
||||
> 将动态中左右切换式的图片改回传统的平铺展示. (在动态详情中可能稍有延迟)
|
||||
|
||||
- 更换了 `自定义顶栏` 的动态提醒数字来源. (#4427)
|
||||
|
||||
</details>
|
||||
|
||||
✨新增
|
||||
- 夜间模式更新对视频和直播页面的样式. (#4701, PR #4675 by [WangYK](https://github.com/AnotiaWang))
|
||||
- 增强 `下载视频 - WASM 混流输出` 对错误输入流的检测, 支持 FLAC 音频流 (产生 `.mkv` 文件). (PR #4686 by [DBeidachazi](https://github.com/DBeidachazi))
|
||||
- `复制动态链接` 改用 `opus` 格式的链接, 并支持新版话题页面. (PR #4695, PR #4696 by [星海](https://github.com/lovelyCARDINAL))
|
||||
- 同时安装了 pakku 时, 支持下载处理后的弹幕. (PR #4712 by [xmcp](https://github.com/xmcp))
|
||||
- `传统连播模式` 支持识别和处理视频列表. (#4699, PR #4713 by [Wuch](https://github.com/IEXPECTATION))
|
||||
- `删除视频弹窗` 支持屏蔽收起后的弹窗. (#4703)
|
||||
|
||||
🐛修复
|
||||
- 再次修复 `快速收起评论` 遮挡评论的表情等弹窗.
|
||||
- 修复评论区相关功能失效. (#4690)
|
||||
- 修复 `自定义顶栏` 导致稍后再看页面布局错位. (#4668)
|
||||
|
||||
☕开发者相关
|
||||
- Comment API 现已重构并支持 Vue 3 版本的评论区. (#4690)
|
||||
|
||||
## v2.8.9-preview
|
||||
`2024-03-09`
|
||||
|
||||
包含 [v2.8.9](https://github.com/the1812/Bilibili-Evolved/releases/tag/v2.8.9) 的所有更新内容.
|
||||
|
||||
✨新增
|
||||
- `下载视频 - WASM 混流输出` 支持更持久的缓存方式. (PR #4667 by [WakelessSloth56](https://github.com/WakelessSloth56))
|
||||
- `外置稍后再看` 和 `启用快速收藏` 增加了 `显示方式` 选项, 出现无法自动适配的排版问题时可以尝试手动调整此设置. (#4532)
|
||||
- 新增插件 `动态过滤器 - 移除商品带货动态`. (#4425)
|
||||
> 移除动态里的商品带货动态 (UP主的推荐 · 来自 XX), 装有 `动态过滤器` 时生效.
|
||||
|
||||
- 新增组件 `动态图片平铺展示`. (#4645)
|
||||
> 将动态中左右切换式的图片改回传统的平铺展示. (在动态详情中可能稍有延迟)
|
||||
|
||||
- 更换了 `自定义顶栏` 的动态提醒数字来源. (#4427)
|
||||
|
||||
|
||||
## v2.8.9
|
||||
`2024-03-09`
|
||||
|
||||
✨新增
|
||||
- `下载视频 - IDM 输出支持` 补充了保留文件名相关内容的描述. (PR #4664 by [LY](https://github.com/Young-Lord))
|
||||
- 夜间模式更新对以下区域的支持:
|
||||
- 新版评论区输入框 (#4605)
|
||||
- 动态详情页
|
||||
- 搜索页面 (#4354)
|
||||
- `删除广告` 现在可以在新版首页中将删除后的空位移除. (#4610)
|
||||
- `删除视频弹窗` 支持屏蔽 "请评价视频播放效果" 等小弹窗, 归属于投票类. (#4610)
|
||||
|
||||
🐛修复
|
||||
- 修复 XML 弹幕下载遇到空弹幕时报错. (#4629)
|
||||
- 修复播放前显示封面在中途暂停仍会出现. (#4491)
|
||||
- 修复 `自定义顶栏` 的搜索结果描述溢出. (#4464)
|
||||
- 修复自动关灯无效. (PR #4659 by [Waua](https://github.com/FoundTheWOUT), #4631)
|
||||
- 修复 `网址参数清理` 导致搜索页出现 `https://search.bilibili.com/undefined`. (PR #4663 by [sunfkny](https://github.com/sunfkny), #4656)
|
||||
- 修复 `禁止跳转动态详情` 导致动态中的查看图片按钮失效. (PR #4662 by [sunfkny](https://github.com/sunfkny))
|
||||
- 修复 `展开动态内容` 对部分用户失效. (#4633)
|
||||
- 修复 `高分辨率图片` 导致旧版首页 logo 比例出错. (#4480)
|
||||
- 修复个人空间中搜索过动态后再返回导致常规动态里的相关功能失效. (#4458)
|
||||
- 修复番剧区的 `扩展倍速` 失效. (#4571)
|
||||
- 修复 `快速收起评论` 遮挡评论的表情等弹窗.
|
||||
- 修复 `自定义顶栏` 导致网课分区内容错位. (#4610)
|
||||
- 修复 `隐藏顶部横幅` 导致部分分区页面内容错位. (#4610)
|
||||
|
||||
☕开发者相关
|
||||
- PlayerAgent 支持监听 `pause` 事件.
|
||||
- `forEachFeedsCard` 现在不会在非动态页面执行.
|
||||
|
||||
## v2.8.8 / v2.8.8-preview
|
||||
`2024-01-18`
|
||||
|
||||
<details>
|
||||
<summary>正式版用户将获得 v2.8.6-preview ~ v2.8.7-preview 的所有新功能, 点击展开查看</summary>
|
||||
|
||||
✨新增
|
||||
- 新增插件 `下载视频 - MPV 输出支持加强版`. (PR #4448 by [weapon!](https://github.com/Asukaaaaaa))
|
||||
> 同时支持单文件和多文件, 不需要额外下载程序处理 mpv 协议, 配置方式请参考 [README](https://github.com/Asukaaaaaa/tricks/blob/main/Bilibili-Evolved%20mpv-ex%20%E6%8F%92%E4%BB%B6.md)
|
||||
|
||||
- `查看封面` 组件安装后可为 `下载视频` 提供下载封面支持. (#889, PR #4473 by [Oxygenくん](https://github.com/oxygenkun))
|
||||
- 新增插件 `下载视频 - WASM 混流输出`. (PR #4521 by [WakelessSloth56](https://github.com/WakelessSloth56))
|
||||
> 使用 WASM 在浏览器中下载并合并音视频,运行过程中请勿关闭页面,初次使用或清除缓存后需要加载约 30 MB 的 WASM 文件
|
||||
|
||||
- 使用流量计费网络时, 不再触发本体和功能的更新检查. (仅 Chrome) (#4477)
|
||||
- `快捷键扩展` 的音量调整支持自定义幅度. (#2594)
|
||||
- `自定义字体` 改善了组件代码和功能. (PR #4485 by [Tinhone](https://github.com/Tinhone))
|
||||
|
||||
☕开发者相关
|
||||
- PlayerAgent API 重构为调用 `window.player` 和 `window.nano` API, 可以解决 #2544 的问题, 感谢 [timongh](https://github.com/timongh) 和 [WakelessSloth56](https://github.com/WakelessSloth56) 的发现. (#4330, #4341)
|
||||
|
||||
</details>
|
||||
|
||||
⚠ 注意
|
||||
- Firefox 的最低版本要求提升至 121, 顺便更新了下配置要求, 分为了最低配置和推荐配置, CPU 统一为桌面级型号.
|
||||
- 移除对旧版视频播放器的支持, 仅支持新版视频播放器 (BPX 播放器)
|
||||
|
||||
✨新增
|
||||
- 新增插件 `动态过滤器 - 移除充电专属动态`. (#4033)
|
||||
> 移除动态里的充电专属动态, 装有 `动态过滤器` 时生效.
|
||||
|
||||
- `删除视频弹窗` 支持屏蔽 "心动" 弹窗, `禁用特殊弹幕样式` 支持屏蔽相应的带货弹幕. (#4565)
|
||||
- `删除广告` 支持屏蔽首页的桌面端弹窗广告. (#4590)
|
||||
- 新增插件 `下载视频 - 空输出`. (#4581)
|
||||
> 提供一个 "空" 的输出选项, 只想获取下载视频的附带产物 (弹幕, 字幕等) 时可以使用此插件.
|
||||
|
||||
- `下载视频` 支持下载合集. (#3240)
|
||||
- 视频相关功能和快捷键扩展支持新版番剧播放器. (#4571)
|
||||
|
||||
🐛修复
|
||||
- 修复 `评论区IP属地显示` 在小黑屋中失效的问题. (#4572, PR #4573 by [Light_Quanta](https://github.com/LightQuanta))
|
||||
- `自定义字体` 改进: (PR #4585 by [Tinhone](https://github.com/Tinhone))
|
||||
- 修复 `自定义字体` 导致快速收藏图标消失. (#4566)
|
||||
- 将 `覆盖选项` 迁移到了更多选项中.
|
||||
- 因为文泉驿微米黑(WenQuanYi Micro Hei)字体的部分版本存在朝鲜语(韩语)显示不正确的问题,所以从默认设置中删除,使用 Malgun Gothic 字体替换.
|
||||
- 夜间模式适配播放页的充电卡片. (#4599, PR #4600 by [Pencil](https://github.com/pencilqaq))
|
||||
- `直播信息扩充` 使用新的 API, 能够显示悄悄关注的主播. (PR #4587 by [Oxygenくん](https://github.com/oxygenkun))
|
||||
- 修复自定义顶栏在搜索页面的表现: 关键词同步 & 禁用全局固定. (#1431)
|
||||
- `删除广告` 使用 CSS `:has` 功能实现了移除广告的空白占位区域. (#3997)
|
||||
- 修复新版的动态多图界面中 `图片批量导出` 检测不到图片. (#4586)
|
||||
- 修复使用 `pluginApis.installStyle` 安装带有特殊字符的名称的样式后, 无法删除的问题. (#4557)
|
||||
- 修复快速收起评论遮挡了评论的操作菜单. (#4595)
|
||||
- 更新了 `稍后再看重定向` 的说明文字, 明确了功能作用范围. (#4555)
|
||||
> 将稍后再看的链接重定向为普通播放网址.
|
||||
> - `重定向页面`: 对稍后再看列表页面里的链接重定向.
|
||||
> - `重定向顶栏`: 对 `自定义顶栏` 里的稍后再看链接重定向.
|
||||
|
||||
- 修复文件命名格式中 `[title]`, `[ep]`, `[lid]` 变量的值获取不正确. (#4575)
|
||||
|
||||
☕开发者相关
|
||||
- pnpm 更新至 8.12.1.
|
||||
- README 调整了一些中英文字符之间的空格. (PR #4602 by [Shen-Linwood](https://github.com/Shen-Linwood))
|
||||
- PlayerAgent.getPlayerConfig 支持 BPX 播放器, 且默认认为当前 Agent 为 BPX 类型.
|
||||
- 修复 DownloadPackage 中同名文件会互相覆盖. (#4576)
|
||||
- 动态过滤器中使用 CSS `.plugin-block` 可以隐藏某个动态卡片, 插件结合 `forEachFeedsCard` 等 API 可以实现自定义的过滤逻辑. (#4033)
|
||||
- retrieveImageUrl 支持传入 picture 元素本身.
|
||||
- 内置 UA 更新至 Firefox 123.
|
||||
- 增加了 simulateClick API, 可以模拟一次点击. (依次触发 `pointerdown`, `mousedown`, `pointerup`, `mouseup`, `click` 事件)
|
||||
|
||||
## v2.8.7 / v2.8.7-preview
|
||||
`2023-11-23`
|
||||
|
||||
- 修复正式版中清爽首页无法加载的问题. (#4538)
|
||||
|
||||
其他更新内容请看 [v2.8.6](https://github.com/the1812/Bilibili-Evolved/releases/tag/v2.8.6) / [v2.8.6-preview](https://github.com/the1812/Bilibili-Evolved/releases/tag/v2.8.6-preview).
|
||||
|
||||
## v2.8.6-preview
|
||||
`2023-11-22`
|
||||
|
||||
包含 [v2.8.6](https://github.com/the1812/Bilibili-Evolved/releases/tag/v2.8.6) 的所有更新内容.
|
||||
|
||||
✨新增
|
||||
- 新增插件 `下载视频 - MPV 输出支持加强版`. (PR #4448 by [weapon!](https://github.com/Asukaaaaaa))
|
||||
> 同时支持单文件和多文件, 不需要额外下载程序处理 mpv 协议, 配置方式请参考 [README](https://github.com/Asukaaaaaa/tricks/blob/main/Bilibili-Evolved%20mpv-ex%20%E6%8F%92%E4%BB%B6.md)
|
||||
|
||||
- `查看封面` 组件安装后可为 `下载视频` 提供下载封面支持. (#889, PR #4473 by [Oxygenくん](https://github.com/oxygenkun))
|
||||
- 新增插件 `下载视频 - WASM 混流输出`. (PR #4521 by [WakelessSloth56](https://github.com/WakelessSloth56))
|
||||
> 使用 WASM 在浏览器中下载并合并音视频,运行过程中请勿关闭页面,初次使用或清除缓存后需要加载约 30 MB 的 WASM 文件
|
||||
|
||||
- 使用流量计费网络时, 不再触发本体和功能的更新检查. (仅 Chrome) (#4477)
|
||||
- `快捷键扩展` 的音量调整支持自定义幅度. (#2594)
|
||||
- `自定义字体` 改善了组件代码和功能. (PR #4485 by [Tinhone](https://github.com/Tinhone))
|
||||
|
||||
☕开发者相关
|
||||
- PlayerAgent API 重构为调用 `window.player` 和 `window.nano` API, 可以解决 #2544 的问题, 感谢 [timongh](https://github.com/timongh) 和 [WakelessSloth56](https://github.com/WakelessSloth56) 的发现. (#4330, #4341)
|
||||
|
||||
## v2.8.6
|
||||
`2023-11-22`
|
||||
✨新增
|
||||
- `清爽首页` / `极简首页` 现在可以正确重定向 "悬浮视频". (#4404)
|
||||
- `网址参数清理` 增加 `spmid` 参数. (#4512)
|
||||
- `快捷键扩展` 默认不再启用前进/后退的快捷键 (默认使用 b 站的前进/后退). (#4501)
|
||||
- `展开动态内容` 现在不会展开专栏类型的动态, 并保留原来的 "全文" 按钮. (#4475)
|
||||
|
||||
🐛修复
|
||||
- 修复了首页的正式版安装链接 CDN 不正确. (#4460)
|
||||
- 修复 `极简首页` 在特定情况下无法触发加载的问题. (#4302, PR #4430 by [Tinhone](https://github.com/Tinhone))
|
||||
- 调整了 `简化评论区` 和 `删除广告` 对评论区附近的活动横幅和小喇叭横幅的说明, 关于这两种元素的具体区别以及分配至的组件, 可以参考 #4444 中的讨论.
|
||||
- 修复 `直播信息扩充` 中的标题未处理转义的 HTML 特殊字符.
|
||||
- 修复 `BV 号转换` 复制的链接即使没有参数也会带上末尾的 `?`. (#4515)
|
||||
- 修复番剧片单页面出现报错. (#1999)
|
||||
- 修复 `自定义顶栏` 历史面板无法正确跳转课程. (#4484)
|
||||
- 修复 `自定义顶栏` 在历史记录页面产生的布局错位. (#4459)
|
||||
- 修复 `网址参数清理` 处理相对路径 URL 时产生了错误的结果. (#4471)
|
||||
- 修复 `自定义顶栏` 在专栏页面挡住了作者信息顶栏. (#4540)
|
||||
|
||||
☕开发者相关
|
||||
- 锁定了 PR Check 中的 pnpm 版本, 避免 pnpm 更新后出现不兼容 lockfile 导致 PR Check 失败.
|
||||
- `夜间模式` 增加了一篇详细的[开发文档](./registry/lib/components/style/dark-mode/README.md).
|
||||
- Microsoft Edge 不再作为首要兼容的浏览器. (和 Chrome 相同内核, 理论上兼容性不会有太大差别)
|
||||
|
||||
## v2.8.5 / v2.8.5-preview
|
||||
`2023-09-24`
|
||||
|
||||
✨新增
|
||||
- 新增组件 `自定义字体`. (PR #4406 by [Tinhone](https://github.com/Tinhone))
|
||||
> 使用组件提供的字体设置覆盖原版的主站字体,并使主站字体可被自定义。字体设置写法请参考 [MDN](https://developer.mozilla.org/zh-CN/docs/Web/CSS/font-family) 、默认设置与设置说明
|
||||
|
||||
- `简化直播间` 适配了新版 PK 条. (PR #4439 by [Pencil](https://github.com/pencilqaq))
|
||||
|
||||
- `下载视频` 支持配置 DASH 格式下的文件扩展名. (PR #4449 by [小傅Fox](https://github.com/xfoxfu))
|
||||
|
||||
|
||||
<details>
|
||||
<summary>正式版用户将获得 v2.8.0-preview ~ v2.8.4-preview 的所有新功能, 点击展开查看</summary>
|
||||
|
||||
- `清爽首页` 改进:
|
||||
- 支持自定义板块的布局和可见性. (操作方式和自定义顶栏那个差不多)
|
||||
- 番剧时间表优化样式, 增加翻页按钮.
|
||||
|
||||
<div>
|
||||
<img height="400" src="https://user-images.githubusercontent.com/26504152/242905984-895cb72c-b344-40c3-91a0-2a6b20d5f783.png">
|
||||
<img height="400" src="https://user-images.githubusercontent.com/26504152/242905640-cbc948f1-734e-46f2-96a7-d57787b7cf47.png">
|
||||
</div>
|
||||
|
||||
- 新增功能 `首页净化`. (PR #4153 by [RieN](https://github.com/rien7))
|
||||
> 删除首页特定类型的卡片.
|
||||
|
||||
- `自定义顶栏` 增加 `创作中心` 入口, `排行` 新增 `全站音乐榜` 和 `短剧榜` 的入口. (#4101, PR #4154 by [星海](https://github.com/lovelyCARDINAL), PR #4155 by [星海](https://github.com/lovelyCARDINAL))
|
||||
- `播放器置顶(新)` 增加选项 `顶部留白`. (#4152, PR #4165 by [Ziu](https://github.com/ZiuChen))
|
||||
- `播放器置顶(新)` 的标题改为放置到播放器和点赞中间. (PR #4208 by [LockRim](https://github.com/LockRim))
|
||||
- `显示视频投稿时间` 支持转义字符. (#4160, PR #4167 by [呼乎户](https://github.com/wisokey))
|
||||
- `隐藏视频推荐` 支持稍后再看和收藏夹播放页, 并适配 bpx 播放器. (#4174)
|
||||
- 新增功能 `隐藏记笔记` 和 `隐藏稿件投诉`. (#4124)
|
||||
- 优化了 `自定义顶栏` 中订阅在筛选时的 API 调用. (#4120)
|
||||
- 优化粗体的显示: 优先调用 Semibold 字重, 若字体不支持则使用 Bold 字重.
|
||||
- `自定义顶栏` 增加选项:
|
||||
- 支持自定义消息提醒样式, 可设置为 `数字`, `点状` 或 `隐藏`. (#4125)
|
||||
- 支持自定义搜索栏宽度. (#4112)
|
||||
- 搜索在纯数字输入时, 增加对 UID 和直播间的搜索. (#677)
|
||||
- `网址参数清理` 更新对直播间的支持. (#1459)
|
||||
- `自动点赞` 转为由 [CrazyboyQCD](https://github.com/CrazyboyQCD) 维护, 支持手动控制点赞和黑名单功能. (PR #4343, PR #4358 by [CrazyboyQCD](https://github.com/CrazyboyQCD))
|
||||
|
||||
- `简化直播间` 支持隐藏荣耀等级勋章. (PR #4348 by [CrunchyShark](https://github.com/CrunchyShark944))
|
||||
- 在设置面板中的组件管理等面板中, 搜索框移动至已安装列表的上方, 更符合直觉. (#3806)
|
||||
- 支持从 Tampermonkey 的菜单中唤起功能和设置面板. (#4170)
|
||||
- 搜索栏中添加了导入 / 导出设置的操作. (#4170)
|
||||
- `自定义顶栏` 新增选项 `链接对齐样式`, 可以自定义纯链接弹窗内链接文字的对齐样式. (PR #4365 by [Tinhone](https://github.com/Tinhone))
|
||||
- `简化评论区` 支持独立控制简化选项, 并支持隐藏粉丝勋章和活动横幅. (仅支持新版评论区) (#2381)
|
||||
- `清爽首页` 设置为隐藏的版块现在将彻底销毁, 减少资源占用.
|
||||
- `禁用特殊弹幕样式` 支持禁用大会员弹幕. (#4227)
|
||||
- `下载视频` 在批量下载番剧时, 支持下载多个不同板块的选集. (#2834)
|
||||
- 新增功能 `全屏直播礼物简化`. (PR #4306 by [TimmyOVO](https://github.com/TimmyOVO))
|
||||
|
||||
> 移除全屏观看直播时的底部礼物栏
|
||||
|
||||
- 新增功能 `评论区 IP 属地显示`. (PR #4331, PR #4334 by [Light_Quanta](https://github.com/LightQuanta))
|
||||
|
||||
> 在评论区显示评论的IP属地信息
|
||||
|
||||
- 新增功能 `直播间网页全屏自适应`. (#4216)
|
||||
|
||||
> 在直播网页全屏时, 自动调整侧边栏的宽度, 使得视频区域的比例和视频源相匹配, 达到无黑边的效果. 如果在侧边栏的边缘拖动, 可以自定义侧边栏的固定宽度, 双击边缘可以还原到自动宽度.
|
||||
>
|
||||
> - `侧边栏最大宽度 (px)`: 限制侧边栏可被拉伸到的最大宽度. (最小宽度固定为 190px, 再小的话布局就要出问题了)
|
||||
>
|
||||
> > 注意, 由于有最大宽度和最小宽度的限制, 部分窗口尺寸下仍然无法做到无黑边.
|
||||
|
||||
- 新增功能 `关注时间显示`. (PR #4352 by [Light_Quanta](https://github.com/LightQuanta))
|
||||
|
||||
> 在个人空间的粉丝/关注列表显示关注的具体时间
|
||||
|
||||
- 新增功能 `自动移出稍后再看`.
|
||||
|
||||
> 在稍后再看页面播放结束时, 自动将当前视频移出稍后再看.
|
||||
> 注意:
|
||||
> - 一定要播放结束, 快结束时手动切走不算
|
||||
> - b 站的稍后再看列表不会实时刷新
|
||||
|
||||
- 新增功能 `相簿发布时间显示`. (PR #4362 by [Light_Quanta](https://github.com/LightQuanta))
|
||||
|
||||
> 在个人空间的相簿界面显示相簿的发布时间
|
||||
|
||||
</details>
|
||||
|
||||
🐛修复
|
||||
- 修复 `禁止滚轮调音量` 在网页全屏下失效. (#4381).
|
||||
- 修复 Feeds API 无法解析新版图文动态的文字内容. (主要是动态过滤器会受影响) (#4409)
|
||||
- 修复 `选集区域优化` 在部分视频合集页面上无法使用 <kbd>Alt</kbd> 来切换折叠. (#4429)
|
||||
- 修复被转发图文动态的 `详情 >` 功能失效. (PR #4452 by [sunfkny](https://github.com/sunfkny))
|
||||
|
||||
|
||||
## v2.8.4-preview
|
||||
`2023-09-07`
|
||||
|
||||
包含 [v2.7.6](https://github.com/the1812/Bilibili-Evolved/releases/tag/v2.7.6) 的所有更新内容.
|
||||
|
||||
- `直播间网页全屏自适应` 支持自定义侧边栏宽度. (#4216)
|
||||
- 修复 `直播勋章快速更换` 获取头衔列表时报错. (#4403)
|
||||
|
||||
## v2.7.6
|
||||
`2023-09-07`
|
||||
|
||||
更新了动态相关的 API 地址, 修复番剧无法加载的问题. (#4305)
|
||||
|
||||
|
||||
## v2.8.3-preview
|
||||
`2023-08-26`
|
||||
|
||||
|
||||
@ -7,7 +7,7 @@ Bilibili Evolved 是一个基于 Web 前端技术构建的油猴脚本, 贡献
|
||||
|
||||
## 搭建开发环境
|
||||
|
||||
- 需要安装 [Node.js](https://nodejs.org/en/download/) (>= 14.0), [Visual Studio Code](https://code.visualstudio.com/) 和 [pnpm](https://pnpm.io/installation) (>= 8.1.0).
|
||||
- 需要安装 [Node.js](https://nodejs.org/en/download/) (>= 14.0), [Visual Studio Code](https://code.visualstudio.com/) 和 [pnpm](https://pnpm.io/installation) (>= 8.9.0).
|
||||
- 将项目 Fork 至自己账户后, 克隆至本地
|
||||
- 分支视情况切换或新建, 新功能以 `preview-features` 为基础分支, 功能修复以 `preview-fixes` 为基础分支.
|
||||
- 安装依赖:
|
||||
@ -21,6 +21,8 @@ pnpm install
|
||||
- [配置 VS Code 插件](https://code.visualstudio.com/docs/editor/extension-marketplace):
|
||||
- [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint), 用于格式化 TypeScript 和 Vue 文件.
|
||||
- [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode), 用于格式化 Scss 和其他文件.
|
||||
- [Vue Language Features (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.volar), 为 *.vue 文件提供支持.
|
||||
- [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin), 让 TS Server 识别 *.vue 文件.(建议启用性能更好的 [Takeover 模式](https://vuejs.org/guide/typescript/overview.html#volar-takeover-mode))
|
||||
|
||||
### 本体
|
||||
需要说明的是, 脚本本体和功能是分开的两个项目. 本体的代码在 `src/` 下, 开发时产生 `dist/bilibili-evolved.dev.user.js` 文件. 功能的代码位于 `registry/` 下, 开发时在 `registry/dist/` 下产生文件.
|
||||
@ -28,8 +30,28 @@ pnpm install
|
||||
|
||||
配置本地调试环境:
|
||||
|
||||
**启动开发服务 dev-server**
|
||||
|
||||
> 无论选择哪种方式, 下文均以 "运行 `启动开发服务 dev-server`" 指代这个步骤.
|
||||
|
||||
方式 1 (推荐): 直接使用 [VS Code Tasks](https://code.visualstudio.com/docs/editor/tasks) 运行 `启动开发服务 dev-server`
|
||||
|
||||
方式 2:
|
||||
1. 新建一个终端, 进入项目根目录
|
||||
2. 运行 `pnpm ts-node dev-tools/dev-server/index.ts` 启动开发服务
|
||||
|
||||
两种方式都会看到类似下面的输出:
|
||||
```bash
|
||||
DevServer 已启动, 端口: 23333
|
||||
本体编译中...
|
||||
(...可能有一长串输出)
|
||||
|
||||
本体已编译: (一段 hash)
|
||||
```
|
||||
|
||||
|
||||
**如果使用的是基于 Chromium 的浏览器**
|
||||
1. VS Code 中运行 `启动开发服务 dev-server` 任务, 会在项目的 `dist/` 文件夹下生成一个开发用的脚本 `dist/bilibili-evolved.dev.user.js`.
|
||||
1. 启动开发服务后, 会在项目的 `dist/` 文件夹下生成一个开发用的脚本 `dist/bilibili-evolved.dev.user.js`.
|
||||
2. Chrome 插件管理 `chrome://extensions/` > Tampermonkey > 详细信息
|
||||
3. 打开 `允许访问文件网址`
|
||||
4. 新建脚本
|
||||
@ -40,7 +62,7 @@ pnpm install
|
||||
// @description Bilibili Evolved (本地)
|
||||
// @version 300.0
|
||||
// @author Grant Howard, Coulomb-G
|
||||
// @copyright 2023, Grant Howard (https://github.com/the1812) & Coulomb-G (https://github.com/Coulomb-G)
|
||||
// @copyright 2024, Grant Howard (https://github.com/the1812) & Coulomb-G (https://github.com/Coulomb-G)
|
||||
// @license MIT
|
||||
// @match *://*.bilibili.com/*
|
||||
// @exclude *://*.bilibili.com/*/mobile.html
|
||||
@ -79,7 +101,7 @@ pnpm install
|
||||
// ==/UserScript==
|
||||
```
|
||||
|
||||
6. 将里面的 `{{ bilibili-evolved.dev.user.js的绝对路径 }}` 替换为第一步生成的文件的真实路径.
|
||||
1. 将里面的 `{{ bilibili-evolved.dev.user.js 的绝对路径 }}` 替换为第一步生成的文件的真实路径.
|
||||
> Windows 例子: `@require file://C:/xxx/Bilibili-Evolved/dist/bilibili-evolved.dev.user.js`
|
||||
|
||||
> macOS 例子: `@require file:///Users/xxx/Documents/Bilibili-Evolved/dist/bilibili-evolved.dev.user.js`
|
||||
@ -89,9 +111,9 @@ pnpm install
|
||||
7. 进入 b 站, 安装 `DevClient` 组件, 功能中显示已连接时就是成功了
|
||||
|
||||
**如果使用 Firefox 或 Safari**
|
||||
1. 运行 `启动开发服务 dev-server` 任务时, 假设得到的本体链接为 `http://localhost:23333/dist/bilibili-evolved.dev.user.js`
|
||||
2. 继续 Chromium 指南中的第 3 ~ 6 步, 但在第 6 步时 `@require` 的链接使用 `http://localhost:23333/dist/bilibili-evolved.dev.user.js`.
|
||||
3. 保存脚本, 运行 `启动开发服务 dev-server` 任务
|
||||
1. 启动开发服务后, 会在项目的 `dist/` 文件夹下生成一个开发用的脚本 `dist/bilibili-evolved.dev.user.js`.
|
||||
2. 开发服务会在默认的 `23333` 端口服务 `dist/` 文件夹下的内容, 因此上一步的文件链接就为 `http://localhost:23333/dist/bilibili-evolved.dev.user.js`.
|
||||
3. 继续 Chromium 指南中的第 3 ~ 6 步, 但在第 6 步时 `@require` 的链接使用 `http://localhost:23333/dist/bilibili-evolved.dev.user.js`.
|
||||
4. 进入 b 站, 安装 `DevClient` 组件, 将 `本体刷新策略` 设置为 `不刷新`, 功能中显示已连接时就是成功了
|
||||
5. 每次本体代码变动后, 需要在 Tampermonkey 中编辑脚本 - 外部, 删除 `localhost` 的缓存文件后刷新生效.
|
||||
|
||||
@ -153,9 +175,7 @@ pnpm install
|
||||
### 全局
|
||||
全局变量, 无需 `import` 就可以直接使用. (Tampermonkey API 这里不再列出了, 可根据代码提示使用)
|
||||
|
||||
- `Vue`: Vue 库的主对象, 在创建 `.vue` 组件时, 其中的 `<script>` 可以直接使用 `Vue.extend()`
|
||||
> 出于历史原因, 项目中用的还是 Vue 2, 由于其糟糕的 TypeScript 支持, 在 VS Code + Vetur 的环境下浏览 `.vue` 文件可能会报各种奇奇怪怪的类型错误, 无视就好. (类型是否正确以 `pnpm run type` 的结果为准)
|
||||
|
||||
- `Vue`: Vue 2 提供的主要对象. 不再推荐使用. 如果需要以选项式方式定义 Vue 组件, 请使用 `defineComponent` 而非 `Vue.extend` 或 `new Vue`.
|
||||
- `lodash`: 包含所有 Lodash 库提供的方法
|
||||
- `dq` / `dqa`: `document.querySelector` 和 `document.querySelectorAll` 的简写, `dqa` 会返回真实数组
|
||||
> 在 `bwp-video` 出现后, 这两个查询函数还会自动将对 `video` 的查询扩展到 `bwp-video`
|
||||
@ -241,6 +261,11 @@ pnpm install
|
||||
- `ui/VLoading.vue`: 表示数据加载中, 界面可被插件更改
|
||||
- `ui/AsyncButton.vue`: `click` 事件为异步函数时, 执行期间自动使 `Button` 禁用, 其他和 `Button` 相同.
|
||||
|
||||
## 代码类型检查
|
||||
提交 Pull Request 前, 请确保代码通过类型检查. 类型检查以 VS Code 任务: `生产:类型检查 prod:type` 为准.
|
||||
|
||||
> 项目有[计划](https://github.com/the1812/Bilibili-Evolved/discussions/3939)从 Vue 2 迁移到 Vue 3, 因此虽然我们[启用](https://github.com/the1812/Bilibili-Evolved/pull/4337)了 Volar 对 *.vue 文件进行类型检查, 却未完全修复 Volar 报告的类型错误. 因此,开发时 VS Code 报错属正常现象. Pull Request 的类型检查标准仍以上述内容为准.
|
||||
|
||||
## 代码风格检查
|
||||
项目中含有 ESLint, 不通过 ESLint 是无法进行 Pull Request 的.
|
||||
|
||||
|
||||
56
README.md
56
README.md
@ -1,3 +1,5 @@
|
||||
<!-- spell-checker: disable -->
|
||||
|
||||
<div align="center"><img id="Bilibili-Evolved" width="500" alt="Bilibili Evolved" src="./images/bilibili-evolved-wide-color.svg"></div>
|
||||
<br>
|
||||
<div align="center">
|
||||
@ -16,8 +18,10 @@
|
||||
|
||||
[🐛 版本历史与更新日志](CHANGELOG.md)
|
||||
|
||||
[📌 更新计划](https://github.com/users/the1812/projects/1/views/3)
|
||||
|
||||
[📕 文档站点](https://bilibili-evolved-doc.vercel.app/)
|
||||
> 文档站点由 [FoundTheWOUT](https://github.com/FoundTheWOUT) 开发, [点此进入 GitHub 仓库](https://github.com/FoundTheWOUT/bilibili-evolved-doc).
|
||||
> 文档站点由 [Waua](https://github.com/FoundTheWOUT) 开发, [点此进入 GitHub 仓库](https://github.com/FoundTheWOUT/bilibili-evolved-doc).
|
||||
|
||||
[📖 参与开发](CONTRIBUTING.md)
|
||||
|
||||
@ -28,20 +32,16 @@
|
||||
|
||||
**注意事项**
|
||||
- **⚠ 使用正式版 (GitHub 源) 和预览版须翻墙.**
|
||||
- 默认不带任何具体功能, 需要在按[设置](#设置)中的说明添加感兴趣的功能.
|
||||
- 默认不预装任何组件, 需要在按[设置](#设置)中的说明添加感兴趣的功能.
|
||||
- 这个是一个综合性的脚本, 如果只是想下载视频建议去 [GreasyFork](https://greasyfork.org/zh-CN/scripts/by-site/bilibili.com) 找个更专业的.
|
||||
- 可能不能使用弹幕点赞和举报.
|
||||
- 全景视频不能用鼠标拖拽视角(只能用键盘操作).
|
||||
- 默认屏蔽双击全屏, 如有需要可以安装 `双击全屏` 组件来恢复.
|
||||
- 对性能有较大影响.
|
||||
- 对性能有较大影响, 详见[配置要求](#配置).
|
||||
- 默认不对未登录的状态做适配.
|
||||
- 新版本一旦正式发布, 就不再对旧版本做任何技术支持.
|
||||
- 使用外部网站的链接时 (如将下载任务发送到自己的服务器 / 使用链接安装组件等) 可能会提示"脚本试图访问跨域资源", 请选择"始终允许".
|
||||
- 需要在至少 1400 x 800 以上的逻辑分辨率下使用.
|
||||
- 使用外部网站的链接时 (如将下载任务发送到自己的服务器 / 使用链接安装组件等) 可能会提示"脚本试图访问跨域资源", 请选择"始终允许" 避免下次还提示.
|
||||
|
||||
| 正式版 (jsDelivr 源) | 正式版 (GitHub 源) | 预览版 |
|
||||
| -------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
|
||||
| [安装](https://fastly.jsdelivr.net/gh/the1812/Bilibili-Evolved@master-cdn/dist/bilibili-evolved.user.js) | [安装](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/dist/bilibili-evolved.user.js) | [安装](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/dist/bilibili-evolved.preview.user.js) |
|
||||
| [安装](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@master-cdn/dist/bilibili-evolved.user.js) | [安装](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/dist/bilibili-evolved.user.js) | [安装](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/dist/bilibili-evolved.preview.user.js) |
|
||||
|
||||
> 如果处于某种原因只能停在旧版, 可以参考[旧版本回退指南](./doc/rollback.md).
|
||||
|
||||
@ -70,16 +70,27 @@
|
||||
|
||||
<img alt="about-panel" src="images/v2/about-panel.jpg" width="450">
|
||||
|
||||
# 推荐配置
|
||||
- 操作系统: 64-bit Windows 10 / macOS Ventura
|
||||
- 分辨率: 3840x2160 / 192ppi
|
||||
- 浏览器: Chrome 100+ / Firefox 103+ / Edge 100+ / Safari 15.4+
|
||||
- 处理器: Intel Core i7-9750H / AMD Ryzen 5 5600H
|
||||
# 配置
|
||||
## 最低配置
|
||||
- 操作系统: Windows 8.1 / macOS Big Sur
|
||||
- 分辨率: 1920x1080, 缩放 125%
|
||||
- 浏览器: Chrome 105+ / Firefox 127+ / Safari 15.4+ (仅理论上能运行, 没测试过)
|
||||
- 处理器: Intel Core i5-10500 / AMD Ryzen 5 3600
|
||||
- 内存: 8GB
|
||||
- 脚本管理器: Tampermonkey 4.14 / Violentmonkey 2.13
|
||||
- 脚本管理器: Tampermonkey 5.0 / Violentmonkey 2.18
|
||||
- 显卡: GeForce GTX 1050 / Radeon HD 7870
|
||||
- 网络: 10MB/s
|
||||
|
||||
## 推荐配置
|
||||
- 操作系统: Windows 10 / macOS Sonoma
|
||||
- 分辨率: 3840x2160, 缩放 200%
|
||||
- 浏览器: Chrome 120+ / Firefox 127+
|
||||
- 处理器: Intel Core i7-11700 / AMD Ryzen 7 5800
|
||||
- 内存: 32GB
|
||||
- 脚本管理器: Tampermonkey 5.0 / Violentmonkey 2.18
|
||||
- 显卡: GeForce RTX 3060 / Radeon RX 6600XT
|
||||
- 网络: 20MB/s
|
||||
|
||||
# 兼容性
|
||||
|
||||
## 脚本管理器
|
||||
@ -95,7 +106,7 @@
|
||||
|
||||
## 浏览器
|
||||
|
||||
支持**最新版** Chrome, Edge (Chromium 内核), Firefox, 不保证脚本能在["套壳类浏览器"](https://www.jianshu.com/p/67d790a8f221)或者较长时间没更新的浏览器中完美运行.
|
||||
支持**最新版** Chrome, Firefox, 不保证脚本能在 Safari 和 ["套壳类浏览器"](https://www.jianshu.com/p/67d790a8f221) 中完美运行.
|
||||
|
||||
# 开发者
|
||||
|
||||
@ -141,10 +152,9 @@
|
||||
# 相关推荐
|
||||
这些脚本/插件同样能够改善您在B站的体验, 相同的功能将不会整合到 Bilibili Evolved, 但会尽可能地适配
|
||||
|
||||
## bilibili网页端添加APP首页推荐
|
||||
作者: [indefined](https://github.com/indefined)
|
||||
- [GitHub](https://github.com/indefined/UserScripts/tree/master/bilibiliHome)
|
||||
- [GreasyFork](https://greasyfork.org/zh-CN/scripts/368446-bilibili%E7%BD%91%E9%A1%B5%E7%AB%AF%E6%B7%BB%E5%8A%A0app%E9%A6%96%E9%A1%B5%E6%8E%A8%E8%8D%90)
|
||||
## BewlyBewly
|
||||
作者: [Hakadao](https://github.com/hakadao)
|
||||
- [GitHub](https://github.com/BewlyBewly/BewlyBewly)
|
||||
|
||||
## pakku.js 哔哩哔哩弹幕过滤器
|
||||
作者: [xmcp](https://github.com/xmcp)
|
||||
@ -158,7 +168,7 @@
|
||||
|
||||
----
|
||||
|
||||
**喜欢的话就点个⭐Star吧(°∀°)ノ**
|
||||
**喜欢的话就点个⭐Star 吧(°∀°)ノ**
|
||||
|
||||
**或者也可以考虑[捐助](https://github.com/the1812/Bilibili-Evolved/blob/preview/doc/donate.md)支持一下哦(`・ω・´)**
|
||||
|
||||
@ -166,7 +176,7 @@
|
||||
|
||||
> 之前的支付宝付款码有点问题, 现已弃用 (不必担心, 转账均已收到), 在爱发电中仍然可以选择支付宝作为付款方式.
|
||||
|
||||
<a href="https://afdian.net/@the1812" target="_blank">
|
||||
<a href="https://afdian.com/a/the1812" target="_blank">
|
||||
<img alt="爱发电" src="./images/compressed/afdian.jpg" width="400">
|
||||
</a>
|
||||
|
||||
@ -179,7 +189,7 @@
|
||||
# 我写的其他一些玩意
|
||||
|
||||
## [Touhou Tagger](https://github.com/the1812/Touhou-Tagger)
|
||||
☯ 从 [THBWiki](https://thwiki.cc/) 自动填写东方Project同人音乐CD曲目信息
|
||||
☯ 从 [THBWiki](https://thwiki.cc/) 自动填写东方 Project 同人音乐 CD 曲目信息
|
||||
|
||||
## [Malware Patch](https://github.com/the1812/Malware-Patch)
|
||||
阻止中国流氓软件的管理员授权
|
||||
|
||||
@ -21,7 +21,7 @@ export const defaultWatcherHandler = (
|
||||
assets: false,
|
||||
modules: false,
|
||||
chunks: false,
|
||||
color: true,
|
||||
colors: true,
|
||||
}),
|
||||
)
|
||||
}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import parse from 'csv-parse/lib/sync'
|
||||
import fs from 'fs'
|
||||
import { parse } from 'csv-parse/sync'
|
||||
import * as fs from 'fs'
|
||||
|
||||
const files = process.argv.slice(2)
|
||||
const parseAliPay = (csv: Record<string, string>[]) => {
|
||||
@ -48,7 +48,7 @@ const parseWeChat = (csv: Record<string, string>[]) => {
|
||||
const items = files
|
||||
.map(file => {
|
||||
const text = fs.readFileSync(file, { encoding: 'utf-8' })
|
||||
const csv = parse(text, { columns: true })
|
||||
const csv = parse(text, { columns: true, bom: true, trim: true })
|
||||
if (file.includes('支付宝')) {
|
||||
return parseAliPay(csv)
|
||||
}
|
||||
|
||||
@ -6,11 +6,17 @@
|
||||
"license": "MIT",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"csv-parse": "^4.15.4"
|
||||
"csv-parse": "5.6.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^17.0.38",
|
||||
"ts-node": "^10.8.0",
|
||||
"typescript": "^4.7.2"
|
||||
"@types/node": "^22",
|
||||
"tsx": "4.19.4",
|
||||
"typescript": "5.8.3"
|
||||
},
|
||||
"packageManager": "pnpm@10.3.0+sha512.ee592eda8815a8a293c206bb0917c4bb0ff274c50def7cbc17be05ec641fc2d1b02490ce660061356bd0d126a4d7eb2ec8830e6959fb8a447571c631d5a2442d",
|
||||
"pnpm": {
|
||||
"onlyBuiltDependencies": [
|
||||
"esbuild"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
468
dev-tools/donate-table/pnpm-lock.yaml
generated
468
dev-tools/donate-table/pnpm-lock.yaml
generated
@ -1,185 +1,341 @@
|
||||
lockfileVersion: '6.1'
|
||||
lockfileVersion: '9.0'
|
||||
|
||||
settings:
|
||||
autoInstallPeers: true
|
||||
excludeLinksFromLockfile: false
|
||||
|
||||
dependencies:
|
||||
csv-parse:
|
||||
specifier: ^4.15.4
|
||||
version: registry.npmmirror.com/csv-parse@4.15.4
|
||||
importers:
|
||||
|
||||
devDependencies:
|
||||
'@types/node':
|
||||
specifier: ^17.0.38
|
||||
version: registry.npmmirror.com/@types/node@17.0.38
|
||||
ts-node:
|
||||
specifier: ^10.8.0
|
||||
version: registry.npmmirror.com/ts-node@10.8.0(@types/node@17.0.38)(typescript@4.7.2)
|
||||
typescript:
|
||||
specifier: ^4.7.2
|
||||
version: registry.npmmirror.com/typescript@4.7.2
|
||||
.:
|
||||
dependencies:
|
||||
csv-parse:
|
||||
specifier: 5.6.0
|
||||
version: 5.6.0
|
||||
devDependencies:
|
||||
'@types/node':
|
||||
specifier: ^22
|
||||
version: 22.15.27
|
||||
tsx:
|
||||
specifier: 4.19.4
|
||||
version: 4.19.4
|
||||
typescript:
|
||||
specifier: 5.8.3
|
||||
version: 5.8.3
|
||||
|
||||
packages:
|
||||
|
||||
registry.npmmirror.com/@cspotcode/source-map-support@0.8.1:
|
||||
resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz}
|
||||
name: '@cspotcode/source-map-support'
|
||||
version: 0.8.1
|
||||
engines: {node: '>=12'}
|
||||
dependencies:
|
||||
'@jridgewell/trace-mapping': registry.npmmirror.com/@jridgewell/trace-mapping@0.3.9
|
||||
dev: true
|
||||
'@esbuild/aix-ppc64@0.25.5':
|
||||
resolution: {integrity: sha512-9o3TMmpmftaCMepOdA5k/yDw8SfInyzWWTjYTFCX3kPSDJMROQTb8jg+h9Cnwnmm1vOzvxN7gIfB5V2ewpjtGA==}
|
||||
engines: {node: '>=18'}
|
||||
cpu: [ppc64]
|
||||
os: [aix]
|
||||
|
||||
registry.npmmirror.com/@jridgewell/resolve-uri@3.0.7:
|
||||
resolution: {integrity: sha512-8cXDaBBHOr2pQ7j77Y6Vp5VDT2sIqWyWQ56TjEq4ih/a4iST3dItRe8Q9fp0rrIl9DoKhWQtUQz/YpOxLkXbNA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@jridgewell/resolve-uri/-/resolve-uri-3.0.7.tgz}
|
||||
name: '@jridgewell/resolve-uri'
|
||||
version: 3.0.7
|
||||
engines: {node: '>=6.0.0'}
|
||||
dev: true
|
||||
'@esbuild/android-arm64@0.25.5':
|
||||
resolution: {integrity: sha512-VGzGhj4lJO+TVGV1v8ntCZWJktV7SGCs3Pn1GRWI1SBFtRALoomm8k5E9Pmwg3HOAal2VDc2F9+PM/rEY6oIDg==}
|
||||
engines: {node: '>=18'}
|
||||
cpu: [arm64]
|
||||
os: [android]
|
||||
|
||||
registry.npmmirror.com/@jridgewell/sourcemap-codec@1.4.13:
|
||||
resolution: {integrity: sha512-GryiOJmNcWbovBxTfZSF71V/mXbgcV3MewDe3kIMCLyIh5e7SKAeUZs+rMnJ8jkMolZ/4/VsdBmMrw3l+VdZ3w==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.13.tgz}
|
||||
name: '@jridgewell/sourcemap-codec'
|
||||
version: 1.4.13
|
||||
dev: true
|
||||
'@esbuild/android-arm@0.25.5':
|
||||
resolution: {integrity: sha512-AdJKSPeEHgi7/ZhuIPtcQKr5RQdo6OO2IL87JkianiMYMPbCtot9fxPbrMiBADOWWm3T2si9stAiVsGbTQFkbA==}
|
||||
engines: {node: '>=18'}
|
||||
cpu: [arm]
|
||||
os: [android]
|
||||
|
||||
registry.npmmirror.com/@jridgewell/trace-mapping@0.3.9:
|
||||
resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz}
|
||||
name: '@jridgewell/trace-mapping'
|
||||
version: 0.3.9
|
||||
dependencies:
|
||||
'@jridgewell/resolve-uri': registry.npmmirror.com/@jridgewell/resolve-uri@3.0.7
|
||||
'@jridgewell/sourcemap-codec': registry.npmmirror.com/@jridgewell/sourcemap-codec@1.4.13
|
||||
dev: true
|
||||
'@esbuild/android-x64@0.25.5':
|
||||
resolution: {integrity: sha512-D2GyJT1kjvO//drbRT3Hib9XPwQeWd9vZoBJn+bu/lVsOZ13cqNdDeqIF/xQ5/VmWvMduP6AmXvylO/PIc2isw==}
|
||||
engines: {node: '>=18'}
|
||||
cpu: [x64]
|
||||
os: [android]
|
||||
|
||||
registry.npmmirror.com/@tsconfig/node10@1.0.8:
|
||||
resolution: {integrity: sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@tsconfig/node10/-/node10-1.0.8.tgz}
|
||||
name: '@tsconfig/node10'
|
||||
version: 1.0.8
|
||||
dev: true
|
||||
'@esbuild/darwin-arm64@0.25.5':
|
||||
resolution: {integrity: sha512-GtaBgammVvdF7aPIgH2jxMDdivezgFu6iKpmT+48+F8Hhg5J/sfnDieg0aeG/jfSvkYQU2/pceFPDKlqZzwnfQ==}
|
||||
engines: {node: '>=18'}
|
||||
cpu: [arm64]
|
||||
os: [darwin]
|
||||
|
||||
registry.npmmirror.com/@tsconfig/node12@1.0.9:
|
||||
resolution: {integrity: sha512-/yBMcem+fbvhSREH+s14YJi18sp7J9jpuhYByADT2rypfajMZZN4WQ6zBGgBKp53NKmqI36wFYDb3yaMPurITw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@tsconfig/node12/-/node12-1.0.9.tgz}
|
||||
name: '@tsconfig/node12'
|
||||
version: 1.0.9
|
||||
dev: true
|
||||
'@esbuild/darwin-x64@0.25.5':
|
||||
resolution: {integrity: sha512-1iT4FVL0dJ76/q1wd7XDsXrSW+oLoquptvh4CLR4kITDtqi2e/xwXwdCVH8hVHU43wgJdsq7Gxuzcs6Iq/7bxQ==}
|
||||
engines: {node: '>=18'}
|
||||
cpu: [x64]
|
||||
os: [darwin]
|
||||
|
||||
registry.npmmirror.com/@tsconfig/node14@1.0.1:
|
||||
resolution: {integrity: sha512-509r2+yARFfHHE7T6Puu2jjkoycftovhXRqW328PDXTVGKihlb1P8Z9mMZH04ebyajfRY7dedfGynlrFHJUQCg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@tsconfig/node14/-/node14-1.0.1.tgz}
|
||||
name: '@tsconfig/node14'
|
||||
version: 1.0.1
|
||||
dev: true
|
||||
'@esbuild/freebsd-arm64@0.25.5':
|
||||
resolution: {integrity: sha512-nk4tGP3JThz4La38Uy/gzyXtpkPW8zSAmoUhK9xKKXdBCzKODMc2adkB2+8om9BDYugz+uGV7sLmpTYzvmz6Sw==}
|
||||
engines: {node: '>=18'}
|
||||
cpu: [arm64]
|
||||
os: [freebsd]
|
||||
|
||||
registry.npmmirror.com/@tsconfig/node16@1.0.2:
|
||||
resolution: {integrity: sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@tsconfig/node16/-/node16-1.0.2.tgz}
|
||||
name: '@tsconfig/node16'
|
||||
version: 1.0.2
|
||||
dev: true
|
||||
'@esbuild/freebsd-x64@0.25.5':
|
||||
resolution: {integrity: sha512-PrikaNjiXdR2laW6OIjlbeuCPrPaAl0IwPIaRv+SMV8CiM8i2LqVUHFC1+8eORgWyY7yhQY+2U2fA55mBzReaw==}
|
||||
engines: {node: '>=18'}
|
||||
cpu: [x64]
|
||||
os: [freebsd]
|
||||
|
||||
registry.npmmirror.com/@types/node@17.0.38:
|
||||
resolution: {integrity: sha512-5jY9RhV7c0Z4Jy09G+NIDTsCZ5G0L5n+Z+p+Y7t5VJHM30bgwzSjVtlcBxqAj+6L/swIlvtOSzr8rBk/aNyV2g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@types/node/-/node-17.0.38.tgz}
|
||||
name: '@types/node'
|
||||
version: 17.0.38
|
||||
dev: true
|
||||
'@esbuild/linux-arm64@0.25.5':
|
||||
resolution: {integrity: sha512-Z9kfb1v6ZlGbWj8EJk9T6czVEjjq2ntSYLY2cw6pAZl4oKtfgQuS4HOq41M/BcoLPzrUbNd+R4BXFyH//nHxVg==}
|
||||
engines: {node: '>=18'}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
|
||||
registry.npmmirror.com/acorn-walk@8.2.0:
|
||||
resolution: {integrity: sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/acorn-walk/-/acorn-walk-8.2.0.tgz}
|
||||
name: acorn-walk
|
||||
version: 8.2.0
|
||||
engines: {node: '>=0.4.0'}
|
||||
dev: true
|
||||
'@esbuild/linux-arm@0.25.5':
|
||||
resolution: {integrity: sha512-cPzojwW2okgh7ZlRpcBEtsX7WBuqbLrNXqLU89GxWbNt6uIg78ET82qifUy3W6OVww6ZWobWub5oqZOVtwolfw==}
|
||||
engines: {node: '>=18'}
|
||||
cpu: [arm]
|
||||
os: [linux]
|
||||
|
||||
registry.npmmirror.com/acorn@8.7.1:
|
||||
resolution: {integrity: sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/acorn/-/acorn-8.7.1.tgz}
|
||||
name: acorn
|
||||
version: 8.7.1
|
||||
engines: {node: '>=0.4.0'}
|
||||
'@esbuild/linux-ia32@0.25.5':
|
||||
resolution: {integrity: sha512-sQ7l00M8bSv36GLV95BVAdhJ2QsIbCuCjh/uYrWiMQSUuV+LpXwIqhgJDcvMTj+VsQmqAHL2yYaasENvJ7CDKA==}
|
||||
engines: {node: '>=18'}
|
||||
cpu: [ia32]
|
||||
os: [linux]
|
||||
|
||||
'@esbuild/linux-loong64@0.25.5':
|
||||
resolution: {integrity: sha512-0ur7ae16hDUC4OL5iEnDb0tZHDxYmuQyhKhsPBV8f99f6Z9KQM02g33f93rNH5A30agMS46u2HP6qTdEt6Q1kg==}
|
||||
engines: {node: '>=18'}
|
||||
cpu: [loong64]
|
||||
os: [linux]
|
||||
|
||||
'@esbuild/linux-mips64el@0.25.5':
|
||||
resolution: {integrity: sha512-kB/66P1OsHO5zLz0i6X0RxlQ+3cu0mkxS3TKFvkb5lin6uwZ/ttOkP3Z8lfR9mJOBk14ZwZ9182SIIWFGNmqmg==}
|
||||
engines: {node: '>=18'}
|
||||
cpu: [mips64el]
|
||||
os: [linux]
|
||||
|
||||
'@esbuild/linux-ppc64@0.25.5':
|
||||
resolution: {integrity: sha512-UZCmJ7r9X2fe2D6jBmkLBMQetXPXIsZjQJCjgwpVDz+YMcS6oFR27alkgGv3Oqkv07bxdvw7fyB71/olceJhkQ==}
|
||||
engines: {node: '>=18'}
|
||||
cpu: [ppc64]
|
||||
os: [linux]
|
||||
|
||||
'@esbuild/linux-riscv64@0.25.5':
|
||||
resolution: {integrity: sha512-kTxwu4mLyeOlsVIFPfQo+fQJAV9mh24xL+y+Bm6ej067sYANjyEw1dNHmvoqxJUCMnkBdKpvOn0Ahql6+4VyeA==}
|
||||
engines: {node: '>=18'}
|
||||
cpu: [riscv64]
|
||||
os: [linux]
|
||||
|
||||
'@esbuild/linux-s390x@0.25.5':
|
||||
resolution: {integrity: sha512-K2dSKTKfmdh78uJ3NcWFiqyRrimfdinS5ErLSn3vluHNeHVnBAFWC8a4X5N+7FgVE1EjXS1QDZbpqZBjfrqMTQ==}
|
||||
engines: {node: '>=18'}
|
||||
cpu: [s390x]
|
||||
os: [linux]
|
||||
|
||||
'@esbuild/linux-x64@0.25.5':
|
||||
resolution: {integrity: sha512-uhj8N2obKTE6pSZ+aMUbqq+1nXxNjZIIjCjGLfsWvVpy7gKCOL6rsY1MhRh9zLtUtAI7vpgLMK6DxjO8Qm9lJw==}
|
||||
engines: {node: '>=18'}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
|
||||
'@esbuild/netbsd-arm64@0.25.5':
|
||||
resolution: {integrity: sha512-pwHtMP9viAy1oHPvgxtOv+OkduK5ugofNTVDilIzBLpoWAM16r7b/mxBvfpuQDpRQFMfuVr5aLcn4yveGvBZvw==}
|
||||
engines: {node: '>=18'}
|
||||
cpu: [arm64]
|
||||
os: [netbsd]
|
||||
|
||||
'@esbuild/netbsd-x64@0.25.5':
|
||||
resolution: {integrity: sha512-WOb5fKrvVTRMfWFNCroYWWklbnXH0Q5rZppjq0vQIdlsQKuw6mdSihwSo4RV/YdQ5UCKKvBy7/0ZZYLBZKIbwQ==}
|
||||
engines: {node: '>=18'}
|
||||
cpu: [x64]
|
||||
os: [netbsd]
|
||||
|
||||
'@esbuild/openbsd-arm64@0.25.5':
|
||||
resolution: {integrity: sha512-7A208+uQKgTxHd0G0uqZO8UjK2R0DDb4fDmERtARjSHWxqMTye4Erz4zZafx7Di9Cv+lNHYuncAkiGFySoD+Mw==}
|
||||
engines: {node: '>=18'}
|
||||
cpu: [arm64]
|
||||
os: [openbsd]
|
||||
|
||||
'@esbuild/openbsd-x64@0.25.5':
|
||||
resolution: {integrity: sha512-G4hE405ErTWraiZ8UiSoesH8DaCsMm0Cay4fsFWOOUcz8b8rC6uCvnagr+gnioEjWn0wC+o1/TAHt+It+MpIMg==}
|
||||
engines: {node: '>=18'}
|
||||
cpu: [x64]
|
||||
os: [openbsd]
|
||||
|
||||
'@esbuild/sunos-x64@0.25.5':
|
||||
resolution: {integrity: sha512-l+azKShMy7FxzY0Rj4RCt5VD/q8mG/e+mDivgspo+yL8zW7qEwctQ6YqKX34DTEleFAvCIUviCFX1SDZRSyMQA==}
|
||||
engines: {node: '>=18'}
|
||||
cpu: [x64]
|
||||
os: [sunos]
|
||||
|
||||
'@esbuild/win32-arm64@0.25.5':
|
||||
resolution: {integrity: sha512-O2S7SNZzdcFG7eFKgvwUEZ2VG9D/sn/eIiz8XRZ1Q/DO5a3s76Xv0mdBzVM5j5R639lXQmPmSo0iRpHqUUrsxw==}
|
||||
engines: {node: '>=18'}
|
||||
cpu: [arm64]
|
||||
os: [win32]
|
||||
|
||||
'@esbuild/win32-ia32@0.25.5':
|
||||
resolution: {integrity: sha512-onOJ02pqs9h1iMJ1PQphR+VZv8qBMQ77Klcsqv9CNW2w6yLqoURLcgERAIurY6QE63bbLuqgP9ATqajFLK5AMQ==}
|
||||
engines: {node: '>=18'}
|
||||
cpu: [ia32]
|
||||
os: [win32]
|
||||
|
||||
'@esbuild/win32-x64@0.25.5':
|
||||
resolution: {integrity: sha512-TXv6YnJ8ZMVdX+SXWVBo/0p8LTcrUYngpWjvm91TMjjBQii7Oz11Lw5lbDV5Y0TzuhSJHwiH4hEtC1I42mMS0g==}
|
||||
engines: {node: '>=18'}
|
||||
cpu: [x64]
|
||||
os: [win32]
|
||||
|
||||
'@types/node@22.15.27':
|
||||
resolution: {integrity: sha512-5fF+eu5mwihV2BeVtX5vijhdaZOfkQTATrePEaXTcKqI16LhJ7gi2/Vhd9OZM0UojcdmiOCVg5rrax+i1MdoQQ==}
|
||||
|
||||
csv-parse@5.6.0:
|
||||
resolution: {integrity: sha512-l3nz3euub2QMg5ouu5U09Ew9Wf6/wQ8I++ch1loQ0ljmzhmfZYrH9fflS22i/PQEvsPvxCwxgz5q7UB8K1JO4Q==}
|
||||
|
||||
esbuild@0.25.5:
|
||||
resolution: {integrity: sha512-P8OtKZRv/5J5hhz0cUAdu/cLuPIKXpQl1R9pZtvmHWQvrAUVd0UNIPT4IB4W3rNOqVO0rlqHmCIbSwxh/c9yUQ==}
|
||||
engines: {node: '>=18'}
|
||||
hasBin: true
|
||||
dev: true
|
||||
|
||||
registry.npmmirror.com/arg@4.1.3:
|
||||
resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/arg/-/arg-4.1.3.tgz}
|
||||
name: arg
|
||||
version: 4.1.3
|
||||
dev: true
|
||||
fsevents@2.3.3:
|
||||
resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==}
|
||||
engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
|
||||
os: [darwin]
|
||||
|
||||
registry.npmmirror.com/create-require@1.1.1:
|
||||
resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/create-require/-/create-require-1.1.1.tgz}
|
||||
name: create-require
|
||||
version: 1.1.1
|
||||
dev: true
|
||||
get-tsconfig@4.10.1:
|
||||
resolution: {integrity: sha512-auHyJ4AgMz7vgS8Hp3N6HXSmlMdUyhSUrfBF16w153rxtLIEOE+HGqaBppczZvnHLqQJfiHotCYpNhl0lUROFQ==}
|
||||
|
||||
registry.npmmirror.com/csv-parse@4.15.4:
|
||||
resolution: {integrity: sha512-OdBbFc0yZhOm17lSxqkirrHlFFVpKRT0wp4DAGoJelsP3LbGzV9LNr7XmM/lrr0uGkCtaqac9UhP8PDHXOAbMg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/csv-parse/-/csv-parse-4.15.4.tgz}
|
||||
name: csv-parse
|
||||
version: 4.15.4
|
||||
dev: false
|
||||
resolve-pkg-maps@1.0.0:
|
||||
resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==}
|
||||
|
||||
registry.npmmirror.com/diff@4.0.2:
|
||||
resolution: {integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/diff/-/diff-4.0.2.tgz}
|
||||
name: diff
|
||||
version: 4.0.2
|
||||
engines: {node: '>=0.3.1'}
|
||||
dev: true
|
||||
|
||||
registry.npmmirror.com/make-error@1.3.6:
|
||||
resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/make-error/-/make-error-1.3.6.tgz}
|
||||
name: make-error
|
||||
version: 1.3.6
|
||||
dev: true
|
||||
|
||||
registry.npmmirror.com/ts-node@10.8.0(@types/node@17.0.38)(typescript@4.7.2):
|
||||
resolution: {integrity: sha512-/fNd5Qh+zTt8Vt1KbYZjRHCE9sI5i7nqfD/dzBBRDeVXZXS6kToW6R7tTU6Nd4XavFs0mAVCg29Q//ML7WsZYA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/ts-node/-/ts-node-10.8.0.tgz}
|
||||
id: registry.npmmirror.com/ts-node/10.8.0
|
||||
name: ts-node
|
||||
version: 10.8.0
|
||||
tsx@4.19.4:
|
||||
resolution: {integrity: sha512-gK5GVzDkJK1SI1zwHf32Mqxf2tSJkNx+eYcNly5+nHvWqXUJYUkWBQtKauoESz3ymezAI++ZwT855x5p5eop+Q==}
|
||||
engines: {node: '>=18.0.0'}
|
||||
hasBin: true
|
||||
peerDependencies:
|
||||
'@swc/core': '>=1.2.50'
|
||||
'@swc/wasm': '>=1.2.50'
|
||||
'@types/node': '*'
|
||||
typescript: '>=2.7'
|
||||
peerDependenciesMeta:
|
||||
'@swc/core':
|
||||
optional: true
|
||||
'@swc/wasm':
|
||||
optional: true
|
||||
|
||||
typescript@5.8.3:
|
||||
resolution: {integrity: sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==}
|
||||
engines: {node: '>=14.17'}
|
||||
hasBin: true
|
||||
|
||||
undici-types@6.21.0:
|
||||
resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==}
|
||||
|
||||
snapshots:
|
||||
|
||||
'@esbuild/aix-ppc64@0.25.5':
|
||||
optional: true
|
||||
|
||||
'@esbuild/android-arm64@0.25.5':
|
||||
optional: true
|
||||
|
||||
'@esbuild/android-arm@0.25.5':
|
||||
optional: true
|
||||
|
||||
'@esbuild/android-x64@0.25.5':
|
||||
optional: true
|
||||
|
||||
'@esbuild/darwin-arm64@0.25.5':
|
||||
optional: true
|
||||
|
||||
'@esbuild/darwin-x64@0.25.5':
|
||||
optional: true
|
||||
|
||||
'@esbuild/freebsd-arm64@0.25.5':
|
||||
optional: true
|
||||
|
||||
'@esbuild/freebsd-x64@0.25.5':
|
||||
optional: true
|
||||
|
||||
'@esbuild/linux-arm64@0.25.5':
|
||||
optional: true
|
||||
|
||||
'@esbuild/linux-arm@0.25.5':
|
||||
optional: true
|
||||
|
||||
'@esbuild/linux-ia32@0.25.5':
|
||||
optional: true
|
||||
|
||||
'@esbuild/linux-loong64@0.25.5':
|
||||
optional: true
|
||||
|
||||
'@esbuild/linux-mips64el@0.25.5':
|
||||
optional: true
|
||||
|
||||
'@esbuild/linux-ppc64@0.25.5':
|
||||
optional: true
|
||||
|
||||
'@esbuild/linux-riscv64@0.25.5':
|
||||
optional: true
|
||||
|
||||
'@esbuild/linux-s390x@0.25.5':
|
||||
optional: true
|
||||
|
||||
'@esbuild/linux-x64@0.25.5':
|
||||
optional: true
|
||||
|
||||
'@esbuild/netbsd-arm64@0.25.5':
|
||||
optional: true
|
||||
|
||||
'@esbuild/netbsd-x64@0.25.5':
|
||||
optional: true
|
||||
|
||||
'@esbuild/openbsd-arm64@0.25.5':
|
||||
optional: true
|
||||
|
||||
'@esbuild/openbsd-x64@0.25.5':
|
||||
optional: true
|
||||
|
||||
'@esbuild/sunos-x64@0.25.5':
|
||||
optional: true
|
||||
|
||||
'@esbuild/win32-arm64@0.25.5':
|
||||
optional: true
|
||||
|
||||
'@esbuild/win32-ia32@0.25.5':
|
||||
optional: true
|
||||
|
||||
'@esbuild/win32-x64@0.25.5':
|
||||
optional: true
|
||||
|
||||
'@types/node@22.15.27':
|
||||
dependencies:
|
||||
'@cspotcode/source-map-support': registry.npmmirror.com/@cspotcode/source-map-support@0.8.1
|
||||
'@tsconfig/node10': registry.npmmirror.com/@tsconfig/node10@1.0.8
|
||||
'@tsconfig/node12': registry.npmmirror.com/@tsconfig/node12@1.0.9
|
||||
'@tsconfig/node14': registry.npmmirror.com/@tsconfig/node14@1.0.1
|
||||
'@tsconfig/node16': registry.npmmirror.com/@tsconfig/node16@1.0.2
|
||||
'@types/node': registry.npmmirror.com/@types/node@17.0.38
|
||||
acorn: registry.npmmirror.com/acorn@8.7.1
|
||||
acorn-walk: registry.npmmirror.com/acorn-walk@8.2.0
|
||||
arg: registry.npmmirror.com/arg@4.1.3
|
||||
create-require: registry.npmmirror.com/create-require@1.1.1
|
||||
diff: registry.npmmirror.com/diff@4.0.2
|
||||
make-error: registry.npmmirror.com/make-error@1.3.6
|
||||
typescript: registry.npmmirror.com/typescript@4.7.2
|
||||
v8-compile-cache-lib: registry.npmmirror.com/v8-compile-cache-lib@3.0.1
|
||||
yn: registry.npmmirror.com/yn@3.1.1
|
||||
dev: true
|
||||
undici-types: 6.21.0
|
||||
|
||||
registry.npmmirror.com/typescript@4.7.2:
|
||||
resolution: {integrity: sha512-Mamb1iX2FDUpcTRzltPxgWMKy3fhg0TN378ylbktPGPK/99KbDtMQ4W1hwgsbPAsG3a0xKa1vmw4VKZQbkvz5A==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/typescript/-/typescript-4.7.2.tgz}
|
||||
name: typescript
|
||||
version: 4.7.2
|
||||
engines: {node: '>=4.2.0'}
|
||||
hasBin: true
|
||||
dev: true
|
||||
csv-parse@5.6.0: {}
|
||||
|
||||
registry.npmmirror.com/v8-compile-cache-lib@3.0.1:
|
||||
resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz}
|
||||
name: v8-compile-cache-lib
|
||||
version: 3.0.1
|
||||
dev: true
|
||||
esbuild@0.25.5:
|
||||
optionalDependencies:
|
||||
'@esbuild/aix-ppc64': 0.25.5
|
||||
'@esbuild/android-arm': 0.25.5
|
||||
'@esbuild/android-arm64': 0.25.5
|
||||
'@esbuild/android-x64': 0.25.5
|
||||
'@esbuild/darwin-arm64': 0.25.5
|
||||
'@esbuild/darwin-x64': 0.25.5
|
||||
'@esbuild/freebsd-arm64': 0.25.5
|
||||
'@esbuild/freebsd-x64': 0.25.5
|
||||
'@esbuild/linux-arm': 0.25.5
|
||||
'@esbuild/linux-arm64': 0.25.5
|
||||
'@esbuild/linux-ia32': 0.25.5
|
||||
'@esbuild/linux-loong64': 0.25.5
|
||||
'@esbuild/linux-mips64el': 0.25.5
|
||||
'@esbuild/linux-ppc64': 0.25.5
|
||||
'@esbuild/linux-riscv64': 0.25.5
|
||||
'@esbuild/linux-s390x': 0.25.5
|
||||
'@esbuild/linux-x64': 0.25.5
|
||||
'@esbuild/netbsd-arm64': 0.25.5
|
||||
'@esbuild/netbsd-x64': 0.25.5
|
||||
'@esbuild/openbsd-arm64': 0.25.5
|
||||
'@esbuild/openbsd-x64': 0.25.5
|
||||
'@esbuild/sunos-x64': 0.25.5
|
||||
'@esbuild/win32-arm64': 0.25.5
|
||||
'@esbuild/win32-ia32': 0.25.5
|
||||
'@esbuild/win32-x64': 0.25.5
|
||||
|
||||
registry.npmmirror.com/yn@3.1.1:
|
||||
resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/yn/-/yn-3.1.1.tgz}
|
||||
name: yn
|
||||
version: 3.1.1
|
||||
engines: {node: '>=6'}
|
||||
dev: true
|
||||
fsevents@2.3.3:
|
||||
optional: true
|
||||
|
||||
get-tsconfig@4.10.1:
|
||||
dependencies:
|
||||
resolve-pkg-maps: 1.0.0
|
||||
|
||||
resolve-pkg-maps@1.0.0: {}
|
||||
|
||||
tsx@4.19.4:
|
||||
dependencies:
|
||||
esbuild: 0.25.5
|
||||
get-tsconfig: 4.10.1
|
||||
optionalDependencies:
|
||||
fsevents: 2.3.3
|
||||
|
||||
typescript@5.8.3: {}
|
||||
|
||||
undici-types@6.21.0: {}
|
||||
|
||||
95
dist/bilibili-evolved.preview.user.js
vendored
95
dist/bilibili-evolved.preview.user.js
vendored
File diff suppressed because one or more lines are too long
95
dist/bilibili-evolved.user.js
vendored
95
dist/bilibili-evolved.user.js
vendored
File diff suppressed because one or more lines are too long
1130
doc/donate.md
1130
doc/donate.md
File diff suppressed because it is too large
Load Diff
@ -7,6 +7,14 @@
|
||||
"fullRelativePath": "../../registry/dist/components/feeds/copy-link.js",
|
||||
"fullAbsolutePath": "registry/dist/components/feeds/copy-link.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "deleteFeeds",
|
||||
"displayName": "删除动态",
|
||||
"description": "删除动态, 可选转发抽奖, 和全部删除.\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/feeds/del-feeds.js",
|
||||
"fullAbsolutePath": "registry/dist/components/feeds/del-feeds.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "disableFeedsDetails",
|
||||
@ -27,7 +35,7 @@
|
||||
"type": "component",
|
||||
"name": "feedsFilter",
|
||||
"displayName": "动态过滤器",
|
||||
"description": "按照类型或者关键词过滤动态首页的内容, 也可以移除动态页的一些侧边卡片. 详细设置请前往[动态首页](https://t.bilibili.com/)查看.\r\n",
|
||||
"description": "按照类型或者关键词过滤动态首页的内容, 也可以移除动态页的一些侧边卡片. 详细设置请前往[动态首页](https://t.bilibili.com/)查看.\r\n\r\n> 侧边卡片的 `正在直播` 指原版的板块, 如果你使用了 `直播信息扩充`, 则需要关闭该功能才能生效.\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/feeds/filter.js",
|
||||
"fullAbsolutePath": "registry/dist/components/feeds/filter.js"
|
||||
},
|
||||
@ -51,7 +59,7 @@
|
||||
"type": "component",
|
||||
"name": "fullFeedsContent",
|
||||
"displayName": "展开动态内容",
|
||||
"description": "不管内容多长, 总是完全展开动态的内容.",
|
||||
"description": "不管内容多长, 总是完全展开动态的内容. (专栏不算)\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/feeds/full-content.js",
|
||||
"fullAbsolutePath": "registry/dist/components/feeds/full-content.js"
|
||||
},
|
||||
@ -63,6 +71,14 @@
|
||||
"fullRelativePath": "../../registry/dist/components/feeds/full-title.js",
|
||||
"fullAbsolutePath": "registry/dist/components/feeds/full-title.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "feedsGroupFilter",
|
||||
"displayName": "动态分组过滤",
|
||||
"description": "by [@Rinne](https://github.com/OharaRinneY)\n\n按照关注分组筛选动态\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/feeds/group-filter.js",
|
||||
"fullAbsolutePath": "registry/dist/components/feeds/group-filter.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "hideFeedsCommentPreview",
|
||||
@ -79,6 +95,14 @@
|
||||
"fullRelativePath": "../../registry/dist/components/feeds/image-auto-back-to-top.js",
|
||||
"fullAbsolutePath": "registry/dist/components/feeds/image-auto-back-to-top.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "legacyFeedsImageViewer",
|
||||
"displayName": "动态图片平铺展示",
|
||||
"description": "将动态中左右切换式的图片改回传统的平铺展示. (在动态详情中可能稍有延迟)\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/feeds/legacy-image-viewer.js",
|
||||
"fullAbsolutePath": "registry/dist/components/feeds/legacy-image-viewer.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "unfoldFeeds",
|
||||
@ -91,10 +115,26 @@
|
||||
"type": "component",
|
||||
"name": "badgeHelper",
|
||||
"displayName": "直播勋章快速更换",
|
||||
"description": "在直播区中, 可从功能面板中直接切换勋章和头衔. 默认显示 256 个 (同时也是上限), 可在选项中修改.",
|
||||
"description": "在直播区中, 可从功能面板中直接切换勋章和头衔. 默认显示 256 个 (同时也是上限), 可在选项中修改.\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/live/badge-helper.js",
|
||||
"fullAbsolutePath": "registry/dist/components/live/badge-helper.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "badgeKeepalive",
|
||||
"displayName": "一键点亮直播间粉丝勋章",
|
||||
"description": "by [@magicFeirl](https://github.com/magicFeirl)\n\n在直播间页面的功能面板添加一键点亮粉丝勋章功能,仅适用于有粉丝勋章且正在直播的直播间。原理:发送一个 300 次点赞的请求点亮粉丝勋章。",
|
||||
"fullRelativePath": "../../registry/dist/components/live/badge-keepalive.js",
|
||||
"fullAbsolutePath": "registry/dist/components/live/badge-keepalive.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "liveChatPanelFit",
|
||||
"displayName": "直播间网页全屏自适应",
|
||||
"description": "在直播网页全屏时, 自动调整侧边栏的宽度, 使得视频区域的比例和视频源相匹配, 达到无黑边的效果.\r\n如果在侧边栏的边缘拖动, 可以自定义侧边栏的固定宽度, 双击边缘可以还原到自动宽度.\r\n\r\n- `侧边栏最大宽度 (px)`: 限制侧边栏可被拉伸到的最大宽度. (最小宽度固定为 190px, 再小的话布局就要出问题了)\r\n\r\n> 注意, 由于有最大宽度和最小宽度的限制, 部分窗口尺寸下仍然无法做到无黑边.\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/live/chat-panel-fit.js",
|
||||
"fullAbsolutePath": "registry/dist/components/live/chat-panel-fit.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "liveDanmakuSendbar",
|
||||
@ -111,6 +151,22 @@
|
||||
"fullRelativePath": "../../registry/dist/components/live/gift-box.js",
|
||||
"fullAbsolutePath": "registry/dist/components/live/gift-box.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "hide-fullscreen-gift-bar",
|
||||
"displayName": "全屏直播礼物简化",
|
||||
"description": "by [@TimmyOVO](https://github.com/TimmyOVO)\n\n移除全屏观看直播时的底部礼物栏",
|
||||
"fullRelativePath": "../../registry/dist/components/live/hide-gift-fullscreen.js",
|
||||
"fullAbsolutePath": "registry/dist/components/live/hide-gift-fullscreen.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "hideLivePlayerBlur",
|
||||
"displayName": "隐藏直播马赛克",
|
||||
"description": "移除直播画面中的马赛克区域.\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/live/hide-player-blur.js",
|
||||
"fullAbsolutePath": "registry/dist/components/live/hide-player-blur.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "liveHomeMute",
|
||||
@ -119,6 +175,14 @@
|
||||
"fullRelativePath": "../../registry/dist/components/live/home-mute.js",
|
||||
"fullAbsolutePath": "registry/dist/components/live/home-mute.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "liveroomUsernameLink",
|
||||
"displayName": "添加直播间用户超链接",
|
||||
"description": "by [@Light_Quanta](https://github.com/LightQuanta)\n\n为直播间的房间观众和大航海界面的用户列表添加可以点击的超链接",
|
||||
"fullRelativePath": "../../registry/dist/components/live/liveroom-username-link.js",
|
||||
"fullAbsolutePath": "registry/dist/components/live/liveroom-username-link.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "originalLiveroom",
|
||||
@ -127,6 +191,14 @@
|
||||
"fullRelativePath": "../../registry/dist/components/live/original.js",
|
||||
"fullAbsolutePath": "registry/dist/components/live/original.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "removeLiveMaskPanel",
|
||||
"displayName": "删除直播马赛克遮罩",
|
||||
"description": "by [@Liki4](https://github.com/Liki4)\n\n删除观看直播时某些分区的马赛克遮罩.",
|
||||
"fullRelativePath": "../../registry/dist/components/live/remove-mask-panel.js",
|
||||
"fullAbsolutePath": "registry/dist/components/live/remove-mask-panel.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "removeLiveWatermark",
|
||||
@ -167,11 +239,27 @@
|
||||
"fullRelativePath": "../../registry/dist/components/style/auto-hide-sidebar.js",
|
||||
"fullAbsolutePath": "registry/dist/components/style/auto-hide-sidebar.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "clear-home",
|
||||
"displayName": "首页净化",
|
||||
"description": "by [@RieN7](https://github.com/rien7)\n\n删除首页特定类型的卡片",
|
||||
"fullRelativePath": "../../registry/dist/components/style/clear-home.js",
|
||||
"fullAbsolutePath": "registry/dist/components/style/clear-home.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "customFontFamily",
|
||||
"displayName": "自定义字体",
|
||||
"description": "by [@Tinhone](https://github.com/Tinhone)\n\n使用组件提供的字体设置覆盖原版的主站字体,并使主站字体可被自定义。\r\n\r\n当组件被启用后,几乎所有的元素会立即应用组件提供的字体设置。\r\n\r\n选项说明:\r\n- `禁用标题标点符号缩进`: 在新版视频页中,推荐视频栏中的视频标题,如果首个字符是特定的标点符号,则文本会缩入左侧。这个选项可以禁用这种样式\r\n- `更多选项`:\r\n - `自定义字体`: 设置自定义字体。写法请参考 [MDN](https://developer.mozilla.org/zh-CN/docs/Web/CSS/font-family)、默认设置与设置说明。\r\n - `覆盖选项`: 相当于一个白名单,使用了特殊字体的元素会被加入其中。默认情况下这些元素不会应用组件提供的字体设置,只有在启用对应的选项后才会应用。",
|
||||
"fullRelativePath": "../../registry/dist/components/style/custom-font-family.js",
|
||||
"fullAbsolutePath": "registry/dist/components/style/custom-font-family.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "customNavbar",
|
||||
"displayName": "自定义顶栏",
|
||||
"description": "使用脚本提供的顶栏替换原版的主站顶栏 (非主站不替换), 启用后还可以在反广告插件 (例如 ABP) 中配置禁止原版顶栏的消息 iframe 以提升性能:\r\n- *://message.bilibili.com/pages/nav/index_new_pc_sync\r\n- *://message.bilibili.com/pages/nav/index_new_sync\r\n",
|
||||
"description": "使用脚本提供的顶栏替换原版的主站顶栏 (非主站不替换).\r\n\r\n启用后还可以在反广告插件 (例如 ABP) 中配置禁止原版顶栏的消息 iframe 以提升性能:\r\n- *://message.bilibili.com/pages/nav/index_new_pc_sync\r\n- *://message.bilibili.com/pages/nav/index_new_sync\r\n\r\n选项说明:\r\n- `全局固定`: 将顶栏固定显示, 即使页面向下滚动也仍然可见. (除了一部分有 b 站定制顶栏的页面会忽略此选项)\r\n- `主题色填充`: 使用通用设置中的主题颜色填充顶栏的背景.\r\n- `透明填充`: 在首页和主站的部分页面中, 当存在顶部横幅图片时, 顶栏背景将变为透明 + 阴影的样式.\r\n- `背景模糊`: 启用背景模糊效果, 会使背景颜色变得半透明, 注意这个效果非常非常消耗图形性能, 慎用.\r\n- `投影`: 在顶栏下方增加一小段投影效果.\r\n- `使用季节 Logo`: 使用 b 站首页的特殊 Logo 图片替换顶栏的 Logo 图, 通常会对应当前季节, 特殊活动期间可能会有变化导致看不清. (比如搞了个全白的 Logo, 而顶栏正好也是白色的)\r\n- `触摸模式`: 启用后顶栏的一级入口点击时不进行跳转, 方便触屏使用.\r\n- `新标签页打开`: 控制顶栏内链接是否在新标签页打开.\r\n- `自动刷新数据`: 启用后, 部分有弹窗的顶栏入口在鼠标经过时会自动刷新数据.\r\n- `顶栏高度`: 自定义顶栏的高度 (b 站原版的为 64px)\r\n- `消息提醒样式`: 自定义顶栏入口的消息提醒样式.\r\n- `搜索栏宽度`: 自定义搜索栏占顶栏的比例.\r\n- `链接对齐样式`: 自定义纯链接弹窗内链接文字的对齐样式.\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/style/custom-navbar.js",
|
||||
"fullAbsolutePath": "registry/dist/components/style/custom-navbar.js"
|
||||
},
|
||||
@ -223,6 +311,14 @@
|
||||
"fullRelativePath": "../../registry/dist/components/style/hide/banner.js",
|
||||
"fullAbsolutePath": "registry/dist/components/style/hide/banner.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "hideHomeCarousel",
|
||||
"displayName": "隐藏首页轮播图",
|
||||
"description": "隐藏首页的轮播图区域\r\n\r\n选项说明:\r\n\r\n- `禁用轮播`:禁用图片轮播,可以手动切换\r\n- `图片模糊`:模糊轮播图片,为0时不模糊\r\n- `样式开关`:\r\n - `隐藏轮播区域占位`:完全隐藏整个轮播区域\r\n - `透明化轮播区域`:完全透明化整个轮播区域,同时禁止点击打开链接\r\n - `隐藏轮播图片`:隐藏轮播图片,同时禁止点击图片打开链接\r\n - `隐藏图片标题`:隐藏图片标题,同时禁止点击标题打开链接\r\n\r\n > 注:样式开关可以同时启用,但是最终显示效果以作用范围大的为准 \r\n > 例如启用 `隐藏轮播区域占位`,由于整个区域都被隐藏,不管 `隐藏轮播图片`、`隐藏图片标题` 等选项是否启用都已经看不见了\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/style/hide/home-carousel.js",
|
||||
"fullAbsolutePath": "registry/dist/components/style/hide/home-carousel.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "hideTrendingSearch",
|
||||
@ -239,6 +335,22 @@
|
||||
"fullRelativePath": "../../registry/dist/components/style/hide/user-card.js",
|
||||
"fullAbsolutePath": "registry/dist/components/style/hide/user-card.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "hideUserPendent",
|
||||
"displayName": "隐藏头像框",
|
||||
"description": "隐藏页面中用户的头像框 (包括角标), 目前支持动态和视频页面.\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/style/hide/user-pendent.js",
|
||||
"fullAbsolutePath": "registry/dist/components/style/hide/user-pendent.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "hideVideoNotes",
|
||||
"displayName": "隐藏记笔记",
|
||||
"description": "隐藏视频页面中的 \"记笔记\" 按钮.\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/style/hide/video/notes.js",
|
||||
"fullAbsolutePath": "registry/dist/components/style/hide/video/notes.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "hideRecommendedLive",
|
||||
@ -251,10 +363,18 @@
|
||||
"type": "component",
|
||||
"name": "hideRelatedVideos",
|
||||
"displayName": "隐藏视频推荐",
|
||||
"description": "隐藏番剧和视频页面右侧的推荐视频列表. 注意: 如果你想关闭 b 站的自动连播 (自动播放下一个推荐视频) 功能, 需要先取消隐藏视频推荐才能看到开关.",
|
||||
"description": "隐藏番剧和视频页面右侧的推荐视频列表. 注意: 如果你想关闭 b 站的自动连播 (自动播放下一个推荐视频) 功能, 需要先取消隐藏视频推荐才能看到开关.\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/style/hide/video/related-videos.js",
|
||||
"fullAbsolutePath": "registry/dist/components/style/hide/video/related-videos.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "hideVideoReport",
|
||||
"displayName": "隐藏稿件投诉",
|
||||
"description": "隐藏视频页面中的 \"稿件投诉\" 按钮.\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/style/hide/video/report.js",
|
||||
"fullAbsolutePath": "registry/dist/components/style/hide/video/report.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "hideVideoShare",
|
||||
@ -275,7 +395,7 @@
|
||||
"type": "component",
|
||||
"name": "freshHome",
|
||||
"displayName": "清爽首页",
|
||||
"description": "使用重新设计的清爽风格首页替换原本的首页.\r\n\r\n请注意, 此功能与 `极简首页` 互斥, 请勿同时使用.\r\n\r\n- 个性化推荐: 启用时展示推荐视频, 禁用时展示热门视频\r\n- 启用横向滚动: 在可以横向滚动的列表中, 使鼠标滚轮可以做出横向滚动的效果, 请注意这会禁用卡片的边缘吸附效果.\r\n",
|
||||
"description": "使用重新设计的清爽风格首页替换原本的首页.\r\n\r\n请注意:\r\n- 此功能与 `极简首页` 互斥, 请勿同时使用.\r\n- 此功能会禁用首页的[悬浮视频](https://github.com/the1812/Bilibili-Evolved/discussions/4404), 变为直接跳转到视频页面.\r\n\r\n选项说明:\r\n- 个性化推荐: 启用时展示推荐视频, 禁用时展示热门视频.\r\n- 启用横向滚动: 在可以横向滚动的列表中, 使鼠标滚轮可以做出横向滚动的效果, 请注意这会禁用卡片的边缘吸附效果.\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/style/home-redesign/fresh.js",
|
||||
"fullAbsolutePath": "registry/dist/components/style/home-redesign/fresh.js"
|
||||
},
|
||||
@ -283,7 +403,7 @@
|
||||
"type": "component",
|
||||
"name": "minimalHome",
|
||||
"displayName": "极简首页",
|
||||
"description": "使用重新设计的极简首页替换原本的首页.\r\n\r\n请注意, 此功能与 `清爽首页` 互斥, 请勿同时使用.\r\n\r\n- 个性化推荐: 启用时展示推荐视频, 禁用时展示热门视频\r\n- 自定义列数: 为 `0` 时根据视图宽度推断, 大于 `0` 的值将作为固定的列数",
|
||||
"description": "使用重新设计的极简首页替换原本的首页.\r\n\r\n请注意:\r\n- 此功能与 `清爽首页` 互斥, 请勿同时使用.\r\n- 此功能会禁用首页的[悬浮视频](https://github.com/the1812/Bilibili-Evolved/discussions/4404), 变为直接跳转到视频页面.\r\n\r\n选项说明:\r\n- 个性化推荐: 启用时展示推荐视频, 禁用时展示热门视频\r\n- 自定义列数: 为 `0` 时根据视图宽度推断, 大于 `0` 的值将作为固定的列数",
|
||||
"fullRelativePath": "../../registry/dist/components/style/home-redesign/minimal.js",
|
||||
"fullAbsolutePath": "registry/dist/components/style/home-redesign/minimal.js"
|
||||
},
|
||||
@ -291,7 +411,7 @@
|
||||
"type": "component",
|
||||
"name": "playerOnTopNew",
|
||||
"displayName": "播放器置顶(新)",
|
||||
"description": "by [@RieN7](https://github.com/rien7)\n\n原来的播放器置顶插件,现在已经不可用了,这是一个新的版本,可以在视频页面中将播放器放在页面最上方.",
|
||||
"description": "by [@RieN7](https://github.com/rien7),[@ZiuChen](https://github.com/ZiuChen),[@LockRim](https://github.com/LockRim)\n\n原来的播放器置顶插件,现在已经不可用了,这是一个新的版本,可以在视频页面中将播放器放在页面最上方.",
|
||||
"fullRelativePath": "../../registry/dist/components/style/player-on-top-new.js",
|
||||
"fullAbsolutePath": "registry/dist/components/style/player-on-top-new.js"
|
||||
},
|
||||
@ -331,18 +451,10 @@
|
||||
"type": "component",
|
||||
"name": "simplifyComments",
|
||||
"displayName": "简化评论区",
|
||||
"description": "- 删除热评头像下方的关注按钮\r\n- 删除用户的等级标识\r\n- 删除发送源信息(\\`来自安卓客户端\\` 这种)\r\n- 删除用户名右边的勋章\r\n- 删除评论区顶部的横幅\r\n- 发送时间移动到右上角\r\n- 位图图标全部换用矢量图标, 高分屏不会模糊\r\n- 投票仅显示链接, 隐藏下面的大框.\r\n\r\n> 注: 关注和等级可以通过鼠标停留在头像上, 在弹出的资料卡小窗中查看.\r\n",
|
||||
"description": "去除或优化评论区内的元素, 可配置以下选项 (描述的是勾选时的效果):\r\n\r\n> 配置项仅对新版评论区有效\r\n\r\n- `用户等级`: 隐藏用户等级标识. (隐藏后, 可以通过鼠标停留在头像上, 在弹出的资料卡小窗中查看)\r\n- `装扮 & 时间`: 隐藏装扮图片, 并把发送时间移动到装扮的位置.\r\n- `头像框`: 隐藏头像框.\r\n- `回复换行`:\r\n - 楼中楼回复也另起一行显示, 和一级回复保持一致.\r\n - `热评`, `UP 主点赞` 等标记和点赞栏放在同一行.\r\n- `编辑框`: 将提示文本居上, 符合用户实际输入文字的位置, 并将发布按钮的字号略微调小.\r\n- `粉丝勋章`: 隐藏用户的粉丝勋章.\r\n- `小喇叭横幅`: 隐藏评论区顶部的小喇叭横幅\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/style/simplify/comments.js",
|
||||
"fullAbsolutePath": "registry/dist/components/style/simplify/comments.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "simplifyHome",
|
||||
"displayName": "简化首页",
|
||||
"description": "隐藏原版首页不需要的元素 / 分区.",
|
||||
"fullRelativePath": "../../registry/dist/components/style/simplify/home.js",
|
||||
"fullAbsolutePath": "registry/dist/components/style/simplify/home.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "simplifyLiveroom",
|
||||
@ -355,7 +467,7 @@
|
||||
"type": "component",
|
||||
"name": "disableSpecialDanmaku",
|
||||
"displayName": "禁用特殊弹幕样式",
|
||||
"description": "移除高赞弹幕或 UP 主弹幕的特殊样式, 弹幕内容不会移除.",
|
||||
"description": "移除高亮弹幕或 UP 主弹幕的特殊样式, 弹幕内容不会移除.",
|
||||
"fullRelativePath": "../../registry/dist/components/style/special-danmaku.js",
|
||||
"fullAbsolutePath": "registry/dist/components/style/special-danmaku.js"
|
||||
},
|
||||
@ -379,7 +491,7 @@
|
||||
"type": "component",
|
||||
"name": "doubleClickControl",
|
||||
"displayName": "启用双击控制",
|
||||
"description": "将视频播放器的操作方式更改为: 单击显示 / 隐藏控制栏, 双击播放 / 暂停. 请注意不能和 `双击全屏` 一同使用.",
|
||||
"description": "将视频播放器的操作方式更改为: 单击显示 / 隐藏控制栏, 双击播放 / 暂停.\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/touch/double-click-control.js",
|
||||
"fullAbsolutePath": "registry/dist/components/touch/double-click-control.js"
|
||||
},
|
||||
@ -407,11 +519,27 @@
|
||||
"fullRelativePath": "../../registry/dist/components/touch/player-gestures.js",
|
||||
"fullAbsolutePath": "registry/dist/components/touch/player-gestures.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "activeVideoLinks",
|
||||
"displayName": "视频链接增强",
|
||||
"description": "by [@Alan Ye](https://github.com/at-wr)\n\n这个组件会将视频简介中的普通网址转换为可点击的链接,并将<del>被 Bilibili 抛弃</del>已失效的 `acg.tv` 跳转链接修复为 `nicovideo.jp` 链接。\r\n\r\n例如: `https://acg.tv/sm37507315` → `https://www.nicovideo.jp/watch/sm37507315`\r\n\r\n<i>本组件不会保证目标链接的安全性,因此在点击前请自行验证其是否可信</i>\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/utils/active-video-links.js",
|
||||
"fullAbsolutePath": "registry/dist/components/utils/active-video-links.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "albumPubTimeShow",
|
||||
"displayName": "相簿发布时间显示",
|
||||
"description": "by [@Light_Quanta](https://github.com/LightQuanta)\n\n在相簿界面显示相簿的发布时间",
|
||||
"fullRelativePath": "../../registry/dist/components/utils/album-time-show.js",
|
||||
"fullAbsolutePath": "registry/dist/components/utils/album-time-show.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "autoLike",
|
||||
"displayName": "自动点赞",
|
||||
"description": "进入视频 / 查看动态时, 自动点赞.\r\n",
|
||||
"description": "by [@CrazyboyQCD](https://github.com/CrazyboyQCD)\n\n进入视频 / 查看动态时, 自动点赞\\\r\n无法触发未加载动态的点赞,当启用手动对动态点赞后可手动触发,启用后不会触发动态自动点赞\\\r\n安装快捷键扩展后可以点击【l】键或【L】键触发\\\r\n还可以添加动态点赞的黑名单\\\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/utils/auto-like.js",
|
||||
"fullAbsolutePath": "registry/dist/components/utils/auto-like.js"
|
||||
},
|
||||
@ -447,6 +575,14 @@
|
||||
"fullRelativePath": "../../registry/dist/components/utils/column-unlock.js",
|
||||
"fullAbsolutePath": "registry/dist/components/utils/column-unlock.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "commentContentReplace",
|
||||
"displayName": "评论内容替换",
|
||||
"description": "替换评论中的内容.\r\n\r\n可以添加多个替换配置, 每项配置可将一个关键词替换为其他文本. 若替换的目标是一个链接, 则视作替换为表情, 留空则会移除命中的关键词.\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/utils/comments/content-replace.js",
|
||||
"fullAbsolutePath": "registry/dist/components/utils/comments/content-replace.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "copyCommentsLink",
|
||||
@ -479,11 +615,19 @@
|
||||
"fullRelativePath": "../../registry/dist/components/utils/download-audio.js",
|
||||
"fullAbsolutePath": "registry/dist/components/utils/download-audio.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "downloadEmoticons",
|
||||
"displayName": "下载表情",
|
||||
"description": "by [@Pencilqaq](https://github.com/pencilqaq)\n\n## 下载up主专属表情包\r\n\r\n支持下载up主专属表情包,处于任意直播间页面时,下载按钮会在`功能`面板显示,以压缩包形式保存。",
|
||||
"fullRelativePath": "../../registry/dist/components/utils/download-emoticons.js",
|
||||
"fullAbsolutePath": "registry/dist/components/utils/download-emoticons.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "imageExporter",
|
||||
"displayName": "图片批量导出",
|
||||
"description": "可以批量导出某个地方的图片, 目前支持动态和专栏.\r\n\r\n动态文件名变量:\r\n- `user`: 用户名\r\n- `originalUser`: 被转发用户名, 如果不是转发类型的动态则等于 `user`\r\n- `id`: 动态 ID\r\n- `n`: 第 n 张图\r\n\r\n专栏文件名变量:\r\n- `title`: 专栏标题\r\n- `n`: 第 n 张图",
|
||||
"description": "可以批量导出某个地方的图片, 目前支持动态和专栏.\r\n\r\n动态文件名变量:\r\n- `n`: 第 n 张图\r\n- `id`: 动态 ID\r\n- `user`: 用户名\r\n- `userID`: 用户 ID\r\n- 动态发布时间:\r\n - `publishYear`\r\n - `publishMonth`\r\n - `publishDay`\r\n - `publishHour`\r\n - `publishMinute`\r\n - `publishSecond`\r\n - `publishMillisecond`\r\n- 被转发的数据 (如果不是转发类型的动态, 则和上面的对应变量相同):\r\n - `originalID`: 被转发的动态 ID\r\n - `originalUser`: 被转发的用户名\r\n - `originalUserID`: 被转发用户 ID\r\n - 被转发的动态发布时间:\r\n - `originalPublishYear`\r\n - `originalPublishMonth`\r\n - `originalPublishDay`\r\n - `originalPublishHour`\r\n - `originalPublishMinute`\r\n - `originalPublishSecond`\r\n - `originalPublishMillisecond`\r\n\r\n专栏文件名变量:\r\n- `n`: 第 n 张图\r\n- `title`: 专栏标题\r\n- `cv`: 专栏 cv 号\r\n- 专栏发布时间:\r\n - `publishYear`\r\n - `publishMonth`\r\n - `publishDay`\r\n - `publishHour`\r\n - `publishMinute`\r\n - `publishSecond`\r\n - `publishMillisecond`\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/utils/image-exporter.js",
|
||||
"fullAbsolutePath": "registry/dist/components/utils/image-exporter.js"
|
||||
},
|
||||
@ -491,7 +635,7 @@
|
||||
"type": "component",
|
||||
"name": "imageResolution",
|
||||
"displayName": "高分辨率图片",
|
||||
"description": "根据屏幕 DPI 请求更高分辨率的图片, 例如 DPI 缩放 200% 则请求 2 倍的分辨率, 加载时间也会相应变长一些. (也会导致某些浏览器里出现图片闪动, 因为本质上是更换了图片源)",
|
||||
"description": "对 200% 以上的屏幕 DPI 缩放请求更高分辨率的图片, 加载时间也会相应变长一些. (也会导致某些浏览器里出现图片闪动, 因为本质上是更换了图片源)\r\n\r\n由于 b 站在很多地方没有设置图片维持原比例, 如果计算后的图片尺寸超出原图尺寸则会产生错误的比例, 可以考虑在选项中手动降低缩放级别.\r\n\r\n`缩放级别` 选项:\r\n- `auto`: 根据 DPI 缩放超出 200% 的比例自动计算, 例如 250% 的缩放下会请求 1.5 倍尺寸的图片.\r\n- `数字`: 自定义尺寸的缩放倍率.\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/utils/image-resolution.js",
|
||||
"fullAbsolutePath": "registry/dist/components/utils/image-resolution.js"
|
||||
},
|
||||
@ -503,6 +647,14 @@
|
||||
"fullRelativePath": "../../registry/dist/components/utils/import-series.js",
|
||||
"fullAbsolutePath": "registry/dist/components/utils/import-series.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "ipShow",
|
||||
"displayName": "评论区IP属地显示",
|
||||
"description": "by [@Light_Quanta](https://github.com/LightQuanta)\n\n在评论区显示评论的IP属地信息",
|
||||
"fullRelativePath": "../../registry/dist/components/utils/ip-show.js",
|
||||
"fullAbsolutePath": "registry/dist/components/utils/ip-show.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "keymap",
|
||||
@ -515,15 +667,23 @@
|
||||
"type": "component",
|
||||
"name": "removePromotions",
|
||||
"displayName": "删除广告",
|
||||
"description": "删除站内的各种广告. 包括首页的推广模块, 手机 app 推荐, 视频页面右侧的广告等. 注意: 首页推广模块删除后留下空白区域是正常现象, 如果觉得怪可以开启 `占位文本` 选项.\n\n- `占位文本`: 删除首页推广模块的广告后显示\"🚫已屏蔽广告\"来替代空白区域.\n- `保留活动横幅`: 保留视频页面的活动横幅.\n- `保留小喇叭`: 保留视频页面的活动横幅下方评论区上方的黄色小喇叭通知以及动态的黄色小喇叭.",
|
||||
"description": "删除站内的各种广告. 包括首页的推广模块, 手机 app 推荐, 视频页面右侧的广告等.\r\n\r\n- `保留活动横幅`: 保留视频页面的活动横幅.\r\n- `选项`\r\n - `卡片占位`: 关闭时广告卡片将完全隐藏,后续的视频卡片会自动补上空缺位置\r\n - `占位文本`: 屏蔽首页推广模块的广告后显示\"🚫已屏蔽广告\"来替代空白区域.\r\n - `调试模式`: 用于查看是否正确屏蔽广告,启用时将边框高亮广告卡片,同时其他屏蔽选项会失效\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/utils/remove-promotions.js",
|
||||
"fullAbsolutePath": "registry/dist/components/utils/remove-promotions.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "subscribeTimeShow",
|
||||
"displayName": "关注时间显示",
|
||||
"description": "by [@CNOCM](https://github.com/CNOCM)\n\n在粉丝/关注列表及用户主页显示关注的具体时间。",
|
||||
"fullRelativePath": "../../registry/dist/components/utils/subscribe-time-show.js",
|
||||
"fullAbsolutePath": "registry/dist/components/utils/subscribe-time-show.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "urlParamsClean",
|
||||
"displayName": "网址参数清理",
|
||||
"description": "自动删除网址中的多余跟踪参数. 请注意这会导致浏览器历史记录出现重复的标题 (分别是转换前后的网址), 并可能导致后退要多退几次.\r\n",
|
||||
"description": "自动删除网址中的多余跟踪参数。请注意这会导致浏览器历史记录出现重复的标题(分别是转换前后的网址),并可能导致后退要多退几次。\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/utils/url-params-clean.js",
|
||||
"fullAbsolutePath": "registry/dist/components/utils/url-params-clean.js"
|
||||
},
|
||||
@ -543,14 +703,30 @@
|
||||
"fullRelativePath": "../../registry/dist/components/utils/view-cover.js",
|
||||
"fullAbsolutePath": "registry/dist/components/utils/view-cover.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "watchlaterPageRedirect",
|
||||
"displayName": "稍后再看页面-重定向",
|
||||
"description": "by [@magicFeirl](https://github.com/magicFeirl)\n\n重定向**稍后再看页面**到普通视频页面,和`稍后再看重定向`组件的区别在于,该组件是在进入稍后再看的视频页面后进行重定向,而非直接替换链接到普通视频的链接,用于补充`稍后再看重定向`组件的功能。\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/utils/watchlater-page-redirect.js",
|
||||
"fullAbsolutePath": "registry/dist/components/utils/watchlater-page-redirect.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "watchlaterRedirect",
|
||||
"displayName": "稍后再看重定向",
|
||||
"description": "将稍后再看的链接重定向为普通播放网址.",
|
||||
"description": "将稍后再看的链接重定向为普通播放网址.\r\n- `重定向页面`: 对稍后再看列表页面里的链接重定向.\r\n- `重定向顶栏`: 对 `自定义顶栏` 里的稍后再看链接重定向.\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/utils/watchlater-redirect.js",
|
||||
"fullAbsolutePath": "registry/dist/components/utils/watchlater-redirect.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "autoRemoveWatchlater",
|
||||
"displayName": "自动移出稍后再看",
|
||||
"description": "在稍后再看页面播放结束时, 自动将当前视频移出稍后再看.\r\n注意:\r\n- 一定要播放结束, 快结束时手动切走不算\r\n- b 站的稍后再看列表不会实时刷新\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/video/auto-remove-watchlater.js",
|
||||
"fullAbsolutePath": "registry/dist/components/video/auto-remove-watchlater.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "avUrl",
|
||||
@ -603,7 +779,7 @@
|
||||
"type": "component",
|
||||
"name": "unescapeDanmaku",
|
||||
"displayName": "弹幕转义",
|
||||
"description": "将弹幕中的 `\\n` 替换为真实的换行, 注意这可能导致原先不重叠的弹幕发生重叠.\r\n",
|
||||
"description": "将弹幕中的 `\\n` 或 `/n` 替换为真实的换行, 注意这可能导致原先不重叠的弹幕发生重叠.\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/video/danmaku/unescape.js",
|
||||
"fullAbsolutePath": "registry/dist/components/video/danmaku/unescape.js"
|
||||
},
|
||||
@ -611,7 +787,7 @@
|
||||
"type": "component",
|
||||
"name": "videoDefaultLocation",
|
||||
"displayName": "视频页默认定位",
|
||||
"description": "打开视频/番剧时自动定位到指定位置\r\n\r\n<div class=\"video-default-location-desc-detail\">\r\n\r\n位置:距离页面顶部的像素距离\\\r\n默认位置:打开视频时自动定位到此处\\\r\n位置测试:查看、调整当前页面所在位置\r\n\r\n当前版本限制默认位置的最大值为 4000。\\\r\n若有其他希望支持的页面,请提交反馈。\\\r\n脚本不会等待评论完全加载,因此较大的默认位置将无法正确定位。\r\n\r\n</div>\r\n\r\n<style>\r\n.video-default-location-desc-detail.video-default-location-desc-detail p {\r\n margin-top: 1ex;\r\n}\r\n</style>\r\n",
|
||||
"description": "打开视频/番剧时自动定位到指定位置\r\n\r\n位置:距离页面顶部的像素距离\\\r\n默认位置:打开视频时自动定位到此处\\\r\n位置测试:查看、调整当前页面所在位置\r\n\r\n当前版本限制默认位置的最大值为 4000。\\\r\n若有其他希望支持的页面,请提交反馈。\\\r\n脚本不会等待评论完全加载,因此较大的默认位置将无法正确定位。\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/video/default-location.js",
|
||||
"fullAbsolutePath": "registry/dist/components/video/default-location.js"
|
||||
},
|
||||
@ -619,7 +795,7 @@
|
||||
"type": "component",
|
||||
"name": "downloadVideo",
|
||||
"displayName": "下载视频",
|
||||
"description": "在功能面板中添加下载视频支持. 请注意:\r\n- 不能下载超出账号权限的视频, 例如非大会员下载大会员清晰度视频, 或者大陆地区网络下载港澳台地区番剧, 都是不可以的.\r\n- 请勿短时间进行大量下载, 以免遭到 b 站 IP 封禁.\r\n",
|
||||
"description": "在功能面板中添加下载视频支持. 请注意:\r\n- 不能下载超出账号权限的视频, 例如非大会员下载大会员清晰度视频, 或者大陆地区网络下载港澳台地区番剧, 都是不可以的.\r\n- 请勿短时间进行大量下载, 以免遭到 b 站 IP 封禁.\r\n\r\n在使用视频 (非番剧) 批量下载时, 文件的批量命名格式中可以使用以下额外变量:\r\n- `user`: UP 主用户名\r\n- `userID`: UP 主用户 ID\r\n- 视频发布时间:\r\n - `publishYear`\r\n - `publishMonth`\r\n - `publishDay`\r\n - `publishHour`\r\n - `publishMinute`\r\n - `publishSecond`\r\n - `publishMillisecond`\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/video/download.js",
|
||||
"fullAbsolutePath": "registry/dist/components/video/download.js"
|
||||
},
|
||||
@ -635,10 +811,18 @@
|
||||
"type": "component",
|
||||
"name": "fullEpisodeTitle",
|
||||
"displayName": "选集区域优化",
|
||||
"description": "提供一些视频选集区域的优化, 对番剧无效.\r\n- `展开选集标题`: 总是完全展开视频选集列表项的标题\r\n- `展开选集列表`: 总是完全展开视频选集列表\r\n\r\n打开 `展开选集列表` 时, 在选集区域的标题上按住 <kbd>Alt</kbd> 键点击可以临时切换展开/收起选集列表.\r\n",
|
||||
"description": "提供一些视频选集区域的优化, 对番剧无效.\r\n- `展开选集标题`: 总是完全展开视频选集列表项的标题, 若为传统分 P 列表, 还会恢复显示分 P 数的前缀.\r\n- `展开选集列表`: 总是完全展开视频选集列表\r\n\r\n打开 `展开选集列表` 时, 在选集区域的标题上按住 <kbd>Alt</kbd> 键点击可以临时切换此组件的效果.\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/video/full-episode-title.js",
|
||||
"fullAbsolutePath": "registry/dist/components/video/full-episode-title.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "saveVideoMetadata",
|
||||
"displayName": "保存视频元数据",
|
||||
"description": "by [@WakelessSloth56](https://github.com/WakelessSloth56),[@LainIO24](https://github.com/LainIO24)\n\n保存视频元数据(标题、描述、UP、章节等)",
|
||||
"fullRelativePath": "../../registry/dist/components/video/metadata.js",
|
||||
"fullAbsolutePath": "registry/dist/components/video/metadata.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "outerWatchlater",
|
||||
@ -671,6 +855,14 @@
|
||||
"fullRelativePath": "../../registry/dist/components/video/player/default-mode.js",
|
||||
"fullAbsolutePath": "registry/dist/components/video/player/default-mode.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "disableDoubleClickFullscreen",
|
||||
"displayName": "禁用双击全屏",
|
||||
"description": "禁用播放器的双击全屏功能.\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/video/player/disable-double-click-fullscreen.js",
|
||||
"fullAbsolutePath": "registry/dist/components/video/player/disable-double-click-fullscreen.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "disableScrollVolume",
|
||||
@ -679,19 +871,11 @@
|
||||
"fullRelativePath": "../../registry/dist/components/video/player/disable-scroll-volume.js",
|
||||
"fullAbsolutePath": "registry/dist/components/video/player/disable-scroll-volume.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "doubleClickFullscreen",
|
||||
"displayName": "双击全屏",
|
||||
"description": "为视频播放器启用双击全屏功能, 请注意不能和 `启用双击控制` 一同使用.",
|
||||
"fullRelativePath": "../../registry/dist/components/video/player/double-click-fullscreen.js",
|
||||
"fullAbsolutePath": "registry/dist/components/video/player/double-click-fullscreen.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "extendVideoSpeed",
|
||||
"displayName": "扩展倍速",
|
||||
"description": "by [@JLoeve](https://github.com/LonelySteve)\n\n\n\n> 扩展视频播放器的倍速菜单项,可用于突破原有播放倍数的上限或下限.\n\n### 🔧 **选项**\n\n- `隐藏滚动条`:如果添加的倍速过多,倍速菜单将出现滚动条,在 Windows 下,若没有安装并启用「细滚动条」组件会显得比较挤,建议开启此选项隐藏滚动条.\n\n- `隐藏移除图标`:如果认为倍速右侧的移除倍速图标有些突兀,可以开启此选项隐藏.\n\n- `隐藏新增图标`:如果认为顶部的新增倍速图标有些突兀,可以开启此选项隐藏.\n\n### **新增倍速**\n\n开启组件后,在默认情况下,播放器的倍速菜单就会新增 2.5x 和 3.0x 两个倍速选项.\n\n如果需要添加更多倍速,只需将鼠标指针移到菜单顶部的新增图标上,图标将变成一个输入框,根据需要键入新的倍速值,或通过滚轮增减数值,或直接使用推荐的数值,回车确认即可.\n\n新增倍速的范围要求在 0.0625 到 16 之间,数量则不受限制.\n\n**不推荐设置超高倍速(>3.0x)**:原生播放器内部没有针对超高倍速进行优化,可能导致音画不同步、播放卡顿、声音嘈杂/消失等一系列问题.\n\n### **删除倍速**\n\n将鼠标指针移到**自定义**的倍速菜单项上,其右侧将会显示一个移除图标,单击即可删除相应的倍速.\n\n",
|
||||
"description": "by [@JLoeve](https://github.com/LonelySteve)\n\n\n\n> 扩展视频播放器的倍速菜单项,可用于突破原有播放倍数的上限或下限.\n\n#### 🔧 **选项**\n\n- `隐藏滚动条`:如果添加的倍速过多,倍速菜单将出现滚动条,在 Windows 下,若没有安装并启用「细滚动条」组件会显得比较挤,建议开启此选项隐藏滚动条.\n\n- `隐藏移除图标`:如果认为倍速右侧的移除倍速图标有些突兀,可以开启此选项隐藏.\n\n- `隐藏新增图标`:如果认为顶部的新增倍速图标有些突兀,可以开启此选项隐藏.\n\n#### **新增倍速**\n\n开启组件后,在默认情况下,播放器的倍速菜单就会新增 2.5x 和 3.0x 两个倍速选项.\n\n如果需要添加更多倍速,只需将鼠标指针移到菜单顶部的新增图标上,图标将变成一个输入框,根据需要键入新的倍速值,或通过滚轮增减数值,或直接使用推荐的数值,回车确认即可.\n\n新增倍速的范围要求在 0.0625 到 16 之间,数量则不受限制.\n\n**不推荐设置超高倍速(>3.0x)**:原生播放器内部没有针对超高倍速进行优化,可能导致音画不同步、播放卡顿、声音嘈杂/消失等一系列问题.\n\n#### **删除倍速**\n\n将鼠标指针移到**自定义**的倍速菜单项上,其右侧将会显示一个移除图标,单击即可删除相应的倍速.\n\n",
|
||||
"fullRelativePath": "../../registry/dist/components/video/player/extend-speed.js",
|
||||
"fullAbsolutePath": "registry/dist/components/video/player/extend-speed.js"
|
||||
},
|
||||
@ -707,7 +891,7 @@
|
||||
"type": "component",
|
||||
"name": "playerIntersectionActions",
|
||||
"displayName": "播放器位置动作",
|
||||
"description": "by [@FoundTheWOUT](https://github.com/FoundTheWOUT)\n\n设置当播放器移出视图的位置变化时执行的动作.",
|
||||
"description": "by [@Waua](https://github.com/FoundTheWOUT)\n\n设置当播放器移出视图的位置变化时执行的动作.",
|
||||
"fullRelativePath": "../../registry/dist/components/video/player/intersection-actions.js",
|
||||
"fullAbsolutePath": "registry/dist/components/video/player/intersection-actions.js"
|
||||
},
|
||||
@ -739,7 +923,7 @@
|
||||
"type": "component",
|
||||
"name": "rememberVideoSpeed",
|
||||
"displayName": "记忆倍速",
|
||||
"description": "by [@JLoeve](https://github.com/LonelySteve)\n\n\n\n> 提高视频播放器的倍速记忆体验,可实现跨页共享倍速,也可以按视频分别记忆倍速.\n\n### 🔧 **选项**\n\n- `全局记忆倍速值`:默认情况下,这是跨页共享的倍速值,如果启用「各视频分别记忆」,则作为从未独立记忆倍速视频的初始倍速值.\n- `固定全局倍速值`:默认情况下,全局倍速值将随着用户改变视频倍速而改变,打开此选项后,全局记忆倍速值不再受倍速调整的影响.\n- `各视频分别记忆`:打开此选项后,将按不同视频分别记忆倍速,对于从未被记忆过倍速的视频,将采用全局记忆倍速值,选项「固定全局倍速值」在此情况下强制生效.\n- `弹出还原倍速提示`:打开此选项后,每次成功还原倍速后都会弹出提示.\n\n### 🌈 **温馨提示**\n\n「扩展倍速」和倍速相关的快捷键插件已分离为单独的组件或插件.\n\n请根据自身需要:\n\n- 前往「组件」页面安装[「扩展倍速」]((branch, ownerOverride) => `https://${host}/${ownerOverride || owner}/Bilibili-Evolved/${branch}/`registry/dist/components/video/player/extend-speed.js)组件\n- 前往「插件」页面安装[「快捷键扩展 - 视频倍速」]((branch, ownerOverride) => `https://${host}/${ownerOverride || owner}/Bilibili-Evolved/${branch}/`registry/dist/plugins/video/player/speed.js)插件.\n\n*如果想要清除当前视频的记忆状态,需要安装「快捷键扩展 - 视频倍速」插件.*\n",
|
||||
"description": "by [@JLoeve](https://github.com/LonelySteve)\n\n\n\n> 提高视频播放器的倍速记忆体验,可实现跨页共享倍速,也可以按视频分别记忆倍速.\n\n#### 🔧 **选项**\n\n- `全局记忆倍速值`:默认情况下,这是跨页共享的倍速值,如果启用「各视频分别记忆」,则作为从未独立记忆倍速视频的初始倍速值.\n- `固定全局倍速值`:默认情况下,全局倍速值将随着用户改变视频倍速而改变,打开此选项后,全局记忆倍速值不再受倍速调整的影响.\n- `各视频分别记忆`:打开此选项后,将按不同视频分别记忆倍速,对于从未被记忆过倍速的视频,将采用全局记忆倍速值,选项「固定全局倍速值」在此情况下强制生效.\n- `弹出还原倍速提示`:打开此选项后,每次成功还原倍速后都会弹出提示.\n\n#### 🌈 **温馨提示**\n\n「扩展倍速」和倍速相关的快捷键插件已分离为单独的组件或插件.\n\n请根据自身需要:\n\n- 前往「组件」页面安装[「扩展倍速」]((branch, ownerOverride) => `https://${host}/${ownerOverride || owner}/Bilibili-Evolved/${branch}/`registry/dist/components/video/player/extend-speed.js)组件\n- 前往「插件」页面安装[「快捷键扩展 - 视频倍速」]((branch, ownerOverride) => `https://${host}/${ownerOverride || owner}/Bilibili-Evolved/${branch}/`registry/dist/plugins/video/player/speed.js)插件.\n\n*如果想要清除当前视频的记忆状态,需要安装「快捷键扩展 - 视频倍速」插件.*\n",
|
||||
"fullRelativePath": "../../registry/dist/components/video/player/remember-speed.js",
|
||||
"fullAbsolutePath": "registry/dist/components/video/player/remember-speed.js"
|
||||
},
|
||||
@ -747,7 +931,7 @@
|
||||
"type": "component",
|
||||
"name": "removePlayerPopup",
|
||||
"displayName": "删除视频弹窗",
|
||||
"description": "删除视频播放器中出现的各种弹窗, 类别可在选项中分别选择.\r\n",
|
||||
"description": "删除视频播放器中出现的各种弹窗, 类别可在选项中分别选择. 如果之前点了收起弹窗, 则收起后的小弹窗则会直接删除. (不受类别选择影响)\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/video/player/remove-popup.js",
|
||||
"fullAbsolutePath": "registry/dist/components/video/player/remove-popup.js"
|
||||
},
|
||||
@ -779,7 +963,7 @@
|
||||
"type": "component",
|
||||
"name": "showUploadTime",
|
||||
"displayName": "显示视频投稿时间",
|
||||
"description": "by [@wisokey](https://github.com/wisokey)\n\n为视频播放页面的推荐列表中的视频添加显示视频投稿时间.\r\n\r\n`时间格式` 替换up名的文本格式 (默认为'up · yyyy-MM-dd'):\r\n - y: 年\r\n - M: 月\r\n - d: 日\r\n - h: 时\r\n - m: 分\r\n - s: 秒\r\n - q: 季度\r\n - up: up名\r\n",
|
||||
"description": "by [@wisokey](https://github.com/wisokey)\n\n为视频播放页面的推荐列表中的视频添加显示视频投稿时间.\r\n\r\n`时间格式` 替换up名的文本格式 (默认为'up · yyyy-MM-dd'):\r\n - y: 年\r\n - M: 月\r\n - d: 日\r\n - h: 时\r\n - m: 分\r\n - s: 秒\r\n - q: 季度\r\n - up: up名\r\n - \\r: 回车符\r\n - \\n:换行符\r\n - \\t:制表符",
|
||||
"fullRelativePath": "../../registry/dist/components/video/player/show-upload-time.js",
|
||||
"fullAbsolutePath": "registry/dist/components/video/player/show-upload-time.js"
|
||||
},
|
||||
@ -811,7 +995,7 @@
|
||||
"type": "component",
|
||||
"name": "downloadSubtitle",
|
||||
"displayName": "下载字幕",
|
||||
"description": "启用下载字幕支持, 在视频页面中可从功能面板里下载字幕.",
|
||||
"description": "启用下载字幕支持, 在视频页面中可从功能面板里下载字幕. (AI 生成的不可下载)\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/video/subtitle/download.js",
|
||||
"fullAbsolutePath": "registry/dist/components/video/subtitle/download.js"
|
||||
},
|
||||
@ -824,6 +1008,22 @@
|
||||
"description": "by FoundTheWOUT\n\n在视频播放器右上角显示系统时间.",
|
||||
"owner": "FoundTheWOUT"
|
||||
},
|
||||
{
|
||||
"type": "plugin",
|
||||
"name": "feedsFilter.pluginBlocks.chargeFeeds",
|
||||
"displayName": "动态过滤器 - 移除充电专属动态",
|
||||
"description": "移除动态里的充电专属动态, 装有 `动态过滤器` 时生效.\r\n",
|
||||
"fullRelativePath": "../../registry/dist/plugins/feeds/filter/hide-charge-feeds.js",
|
||||
"fullAbsolutePath": "registry/dist/plugins/feeds/filter/hide-charge-feeds.js"
|
||||
},
|
||||
{
|
||||
"type": "plugin",
|
||||
"name": "feedsFilter.pluginBlocks.goods",
|
||||
"displayName": "动态过滤器 - 移除商品带货动态",
|
||||
"description": "移除动态里的商品带货动态 (UP主的推荐 · 来自 XX), 装有 `动态过滤器` 时生效.\r\n",
|
||||
"fullRelativePath": "../../registry/dist/plugins/feeds/filter/hide-goods.js",
|
||||
"fullAbsolutePath": "registry/dist/plugins/feeds/filter/hide-goods.js"
|
||||
},
|
||||
{
|
||||
"type": "plugin",
|
||||
"name": "launchBar.actions.audioSearch",
|
||||
@ -896,6 +1096,14 @@
|
||||
"fullRelativePath": "../../registry/dist/plugins/style/custom-navbar-dark-mode.js",
|
||||
"fullAbsolutePath": "registry/dist/plugins/style/custom-navbar-dark-mode.js"
|
||||
},
|
||||
{
|
||||
"type": "plugin",
|
||||
"name": "customNavbar.items.pgc",
|
||||
"displayName": "自定义顶栏 - 版权内容",
|
||||
"description": "为自定义顶栏扩充版权内容相关的快速入口, 包括国创 / 电影 / 电视剧 /综艺 / 纪录片",
|
||||
"fullRelativePath": "../../registry/dist/plugins/style/custom-navbar-pgc.js",
|
||||
"fullAbsolutePath": "registry/dist/plugins/style/custom-navbar-pgc.js"
|
||||
},
|
||||
{
|
||||
"type": "plugin",
|
||||
"name": "keymap.actions.darkMode",
|
||||
@ -952,6 +1160,14 @@
|
||||
"fullRelativePath": "../../registry/dist/plugins/video/download/aria2-output.js",
|
||||
"fullAbsolutePath": "registry/dist/plugins/video/download/aria2-output.js"
|
||||
},
|
||||
{
|
||||
"type": "plugin",
|
||||
"name": "downloadVideo.outputs.empty",
|
||||
"displayName": "下载视频 - 空输出",
|
||||
"description": "提供一个 \"空\" 的输出选项, 只想获取下载视频的附带产物 (弹幕, 字幕等) 时可以使用此插件.\r\n",
|
||||
"fullRelativePath": "../../registry/dist/plugins/video/download/empty-output.js",
|
||||
"fullAbsolutePath": "registry/dist/plugins/video/download/empty-output.js"
|
||||
},
|
||||
{
|
||||
"type": "plugin",
|
||||
"name": "downloadVideo.outputs.idm",
|
||||
@ -976,6 +1192,14 @@
|
||||
"fullRelativePath": "../../registry/dist/plugins/video/download/motrix-output.js",
|
||||
"fullAbsolutePath": "registry/dist/plugins/video/download/motrix-output.js"
|
||||
},
|
||||
{
|
||||
"type": "plugin",
|
||||
"name": "downloadVideo.outputs.mpv-ex",
|
||||
"displayName": "下载视频 - MPV 输出支持加强版",
|
||||
"description": "by [@asuaaa](https://github.com/Asukaaaaaa)\n\n为下载视频增加 MPV 输出,支持导出列表, 配置方式请参考 [README](https://github.com/Asukaaaaaa/tricks/blob/main/Bilibili-Evolved%20mpv-ex%20%E6%8F%92%E4%BB%B6.md)",
|
||||
"fullRelativePath": "../../registry/dist/plugins/video/download/mpv-output-ex.js",
|
||||
"fullAbsolutePath": "registry/dist/plugins/video/download/mpv-output-ex.js"
|
||||
},
|
||||
{
|
||||
"type": "plugin",
|
||||
"name": "downloadVideo.outputs.mpv-playlist",
|
||||
@ -992,6 +1216,14 @@
|
||||
"fullRelativePath": "../../registry/dist/plugins/video/download/mpv-output.js",
|
||||
"fullAbsolutePath": "registry/dist/plugins/video/download/mpv-output.js"
|
||||
},
|
||||
{
|
||||
"type": "plugin",
|
||||
"name": "downloadVideo.outputs.wasm",
|
||||
"displayName": "下载视频 - WASM 混流输出",
|
||||
"description": "by [@WakelessSloth56](https://github.com/WakelessSloth56)\n\n使用 WASM 在浏览器中下载并合并音视频, 支持批量下载",
|
||||
"fullRelativePath": "../../registry/dist/plugins/video/download/wasm-output.js",
|
||||
"fullAbsolutePath": "registry/dist/plugins/video/download/wasm-output.js"
|
||||
},
|
||||
{
|
||||
"type": "plugin",
|
||||
"name": "speed.keymap",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -2,7 +2,7 @@
|
||||
{
|
||||
"name": "cleaner",
|
||||
"displayName": "简洁至上",
|
||||
"description": "简化各种多余界面元素, 专注于内容本身.\n\n包含以下功能:\n删除广告, 删除直播水印, 删除视频弹窗, 禁用特殊弹幕样式, 简化评论区, 简化直播间, 简化首页, 自动收起直播侧栏, 隐藏视频推荐, 隐藏直播推荐, 隐藏视频标题层",
|
||||
"description": "简化各种多余界面元素, 专注于内容本身.\n\n包含以下功能:\n删除广告, 删除直播水印, 删除视频弹窗, 禁用特殊弹幕样式, 简化评论区, 简化直播间, 自动收起直播侧栏, 隐藏视频推荐, 隐藏直播推荐, 隐藏视频标题层",
|
||||
"components": [
|
||||
"removePromotions",
|
||||
"removeLiveWatermark",
|
||||
@ -10,7 +10,6 @@
|
||||
"disableSpecialDanmaku",
|
||||
"simplifyComments",
|
||||
"simplifyLiveroom",
|
||||
"simplifyHome",
|
||||
"collapseLiveSideBar",
|
||||
"hideRelatedVideos",
|
||||
"hideRecommendedLive",
|
||||
@ -21,7 +20,7 @@
|
||||
"type": "component",
|
||||
"name": "removePromotions",
|
||||
"displayName": "删除广告",
|
||||
"description": "删除站内的各种广告. 包括首页的推广模块, 手机 app 推荐, 视频页面右侧的广告等. 注意: 首页推广模块删除后留下空白区域是正常现象, 如果觉得怪可以开启 `占位文本` 选项.\n\n- `占位文本`: 删除首页推广模块的广告后显示\"🚫已屏蔽广告\"来替代空白区域.\n- `保留活动横幅`: 保留视频页面的活动横幅.\n- `保留小喇叭`: 保留视频页面的活动横幅下方评论区上方的黄色小喇叭通知以及动态的黄色小喇叭.",
|
||||
"description": "删除站内的各种广告. 包括首页的推广模块, 手机 app 推荐, 视频页面右侧的广告等.\r\n\r\n- `保留活动横幅`: 保留视频页面的活动横幅.\r\n- `选项`\r\n - `卡片占位`: 关闭时广告卡片将完全隐藏,后续的视频卡片会自动补上空缺位置\r\n - `占位文本`: 屏蔽首页推广模块的广告后显示\"🚫已屏蔽广告\"来替代空白区域.\r\n - `调试模式`: 用于查看是否正确屏蔽广告,启用时将边框高亮广告卡片,同时其他屏蔽选项会失效\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/utils/remove-promotions.js",
|
||||
"fullAbsolutePath": "registry/dist/components/utils/remove-promotions.js"
|
||||
},
|
||||
@ -37,7 +36,7 @@
|
||||
"type": "component",
|
||||
"name": "removePlayerPopup",
|
||||
"displayName": "删除视频弹窗",
|
||||
"description": "删除视频播放器中出现的各种弹窗, 类别可在选项中分别选择.\r\n",
|
||||
"description": "删除视频播放器中出现的各种弹窗, 类别可在选项中分别选择. 如果之前点了收起弹窗, 则收起后的小弹窗则会直接删除. (不受类别选择影响)\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/video/player/remove-popup.js",
|
||||
"fullAbsolutePath": "registry/dist/components/video/player/remove-popup.js"
|
||||
},
|
||||
@ -45,7 +44,7 @@
|
||||
"type": "component",
|
||||
"name": "disableSpecialDanmaku",
|
||||
"displayName": "禁用特殊弹幕样式",
|
||||
"description": "移除高赞弹幕或 UP 主弹幕的特殊样式, 弹幕内容不会移除.",
|
||||
"description": "移除高亮弹幕或 UP 主弹幕的特殊样式, 弹幕内容不会移除.",
|
||||
"fullRelativePath": "../../registry/dist/components/style/special-danmaku.js",
|
||||
"fullAbsolutePath": "registry/dist/components/style/special-danmaku.js"
|
||||
},
|
||||
@ -53,7 +52,7 @@
|
||||
"type": "component",
|
||||
"name": "simplifyComments",
|
||||
"displayName": "简化评论区",
|
||||
"description": "- 删除热评头像下方的关注按钮\r\n- 删除用户的等级标识\r\n- 删除发送源信息(\\`来自安卓客户端\\` 这种)\r\n- 删除用户名右边的勋章\r\n- 删除评论区顶部的横幅\r\n- 发送时间移动到右上角\r\n- 位图图标全部换用矢量图标, 高分屏不会模糊\r\n- 投票仅显示链接, 隐藏下面的大框.\r\n\r\n> 注: 关注和等级可以通过鼠标停留在头像上, 在弹出的资料卡小窗中查看.\r\n",
|
||||
"description": "去除或优化评论区内的元素, 可配置以下选项 (描述的是勾选时的效果):\r\n\r\n> 配置项仅对新版评论区有效\r\n\r\n- `用户等级`: 隐藏用户等级标识. (隐藏后, 可以通过鼠标停留在头像上, 在弹出的资料卡小窗中查看)\r\n- `装扮 & 时间`: 隐藏装扮图片, 并把发送时间移动到装扮的位置.\r\n- `头像框`: 隐藏头像框.\r\n- `回复换行`:\r\n - 楼中楼回复也另起一行显示, 和一级回复保持一致.\r\n - `热评`, `UP 主点赞` 等标记和点赞栏放在同一行.\r\n- `编辑框`: 将提示文本居上, 符合用户实际输入文字的位置, 并将发布按钮的字号略微调小.\r\n- `粉丝勋章`: 隐藏用户的粉丝勋章.\r\n- `小喇叭横幅`: 隐藏评论区顶部的小喇叭横幅\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/style/simplify/comments.js",
|
||||
"fullAbsolutePath": "registry/dist/components/style/simplify/comments.js"
|
||||
},
|
||||
@ -65,14 +64,6 @@
|
||||
"fullRelativePath": "../../registry/dist/components/style/simplify/live.js",
|
||||
"fullAbsolutePath": "registry/dist/components/style/simplify/live.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "simplifyHome",
|
||||
"displayName": "简化首页",
|
||||
"description": "隐藏原版首页不需要的元素 / 分区.",
|
||||
"fullRelativePath": "../../registry/dist/components/style/simplify/home.js",
|
||||
"fullAbsolutePath": "registry/dist/components/style/simplify/home.js"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "collapseLiveSideBar",
|
||||
@ -85,7 +76,7 @@
|
||||
"type": "component",
|
||||
"name": "hideRelatedVideos",
|
||||
"displayName": "隐藏视频推荐",
|
||||
"description": "隐藏番剧和视频页面右侧的推荐视频列表. 注意: 如果你想关闭 b 站的自动连播 (自动播放下一个推荐视频) 功能, 需要先取消隐藏视频推荐才能看到开关.",
|
||||
"description": "隐藏番剧和视频页面右侧的推荐视频列表. 注意: 如果你想关闭 b 站的自动连播 (自动播放下一个推荐视频) 功能, 需要先取消隐藏视频推荐才能看到开关.\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/style/hide/video/related-videos.js",
|
||||
"fullAbsolutePath": "registry/dist/components/style/hide/video/related-videos.js"
|
||||
},
|
||||
@ -123,7 +114,7 @@
|
||||
"type": "component",
|
||||
"name": "downloadVideo",
|
||||
"displayName": "下载视频",
|
||||
"description": "在功能面板中添加下载视频支持. 请注意:\r\n- 不能下载超出账号权限的视频, 例如非大会员下载大会员清晰度视频, 或者大陆地区网络下载港澳台地区番剧, 都是不可以的.\r\n- 请勿短时间进行大量下载, 以免遭到 b 站 IP 封禁.\r\n",
|
||||
"description": "在功能面板中添加下载视频支持. 请注意:\r\n- 不能下载超出账号权限的视频, 例如非大会员下载大会员清晰度视频, 或者大陆地区网络下载港澳台地区番剧, 都是不可以的.\r\n- 请勿短时间进行大量下载, 以免遭到 b 站 IP 封禁.\r\n\r\n在使用视频 (非番剧) 批量下载时, 文件的批量命名格式中可以使用以下额外变量:\r\n- `user`: UP 主用户名\r\n- `userID`: UP 主用户 ID\r\n- 视频发布时间:\r\n - `publishYear`\r\n - `publishMonth`\r\n - `publishDay`\r\n - `publishHour`\r\n - `publishMinute`\r\n - `publishSecond`\r\n - `publishMillisecond`\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/video/download.js",
|
||||
"fullAbsolutePath": "registry/dist/components/video/download.js"
|
||||
},
|
||||
@ -131,7 +122,7 @@
|
||||
"type": "component",
|
||||
"name": "downloadSubtitle",
|
||||
"displayName": "下载字幕",
|
||||
"description": "启用下载字幕支持, 在视频页面中可从功能面板里下载字幕.",
|
||||
"description": "启用下载字幕支持, 在视频页面中可从功能面板里下载字幕. (AI 生成的不可下载)\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/video/subtitle/download.js",
|
||||
"fullAbsolutePath": "registry/dist/components/video/subtitle/download.js"
|
||||
},
|
||||
@ -192,7 +183,7 @@
|
||||
"type": "component",
|
||||
"name": "customNavbar",
|
||||
"displayName": "自定义顶栏",
|
||||
"description": "使用脚本提供的顶栏替换原版的主站顶栏 (非主站不替换), 启用后还可以在反广告插件 (例如 ABP) 中配置禁止原版顶栏的消息 iframe 以提升性能:\r\n- *://message.bilibili.com/pages/nav/index_new_pc_sync\r\n- *://message.bilibili.com/pages/nav/index_new_sync\r\n",
|
||||
"description": "使用脚本提供的顶栏替换原版的主站顶栏 (非主站不替换).\r\n\r\n启用后还可以在反广告插件 (例如 ABP) 中配置禁止原版顶栏的消息 iframe 以提升性能:\r\n- *://message.bilibili.com/pages/nav/index_new_pc_sync\r\n- *://message.bilibili.com/pages/nav/index_new_sync\r\n\r\n选项说明:\r\n- `全局固定`: 将顶栏固定显示, 即使页面向下滚动也仍然可见. (除了一部分有 b 站定制顶栏的页面会忽略此选项)\r\n- `主题色填充`: 使用通用设置中的主题颜色填充顶栏的背景.\r\n- `透明填充`: 在首页和主站的部分页面中, 当存在顶部横幅图片时, 顶栏背景将变为透明 + 阴影的样式.\r\n- `背景模糊`: 启用背景模糊效果, 会使背景颜色变得半透明, 注意这个效果非常非常消耗图形性能, 慎用.\r\n- `投影`: 在顶栏下方增加一小段投影效果.\r\n- `使用季节 Logo`: 使用 b 站首页的特殊 Logo 图片替换顶栏的 Logo 图, 通常会对应当前季节, 特殊活动期间可能会有变化导致看不清. (比如搞了个全白的 Logo, 而顶栏正好也是白色的)\r\n- `触摸模式`: 启用后顶栏的一级入口点击时不进行跳转, 方便触屏使用.\r\n- `新标签页打开`: 控制顶栏内链接是否在新标签页打开.\r\n- `自动刷新数据`: 启用后, 部分有弹窗的顶栏入口在鼠标经过时会自动刷新数据.\r\n- `顶栏高度`: 自定义顶栏的高度 (b 站原版的为 64px)\r\n- `消息提醒样式`: 自定义顶栏入口的消息提醒样式.\r\n- `搜索栏宽度`: 自定义搜索栏占顶栏的比例.\r\n- `链接对齐样式`: 自定义纯链接弹窗内链接文字的对齐样式.\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/style/custom-navbar.js",
|
||||
"fullAbsolutePath": "registry/dist/components/style/custom-navbar.js"
|
||||
},
|
||||
@ -200,7 +191,7 @@
|
||||
"type": "component",
|
||||
"name": "removePromotions",
|
||||
"displayName": "删除广告",
|
||||
"description": "删除站内的各种广告. 包括首页的推广模块, 手机 app 推荐, 视频页面右侧的广告等. 注意: 首页推广模块删除后留下空白区域是正常现象, 如果觉得怪可以开启 `占位文本` 选项.\n\n- `占位文本`: 删除首页推广模块的广告后显示\"🚫已屏蔽广告\"来替代空白区域.\n- `保留活动横幅`: 保留视频页面的活动横幅.\n- `保留小喇叭`: 保留视频页面的活动横幅下方评论区上方的黄色小喇叭通知以及动态的黄色小喇叭.",
|
||||
"description": "删除站内的各种广告. 包括首页的推广模块, 手机 app 推荐, 视频页面右侧的广告等.\r\n\r\n- `保留活动横幅`: 保留视频页面的活动横幅.\r\n- `选项`\r\n - `卡片占位`: 关闭时广告卡片将完全隐藏,后续的视频卡片会自动补上空缺位置\r\n - `占位文本`: 屏蔽首页推广模块的广告后显示\"🚫已屏蔽广告\"来替代空白区域.\r\n - `调试模式`: 用于查看是否正确屏蔽广告,启用时将边框高亮广告卡片,同时其他屏蔽选项会失效\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/utils/remove-promotions.js",
|
||||
"fullAbsolutePath": "registry/dist/components/utils/remove-promotions.js"
|
||||
},
|
||||
@ -216,7 +207,7 @@
|
||||
"type": "component",
|
||||
"name": "urlParamsClean",
|
||||
"displayName": "网址参数清理",
|
||||
"description": "自动删除网址中的多余跟踪参数. 请注意这会导致浏览器历史记录出现重复的标题 (分别是转换前后的网址), 并可能导致后退要多退几次.\r\n",
|
||||
"description": "自动删除网址中的多余跟踪参数。请注意这会导致浏览器历史记录出现重复的标题(分别是转换前后的网址),并可能导致后退要多退几次。\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/utils/url-params-clean.js",
|
||||
"fullAbsolutePath": "registry/dist/components/utils/url-params-clean.js"
|
||||
},
|
||||
@ -272,7 +263,7 @@
|
||||
"type": "component",
|
||||
"name": "fullFeedsContent",
|
||||
"displayName": "展开动态内容",
|
||||
"description": "不管内容多长, 总是完全展开动态的内容.",
|
||||
"description": "不管内容多长, 总是完全展开动态的内容. (专栏不算)\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/feeds/full-content.js",
|
||||
"fullAbsolutePath": "registry/dist/components/feeds/full-content.js"
|
||||
},
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
简化各种多余界面元素, 专注于内容本身.
|
||||
|
||||
包含以下功能:
|
||||
删除广告, 删除直播水印, 删除视频弹窗, 禁用特殊弹幕样式, 简化评论区, 简化直播间, 简化首页, 自动收起直播侧栏, 隐藏视频推荐, 隐藏直播推荐, 隐藏视频标题层
|
||||
删除广告, 删除直播水印, 删除视频弹窗, 禁用特殊弹幕样式, 简化评论区, 简化直播间, 自动收起直播侧栏, 隐藏视频推荐, 隐藏直播推荐, 隐藏视频标题层
|
||||
|
||||
<details>
|
||||
<summary><strong>jsDelivr Stable</strong></summary>
|
||||
@ -17,7 +17,6 @@ https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/
|
||||
https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/special-danmaku.js
|
||||
https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/simplify/comments.js
|
||||
https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/simplify/live.js
|
||||
https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/simplify/home.js
|
||||
https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/live/side-bar.js
|
||||
https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/hide/video/related-videos.js
|
||||
https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/hide/video/recommended-live.js
|
||||
@ -35,7 +34,6 @@ https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist
|
||||
https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/style/special-danmaku.js
|
||||
https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/style/simplify/comments.js
|
||||
https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/style/simplify/live.js
|
||||
https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/style/simplify/home.js
|
||||
https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/live/side-bar.js
|
||||
https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/style/hide/video/related-videos.js
|
||||
https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/style/hide/video/recommended-live.js
|
||||
@ -53,7 +51,6 @@ https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/
|
||||
https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/special-danmaku.js
|
||||
https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/simplify/comments.js
|
||||
https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/simplify/live.js
|
||||
https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/simplify/home.js
|
||||
https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/live/side-bar.js
|
||||
https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/hide/video/related-videos.js
|
||||
https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/hide/video/recommended-live.js
|
||||
@ -71,7 +68,6 @@ https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist
|
||||
https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/style/special-danmaku.js
|
||||
https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/style/simplify/comments.js
|
||||
https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/style/simplify/live.js
|
||||
https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/style/simplify/home.js
|
||||
https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/live/side-bar.js
|
||||
https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/style/hide/video/related-videos.js
|
||||
https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/style/hide/video/recommended-live.js
|
||||
|
||||
@ -11,6 +11,5 @@
|
||||
## 预览版
|
||||
- 更新版本号, 打上 tag
|
||||
- 生成文档
|
||||
- 编译预览版
|
||||
- 带 tag 推送
|
||||
- 测下 Edge + Tampermonkey
|
||||
|
||||
40
package.json
40
package.json
@ -14,14 +14,14 @@
|
||||
"type": "tsc -p tsconfig.type-check.json --noEmit"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.20.12",
|
||||
"@babel/parser": "^7.20.15",
|
||||
"@babel/core": "7.22.10",
|
||||
"@babel/parser": "^7.22.10",
|
||||
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
||||
"@babel/preset-env": "^7.20.2",
|
||||
"@babel/preset-typescript": "^7.18.6",
|
||||
"@babel/types": "^7.20.7",
|
||||
"@babel/preset-env": "^7.22.10",
|
||||
"@babel/preset-typescript": "^7.22.5",
|
||||
"@babel/types": "^7.22.10",
|
||||
"@types/async-exit-hook": "^2.0.0",
|
||||
"@types/babel__core": "^7.20.0",
|
||||
"@types/babel__core": "^7.20.1",
|
||||
"@types/color": "^3.0.1",
|
||||
"@types/glob": "^7.2.0",
|
||||
"@types/lodash": "^4.14.172",
|
||||
@ -36,7 +36,7 @@
|
||||
"@typescript-eslint/parser": "^5.50.0",
|
||||
"async-exit-hook": "^2.0.1",
|
||||
"autoprefixer": "^10.0.1",
|
||||
"babel-loader": "^8.1.0",
|
||||
"babel-loader": "^9.1.3",
|
||||
"browserslist": "^4.21.4",
|
||||
"css-loader": "^5.0.0",
|
||||
"eslint": "^7.32.0",
|
||||
@ -44,14 +44,14 @@
|
||||
"eslint-config-prettier": "^8.6.0",
|
||||
"eslint-plugin-import": "^2.20.1",
|
||||
"eslint-plugin-prettier": "^4.2.1",
|
||||
"eslint-plugin-vue": "7.1.0",
|
||||
"eslint-plugin-vue": "^9.15.1",
|
||||
"fast-sass-loader": "^2.0.0",
|
||||
"glob": "^10.2.6",
|
||||
"postcss": "^8.1.0",
|
||||
"postcss-loader": "^4.0.4",
|
||||
"postcss-preset-env": "^7.5.0",
|
||||
"prettier": "^2.8.3",
|
||||
"sass": "^1.25.0",
|
||||
"sass": "1.25.0",
|
||||
"serve": "^13.0.2",
|
||||
"serve-handler": "^6.1.3",
|
||||
"style-loader": "^2.0.0",
|
||||
@ -60,13 +60,14 @@
|
||||
"to-string-loader": "^1.2.0",
|
||||
"ts-node": "^10.7.0",
|
||||
"typescript": "^4.9.5",
|
||||
"vue-loader": "^15.8.3",
|
||||
"vue-template-compiler": "^2.6.11",
|
||||
"vue-eslint-parser": "^9.4.3",
|
||||
"vue-loader": "^15.10.1",
|
||||
"webpack": "^5.31.2",
|
||||
"webpack-bundle-analyzer": "^4.5.0",
|
||||
"webpack-cli": "^4.6.0",
|
||||
"ws": "^8.5.0",
|
||||
"yaml": "^2.3.1"
|
||||
"yaml": "^2.3.1",
|
||||
"zx": "^7.2.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"@popperjs/core": "^2.6.0",
|
||||
@ -78,13 +79,17 @@
|
||||
"protobufjs": "^6.11.2",
|
||||
"streamsaver": "^2.0.6",
|
||||
"tippy.js": "^6.3.1",
|
||||
"vue": "^2.6.11",
|
||||
"vue-fragment": "^1.5.2"
|
||||
"vue": "^2.7.14"
|
||||
},
|
||||
"pnpm": {
|
||||
"overrides": {
|
||||
"caniuse-lite": "^1.0.30001481"
|
||||
}
|
||||
"caniuse-lite": "1.0.30001668",
|
||||
"consolidate": "1.0.1"
|
||||
},
|
||||
"onlyBuiltDependencies": [
|
||||
"@parcel/watcher",
|
||||
"protobufjs"
|
||||
]
|
||||
},
|
||||
"keywords": [
|
||||
"userscript",
|
||||
@ -92,5 +97,6 @@
|
||||
"dark-theme",
|
||||
"touchscreen",
|
||||
"tampermonkey"
|
||||
]
|
||||
],
|
||||
"packageManager": "pnpm@10.3.0+sha512.ee592eda8815a8a293c206bb0917c4bb0ff274c50def7cbc17be05ec641fc2d1b02490ce660061356bd0d126a4d7eb2ec8830e6959fb8a447571c631d5a2442d"
|
||||
}
|
||||
|
||||
12977
pnpm-lock.yaml
generated
12977
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
2
registry/dist/components/feeds/copy-link.js
vendored
2
registry/dist/components/feeds/copy-link.js
vendored
@ -1 +1 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["feeds/copy-link"]=t():e["feeds/copy-link"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,o={799:e=>{e.exports=coreApis.componentApis.feeds.api}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return o[e](i,i.exports,n),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var i=Object.create(null);n.r(i);var c={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&o;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>c[e]=()=>o[e]));return c.default=()=>o,n.d(i,c),i},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{n.d(i,{component:()=>o});const e=coreApis.componentApis.define,t=coreApis.utils.urls,o=(0,e.defineComponentMetadata)({name:"copyFeedsLink",displayName:"复制动态链接",description:{"zh-CN":"开启后, 可在每条动态的菜单中选择复制链接."},entry:async()=>{const{forEachFeedsCard:e,addMenuItem:t}=await Promise.resolve().then(n.t.bind(n,799,23));e({added:e=>{t(e,{className:"copy-link",text:"复制链接",action:async()=>{await navigator.clipboard.writeText(`https://t.bilibili.com/${e.id}`)}})}})},urlInclude:t.feedsUrls,tags:[componentsTags.feeds,componentsTags.utils],commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3"})})(),i=i.component})()));
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["feeds/copy-link"]=t():e["feeds/copy-link"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,o={649:e=>{e.exports=coreApis.componentApis.feeds.api}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return o[e](i,i.exports,n),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var i=Object.create(null);n.r(i);var s={};e=e||[null,t({}),t([]),t(t)];for(var c=2&r&&o;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>s[e]=()=>o[e]));return s.default=()=>o,n.d(i,s),i},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};n.d(i,{component:()=>a});const s=coreApis.componentApis.define,c=coreApis.utils.urls,a=(0,s.defineComponentMetadata)({name:"copyFeedsLink",displayName:"复制动态链接",description:{"zh-CN":"开启后, 可在每条动态的菜单中选择复制链接."},entry:async()=>{const{forEachFeedsCard:e,addMenuItem:t}=await Promise.resolve().then(n.t.bind(n,649,23));e({added:e=>{t(e,{className:"copy-link",text:"复制链接",action:async()=>{await navigator.clipboard.writeText(`https://t.bilibili.com/${e.id}`)}})}})},urlInclude:c.feedsUrls,tags:[componentsTags.feeds,componentsTags.utils],commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"});return i=i.component})()));
|
||||
1
registry/dist/components/feeds/del-feeds.js
vendored
Normal file
1
registry/dist/components/feeds/del-feeds.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -1,4 +1,4 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["feeds/disable-details"]=t():e["feeds/disable-details"]=t()}(globalThis,(()=>(()=>{var e,t,n={198:(e,t,n)=>{var o=n(355)((function(e){return e[1]}));o.push([e.id,"[data-module=desc][data-orig],\n.card[data-did] .content {\n cursor: text;\n}\n[data-module=desc][data-orig] .details,\n.card[data-did] .content .details {\n color: #222;\n font-size: 12px;\n opacity: 0.6;\n cursor: pointer;\n display: block;\n line-height: 22px;\n}\nbody.dark [data-module=desc][data-orig] .details,\nbody.dark .card[data-did] .content .details {\n color: #eee;\n}\n\n.bili-rich-text-module.at {\n cursor: pointer;\n}\n\n.dyn-card-opus__summary {\n cursor: text;\n}",""]),e.exports=o},69:(e,t,n)=>{var o=n(355)((function(e){return e[1]}));o.push([e.id,".card[data-did] .content .details {\n display: none;\n}",""]),e.exports=o},355:e=>{"use strict";
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["feeds/disable-details"]=t():e["feeds/disable-details"]=t()}(globalThis,(()=>(()=>{var e,t,n={994:(e,t,n)=>{var o=n(955)((function(e){return e[1]}));o.push([e.id,"[data-module=desc][data-orig],\n.card[data-did] .content {\n cursor: text;\n}\n[data-module=desc][data-orig] .details,\n.card[data-did] .content .details {\n color: #222;\n font-size: 12px;\n opacity: 0.6;\n cursor: pointer;\n display: block;\n line-height: 22px;\n}\nbody.dark [data-module=desc][data-orig] .details,\nbody.dark .card[data-did] .content .details {\n color: #eee;\n}\n\n.bili-rich-text-module.at {\n cursor: pointer;\n}\n\n.dyn-card-opus__summary {\n cursor: text;\n}",""]),e.exports=o},225:(e,t,n)=>{var o=n(955)((function(e){return e[1]}));o.push([e.id,".card[data-did] .content .details {\n display: none;\n}",""]),e.exports=o},955:e=>{"use strict";
|
||||
// eslint-disable-next-line func-names
|
||||
e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},
|
||||
// eslint-disable-next-line func-names
|
||||
@ -6,4 +6,4 @@ t.i=function(e,n,o){"string"==typeof e&&(
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
e=[[null,e,""]]);var i={};if(o)for(var r=0;r<this.length;r++){
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
var a=this[r][0];null!=a&&(i[a]=!0)}for(var s=0;s<e.length;s++){var d=[].concat(e[s]);o&&i[d[0]]||(n&&(d[2]?d[2]="".concat(n," and ").concat(d[2]):d[2]=n),t.push(d))}},t}},42:(e,t,n)=>{var o=n(198);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()},794:(e,t,n)=>{var o=n(69);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()},799:e=>{"use strict";e.exports=coreApis.componentApis.feeds.api},356:e=>{"use strict";e.exports=coreApis.style}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={id:e,exports:{}};return n[e](r,r.exports,i),r.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var r=Object.create(null);i.r(r);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&o&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,i.d(r,a),r},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return(()=>{"use strict";i.d(r,{component:()=>d});const e=coreApis.componentApis.define;var t=i(799);const n=coreApis.utils.urls;let o=!0;const a="disable-feeds-details-style",s=async()=>{const{addImportantStyle:e}=await Promise.resolve().then(i.t.bind(i,356,23)),{default:t}=await Promise.resolve().then(i.t.bind(i,42,23));e(t,a)},d=(0,e.defineComponentMetadata)({name:"disableFeedsDetails",displayName:"禁止跳转动态详情",tags:[componentsTags.feeds],urlInclude:n.feedsUrls,description:{"zh-CN":"禁止动态点击后跳转详情页, 方便选择其中的文字."},entry:async()=>{const{addImportantStyle:e}=await Promise.resolve().then(i.t.bind(i,356,23)),{forEachFeedsCard:n}=await Promise.resolve().then(i.t.bind(i,799,23)),{default:r}=await Promise.resolve().then(i.t.bind(i,794,23));e(r,"disable-feeds-details-init-style"),s();n({added:e=>{const{element:n}=e;n.addEventListener("click",(e=>{if(e.ctrlKey||!o)return;const t=dqa(n,'.content, .bili-dyn-content [data-module="desc"] .bili-rich-text, .dyn-card-opus__summary'),i=e.target;if(i.hasAttribute("click-title"))return;if(["bili-rich-text__action","bili-rich-text-topic","bili-rich-text-module","bili-rich-text-link"].some((e=>i.classList.contains(e))))return;dqa(n,".im-popup").some((e=>e.contains(i)))||t.some((e=>e===i||e.contains(i)))&&e.stopImmediatePropagation()}),{capture:!0});const i=dq(n,".post-content, .bili-dyn-content");if(!i)return;if(![".video-container",".bangumi-container",".media-list",".article-container"].some((e=>dq(i,e)))&&!dq(i,".details")&&(i.classList.contains("repost")||e.type===t.feedsCardTypes.repost)){const e=dq(i,".content, .bili-dyn-content__orig__desc");if(!e)return;const t=document.createElement("div");t.classList.add("details"),t.setAttribute("click-title","详情"),t.innerHTML='\n 详情<i class="mdi mdi-chevron-right" click-title></i>\n ',e.insertAdjacentElement("beforeend",t)}}})},unload:()=>{document.getElementById(a)?.remove(),o=!1},reload:()=>{s(),o=!0},commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3"})})(),r=r.component})()));
|
||||
var a=this[r][0];null!=a&&(i[a]=!0)}for(var s=0;s<e.length;s++){var d=[].concat(e[s]);o&&i[d[0]]||(n&&(d[2]?d[2]="".concat(n," and ").concat(d[2]):d[2]=n),t.push(d))}},t}},852:(e,t,n)=>{var o=n(994);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()},591:(e,t,n)=>{var o=n(225);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()},649:e=>{"use strict";e.exports=coreApis.componentApis.feeds.api},479:e=>{"use strict";e.exports=coreApis.style}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={id:e,exports:{}};return n[e](r,r.exports,i),r.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var r=Object.create(null);i.r(r);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&o&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,i.d(r,a),r},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return(()=>{"use strict";i.d(r,{component:()=>d});const e=coreApis.componentApis.define;var t=i(649);const n=coreApis.utils.urls;let o=!0;const a="disable-feeds-details-style",s=async()=>{const{addImportantStyle:e}=await Promise.resolve().then(i.t.bind(i,479,23)),{default:t}=await Promise.resolve().then(i.t.bind(i,852,23));e(t,a)},d=(0,e.defineComponentMetadata)({name:"disableFeedsDetails",displayName:"禁止跳转动态详情",tags:[componentsTags.feeds],urlInclude:n.feedsUrls,description:{"zh-CN":"禁止动态点击后跳转详情页, 方便选择其中的文字."},entry:async()=>{const{addImportantStyle:e}=await Promise.resolve().then(i.t.bind(i,479,23)),{forEachFeedsCard:n}=await Promise.resolve().then(i.t.bind(i,649,23)),{default:r}=await Promise.resolve().then(i.t.bind(i,591,23));e(r,"disable-feeds-details-init-style"),s();n({added:e=>{const{element:n}=e;n.addEventListener("click",(e=>{if(e.ctrlKey||!o)return;const t=dqa(n,'.content, .bili-dyn-content [data-module="desc"] .bili-rich-text, .dyn-card-opus__summary'),i=e.target;if(i.hasAttribute("click-title"))return;if(i.hasAttribute("data-pics"))return;if(["bili-rich-text__action","bili-rich-text-topic","bili-rich-text-module","bili-rich-text-link","bili-rich-text-viewpic"].some((e=>i.classList.contains(e))))return;dqa(n,".im-popup").some((e=>e.contains(i)))||t.some((e=>e===i||e.contains(i)))&&e.stopImmediatePropagation()}),{capture:!0});const i=dq(n,".post-content, .bili-dyn-content");if(!i)return;if(![".video-container",".bangumi-container",".media-list",".article-container"].some((e=>dq(i,e)))&&!dq(i,".details")&&(i.classList.contains("repost")||e.type===t.feedsCardTypes.repost)){const e=dq(i,".content, .bili-dyn-content__orig__desc, .dyn-card-opus__summary");if(!e)return;const t=document.createElement("div");t.classList.add("details"),t.setAttribute("click-title","详情"),t.innerHTML='\n 详情<i class="mdi mdi-chevron-right" click-title></i>\n ',e.insertAdjacentElement("beforeend",t)}}})},unload:()=>{document.getElementById(a)?.remove(),o=!1},reload:()=>{s(),o=!0},commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"})})(),r=r.component})()));
|
||||
File diff suppressed because one or more lines are too long
6
registry/dist/components/feeds/filter.js
vendored
6
registry/dist/components/feeds/filter.js
vendored
File diff suppressed because one or more lines are too long
@ -1,4 +1,4 @@
|
||||
!function(n,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["feeds/fixed-sidebars"]=e():n["feeds/fixed-sidebars"]=e()}(globalThis,(()=>(()=>{var n,e,t={73:(n,e,t)=>{var i=t(355)((function(n){return n[1]}));i.push([n.id,"#app {\n z-index: 0;\n}\n\n.z-top-container,\n.international-header {\n position: sticky !important;\n top: 0 !important;\n z-index: 1;\n}\n\n.van-popper-avatar,\n.van-popper-vip,\n.van-popper-favorite,\n.van-popper-history,\n.van-popper-upload,\n.popover-channe,\n.popover-game,\n.popover-live,\n.custom-navbar {\n position: fixed !important;\n}\n\n.sticky-bar {\n display: none !important;\n}\n\n.left-panel,\n.right-panel {\n position: fixed !important;\n}\n\n.home-container {\n --left-width: 244px;\n --center-width: 632px;\n}\n@media screen and (min-width: 1921px) {\n .home-container {\n --left-width: 12.71vw;\n --center-width: 32.92vw;\n }\n}\n@media screen and (min-width: 2497px) {\n .home-container {\n --left-width: 317px;\n --center-width: 822px;\n }\n}\n\n.center-panel {\n margin-left: calc(var(--left-width) + 8px) !important;\n}\n\n.right-panel {\n margin-left: calc(var(--left-width) + 16px + var(--center-width)) !important;\n}\n\n.live-panel .live-up-list {\n overflow: auto;\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n}\n.live-panel .live-up-list::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n\n.live-up-list {\n max-height: calc(100vh - 315px);\n}\nbody.enable-feeds-filter .live-up-list {\n max-height: calc(100vh - 370px);\n}\nbody.feeds-filter-side-block-profile .live-up-list {\n max-height: calc(100vh - 180px);\n}\n\n.bili-dyn-live-users {\n display: flex !important;\n flex-direction: column !important;\n}\n\n.bili-dyn-live-users__body {\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n margin: 0px -16px -16px -16px;\n padding: 0px 16px 4px 16px;\n max-height: calc(100vh - 318px);\n}\n.bili-dyn-live-users__body::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\nbody.enable-feeds-filter .bili-dyn-live-users__body {\n max-height: calc(100vh - 374px);\n}\nbody.feeds-filter-side-block-profile .bili-dyn-live-users__body {\n max-height: calc(100vh - 178px);\n}\n\n.adaptive-scroll {\n min-height: unset !important;\n}\n.adaptive-scroll .scroll-content {\n position: static !important;\n}\n\n.bili-dyn-home--member {\n --center-width: 632px;\n --gap: 8px;\n --fixed-offset: calc(var(--center-width) + (100% - var(--center-width)) / 2 + var(--gap));\n}\n.bili-dyn-home--member section.sticky {\n position: static !important;\n}\n.bili-dyn-home--member aside {\n position: fixed !important;\n margin: 0 !important;\n}\n.bili-dyn-home--member aside.left {\n right: var(--fixed-offset);\n}\n.bili-dyn-home--member aside.right {\n left: var(--fixed-offset);\n}\n.bili-dyn-home--member main {\n width: var(--center-width);\n margin: 0 var(--gap);\n}\n@media screen and (min-width: 1921px) {\n .bili-dyn-home--member {\n --center-width: 32.92vw;\n }\n}\n@media screen and (min-width: 2497px) {\n .bili-dyn-home--member {\n --center-width: 822px;\n }\n}",""]),n.exports=i},355:n=>{"use strict";
|
||||
!function(n,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["feeds/fixed-sidebars"]=e():n["feeds/fixed-sidebars"]=e()}(globalThis,(()=>(()=>{var n,e,t={766:(n,e,t)=>{var i=t(955)((function(n){return n[1]}));i.push([n.id,"#app {\n z-index: 0;\n}\n\n.z-top-container,\n.international-header {\n position: sticky !important;\n top: 0 !important;\n z-index: 1;\n}\n\n.van-popper-avatar,\n.van-popper-vip,\n.van-popper-favorite,\n.van-popper-history,\n.van-popper-upload,\n.popover-channe,\n.popover-game,\n.popover-live,\n.custom-navbar {\n position: fixed !important;\n}\n\n.sticky-bar {\n display: none !important;\n}\n\n.left-panel,\n.right-panel {\n position: fixed !important;\n}\n\n.home-container {\n --left-width: 244px;\n --center-width: 632px;\n}\n@media screen and (min-width: 1921px) {\n .home-container {\n --left-width: 12.71vw;\n --center-width: 32.92vw;\n }\n}\n@media screen and (min-width: 2497px) {\n .home-container {\n --left-width: 317px;\n --center-width: 822px;\n }\n}\n\n.center-panel {\n margin-left: calc(var(--left-width) + 8px) !important;\n}\n\n.right-panel {\n margin-left: calc(var(--left-width) + 16px + var(--center-width)) !important;\n}\n\n.live-panel .live-up-list {\n overflow: auto;\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n}\n.live-panel .live-up-list::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n\n.live-up-list {\n max-height: calc(100vh - 315px);\n}\nbody.enable-feeds-filter .live-up-list {\n max-height: calc(100vh - 370px);\n}\nbody.feeds-filter-side-block-profile .live-up-list {\n max-height: calc(100vh - 180px);\n}\n\n.bili-dyn-live-users {\n display: flex !important;\n flex-direction: column !important;\n}\n\n.bili-dyn-live-users__body {\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n margin: 0px -16px -16px -16px;\n padding: 0px 16px 4px 16px;\n max-height: calc(100vh - 318px);\n}\n.bili-dyn-live-users__body::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\nbody.enable-feeds-filter .bili-dyn-live-users__body {\n max-height: calc(100vh - 374px);\n}\nbody.feeds-filter-side-block-profile .bili-dyn-live-users__body {\n max-height: calc(100vh - 178px);\n}\n\n.adaptive-scroll {\n min-height: unset !important;\n}\n.adaptive-scroll .scroll-content {\n position: static !important;\n}\n\n.bili-dyn-home--member {\n --center-width: 632px;\n --gap: 8px;\n --fixed-offset: calc(var(--center-width) + (100% - var(--center-width)) / 2 + var(--gap));\n}\n.bili-dyn-home--member section.sticky {\n position: static !important;\n}\n.bili-dyn-home--member aside {\n position: fixed !important;\n margin: 0 !important;\n}\n.bili-dyn-home--member aside.left {\n right: var(--fixed-offset);\n}\n.bili-dyn-home--member aside.right {\n left: var(--fixed-offset);\n}\n.bili-dyn-home--member main {\n width: var(--center-width);\n margin: 0 var(--gap);\n}\n@media screen and (min-width: 1921px) {\n .bili-dyn-home--member {\n --center-width: 32.92vw;\n }\n}\n@media screen and (min-width: 2497px) {\n .bili-dyn-home--member {\n --center-width: 822px;\n }\n}",""]),n.exports=i},955:n=>{"use strict";
|
||||
// eslint-disable-next-line func-names
|
||||
n.exports=function(n){var e=[];return e.toString=function(){return this.map((function(e){var t=n(e);return e[2]?"@media ".concat(e[2]," {").concat(t,"}"):t})).join("")},
|
||||
// eslint-disable-next-line func-names
|
||||
@ -6,4 +6,4 @@ e.i=function(n,t,i){"string"==typeof n&&(
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
n=[[null,n,""]]);var o={};if(i)for(var r=0;r<this.length;r++){
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
var a=this[r][0];null!=a&&(o[a]=!0)}for(var p=0;p<n.length;p++){var l=[].concat(n[p]);i&&o[l[0]]||(t&&(l[2]?l[2]="".concat(t," and ").concat(l[2]):l[2]=t),e.push(l))}},e}},74:(n,e,t)=>{var i=t(73);i&&i.__esModule&&(i=i.default),n.exports="string"==typeof i?i:i.toString()},567:n=>{"use strict";n.exports=coreApis.componentApis.feeds.disableProfilePopup}},i={};function o(n){var e=i[n];if(void 0!==e)return e.exports;var r=i[n]={id:n,exports:{}};return t[n](r,r.exports,o),r.exports}e=Object.getPrototypeOf?n=>Object.getPrototypeOf(n):n=>n.__proto__,o.t=function(t,i){if(1&i&&(t=this(t)),8&i)return t;if("object"==typeof t&&t){if(4&i&&t.__esModule)return t;if(16&i&&"function"==typeof t.then)return t}var r=Object.create(null);o.r(r);var a={};n=n||[null,e({}),e([]),e(e)];for(var p=2&i&&t;"object"==typeof p&&!~n.indexOf(p);p=e(p))Object.getOwnPropertyNames(p).forEach((n=>a[n]=()=>t[n]));return a.default=()=>t,o.d(r,a),r},o.d=(n,e)=>{for(var t in e)o.o(e,t)&&!o.o(n,t)&&Object.defineProperty(n,t,{enumerable:!0,get:e[t]})},o.o=(n,e)=>Object.prototype.hasOwnProperty.call(n,e),o.r=n=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var r={};return(()=>{"use strict";o.d(r,{component:()=>n});const n=(0,coreApis.componentApis.define.defineComponentMetadata)({name:"fixedFeedsSidebars",instantStyles:[{name:"fixed-sidebars-style",style:()=>Promise.resolve().then(o.t.bind(o,74,23)),important:!0}],displayName:"强制固定动态侧栏",description:{"zh-CN":"强制固定动态主页的顶栏和所有侧栏."},tags:[componentsTags.feeds],entry:async()=>{const{disableProfilePopup:n}=await Promise.resolve().then(o.t.bind(o,567,23));n()},urlInclude:[/^https:\/\/t\.bilibili\.com\/$/],commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3"})})(),r=r.component})()));
|
||||
var a=this[r][0];null!=a&&(o[a]=!0)}for(var p=0;p<n.length;p++){var l=[].concat(n[p]);i&&o[l[0]]||(t&&(l[2]?l[2]="".concat(t," and ").concat(l[2]):l[2]=t),e.push(l))}},e}},456:(n,e,t)=>{var i=t(766);i&&i.__esModule&&(i=i.default),n.exports="string"==typeof i?i:i.toString()},626:n=>{"use strict";n.exports=coreApis.componentApis.feeds.disableProfilePopup}},i={};function o(n){var e=i[n];if(void 0!==e)return e.exports;var r=i[n]={id:n,exports:{}};return t[n](r,r.exports,o),r.exports}e=Object.getPrototypeOf?n=>Object.getPrototypeOf(n):n=>n.__proto__,o.t=function(t,i){if(1&i&&(t=this(t)),8&i)return t;if("object"==typeof t&&t){if(4&i&&t.__esModule)return t;if(16&i&&"function"==typeof t.then)return t}var r=Object.create(null);o.r(r);var a={};n=n||[null,e({}),e([]),e(e)];for(var p=2&i&&t;"object"==typeof p&&!~n.indexOf(p);p=e(p))Object.getOwnPropertyNames(p).forEach((n=>a[n]=()=>t[n]));return a.default=()=>t,o.d(r,a),r},o.d=(n,e)=>{for(var t in e)o.o(e,t)&&!o.o(n,t)&&Object.defineProperty(n,t,{enumerable:!0,get:e[t]})},o.o=(n,e)=>Object.prototype.hasOwnProperty.call(n,e),o.r=n=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var r={};return(()=>{"use strict";o.d(r,{component:()=>n});const n=(0,coreApis.componentApis.define.defineComponentMetadata)({name:"fixedFeedsSidebars",instantStyles:[{name:"fixed-sidebars-style",style:()=>Promise.resolve().then(o.t.bind(o,456,23)),important:!0}],displayName:"强制固定动态侧栏",description:{"zh-CN":"强制固定动态主页的顶栏和所有侧栏."},tags:[componentsTags.feeds],entry:async()=>{const{disableProfilePopup:n}=await Promise.resolve().then(o.t.bind(o,626,23));n()},urlInclude:[/^https:\/\/t\.bilibili\.com\/$/],commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"})})(),r=r.component})()));
|
||||
10
registry/dist/components/feeds/fold-comments.js
vendored
10
registry/dist/components/feeds/fold-comments.js
vendored
@ -1,9 +1,9 @@
|
||||
!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports["feeds/fold-comments"]=n():e["feeds/fold-comments"]=n()}(globalThis,(()=>(()=>{var e,n,o={512:(e,n,o)=>{var t=o(355)((function(e){return e[1]}));t.push([e.id,".bb-comment .fold-comment,\n.bili-comment-container .fold-comment {\n position: sticky;\n bottom: 0;\n height: 40px;\n width: calc(100% + 48px);\n font-size: 14px;\n transform: translateX(-24px);\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: white;\n color: #99a2aa;\n cursor: pointer;\n transition: all 0.2s ease-out;\n z-index: 110;\n border-radius: 4px;\n}\n.bb-comment .fold-comment:hover,\n.bili-comment-container .fold-comment:hover {\n color: black;\n}\nbody.dark .bb-comment .fold-comment,\nbody.dark .bili-comment-container .fold-comment {\n background-color: #444;\n color: #eee;\n}\nbody.dark .bb-comment .fold-comment:hover,\nbody.dark .bili-comment-container .fold-comment:hover {\n color: var(--theme-color);\n}\n\n.bili-comment-container.bili-dyn-comment .reply-list {\n padding-bottom: 8px !important;\n}\n.bili-comment-container .fold-comment {\n font-size: 13px;\n}\n.bili-comment-container .at-panel,\n.bili-comment-container .emoji-panel {\n z-index: 111;\n}",""]),e.exports=t},355:e=>{"use strict";
|
||||
!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports["feeds/fold-comments"]=n():e["feeds/fold-comments"]=n()}(globalThis,(()=>(()=>{var e,n,t={472:(e,n,t)=>{var o=t(955)((function(e){return e[1]}));o.push([e.id,":host(bili-comments) #end .bottombar {\n padding-bottom: 8px !important;\n}",""]),e.exports=o},489:(e,n,t)=>{var o=t(955)((function(e){return e[1]}));o.push([e.id,".bb-comment .fold-comment,\n.bili-comment-container .fold-comment {\n position: sticky;\n bottom: 0;\n height: 40px;\n width: 100%;\n font-size: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: white;\n color: #99a2aa;\n cursor: pointer;\n transition: all 0.2s ease-out;\n z-index: 110;\n border-radius: 4px;\n}\n.bb-comment .fold-comment:hover,\n.bili-comment-container .fold-comment:hover {\n color: black;\n}\nbody.dark .bb-comment .fold-comment,\nbody.dark .bili-comment-container .fold-comment {\n background-color: #444;\n color: #eee;\n}\nbody.dark .bb-comment .fold-comment:hover,\nbody.dark .bili-comment-container .fold-comment:hover {\n color: var(--theme-color);\n}\n\n.bili-comment-container {\n display: flex !important;\n flex-direction: column !important;\n}\n.bili-comment-container.bili-dyn-comment .reply-list {\n padding-bottom: 8px !important;\n}\n.bili-comment-container .fold-comment {\n order: 1;\n font-size: 13px;\n}\n.bili-comment-container .at-panel,\n.bili-comment-container .emoji-panel,\n.bili-comment-container .reply-box .box-expand,\n.bili-comment-container .reply-operation .operation-list {\n z-index: 111 !important;\n}",""]),e.exports=o},955:e=>{"use strict";
|
||||
// eslint-disable-next-line func-names
|
||||
e.exports=function(e){var n=[];return n.toString=function(){return this.map((function(n){var o=e(n);return n[2]?"@media ".concat(n[2]," {").concat(o,"}"):o})).join("")},
|
||||
e.exports=function(e){var n=[];return n.toString=function(){return this.map((function(n){var t=e(n);return n[2]?"@media ".concat(n[2]," {").concat(t,"}"):t})).join("")},
|
||||
// eslint-disable-next-line func-names
|
||||
n.i=function(e,o,t){"string"==typeof e&&(
|
||||
n.i=function(e,t,o){"string"==typeof e&&(
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
e=[[null,e,""]]);var r={};if(t)for(var c=0;c<this.length;c++){
|
||||
e=[[null,e,""]]);var r={};if(o)for(var i=0;i<this.length;i++){
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
var i=this[c][0];null!=i&&(r[i]=!0)}for(var a=0;a<e.length;a++){var s=[].concat(e[a]);t&&r[s[0]]||(o&&(s[2]?s[2]="".concat(o," and ").concat(s[2]):s[2]=o),n.push(s))}},n}},249:(e,n,o)=>{var t=o(512);t&&t.__esModule&&(t=t.default),e.exports="string"==typeof t?t:t.toString()},799:e=>{"use strict";e.exports=coreApis.componentApis.feeds.api},391:e=>{"use strict";e.exports=coreApis.observer}},t={};function r(e){var n=t[e];if(void 0!==n)return n.exports;var c=t[e]={id:e,exports:{}};return o[e](c,c.exports,r),c.exports}n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,t){if(1&t&&(o=this(o)),8&t)return o;if("object"==typeof o&&o){if(4&t&&o.__esModule)return o;if(16&t&&"function"==typeof o.then)return o}var c=Object.create(null);r.r(c);var i={};e=e||[null,n({}),n([]),n(n)];for(var a=2&t&&o;"object"==typeof a&&!~e.indexOf(a);a=n(a))Object.getOwnPropertyNames(a).forEach((e=>i[e]=()=>o[e]));return i.default=()=>o,r.d(c,i),c},r.d=(e,n)=>{for(var o in n)r.o(n,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var c={};return(()=>{"use strict";r.d(c,{component:()=>s});const e=coreApis.componentApis.define,n=coreApis.componentApis.styledComponent,o=coreApis.utils.urls;var t=r(799);const i=coreApis.spinQuery;var a=r(391);const s=(0,e.defineComponentMetadata)({name:"foldComments",displayName:"快速收起评论",description:{"zh-CN":"动态里查看评论区时, 在底部添加一个`收起评论`按钮, 这样就不用再回到上面收起了."},urlInclude:o.feedsUrlsWithoutDetail,tags:[componentsTags.feeds],entry:(0,n.styledComponentEntry)((()=>Promise.resolve().then(r.t.bind(r,249,23))),(async()=>{const{forEachFeedsCard:e}=await Promise.resolve().then(r.t.bind(r,799,23)),{childList:n}=await Promise.resolve().then(r.t.bind(r,391,23)),o=".bb-comment, .bili-comment-container";e({added:e=>(e=>{const r=async(n,t)=>{const r=await(0,i.select)((()=>dq(n,o)));if(null!==r.querySelector(".fold-comment"))return;if(null===r)return void console.error("未找到评论区");const c=document.createElement("div");c.classList.add("fold-comment"),c.innerHTML="收起评论",c.addEventListener("click",(()=>{t(),e.scrollIntoView(),window.scrollBy({top:-75})})),r.insertAdjacentElement("beforeend",c)};if("v2"!==t.feedsCardsManager.managerType)if("v1"!==t.feedsCardsManager.managerType)console.warn("unrecognized card type",e);else{const o=e.querySelector(".panel-area");if(null===o)return void console.warn("panelArea not found",e);const t=()=>{e.querySelector(".button-bar").children[1]?.click()};if(0===o.childElementCount){const[e]=n(o,(n=>{n.length>0&&(r(o,t),e.disconnect())}))}else r(o,t)}else{const n=dq(e,o),t=()=>{dq(e,".bili-dyn-action.comment")?.click()};n?r(n,t):(0,a.childListSubtree)(e,(()=>{dq(e,o)&&r(e,t)}))}})(e.element)})})),commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3"})})(),c=c.component})()));
|
||||
var c=this[i][0];null!=c&&(r[c]=!0)}for(var s=0;s<e.length;s++){var a=[].concat(e[s]);o&&r[a[0]]||(t&&(a[2]?a[2]="".concat(t," and ").concat(a[2]):a[2]=t),n.push(a))}},n}},42:(e,n,t)=>{var o=t(472);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()},771:(e,n,t)=>{var o=t(489);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()},649:e=>{"use strict";e.exports=coreApis.componentApis.feeds.api},104:e=>{"use strict";e.exports=coreApis.observer},794:e=>{"use strict";e.exports=coreApis.shadowRoot}},o={};function r(e){var n=o[e];if(void 0!==n)return n.exports;var i=o[e]={id:e,exports:{}};return t[e](i,i.exports,r),i.exports}n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(t,o){if(1&o&&(t=this(t)),8&o)return t;if("object"==typeof t&&t){if(4&o&&t.__esModule)return t;if(16&o&&"function"==typeof t.then)return t}var i=Object.create(null);r.r(i);var c={};e=e||[null,n({}),n([]),n(n)];for(var s=2&o&&t;"object"==typeof s&&!~e.indexOf(s);s=n(s))Object.getOwnPropertyNames(s).forEach((e=>c[e]=()=>t[e]));return c.default=()=>t,r.d(i,c),i},r.d=(e,n)=>{for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>a});const e=coreApis.componentApis.define,n=coreApis.componentApis.styledComponent,t=coreApis.utils.urls;var o=r(649);const c=coreApis.spinQuery;var s=r(104);const a=(0,e.defineComponentMetadata)({name:"foldComments",displayName:"快速收起评论",description:{"zh-CN":"动态里查看评论区时, 在底部添加一个`收起评论`按钮, 这样就不用再回到上面收起了."},urlInclude:t.feedsUrlsWithoutDetail,tags:[componentsTags.feeds],entry:(0,n.styledComponentEntry)((()=>Promise.resolve().then(r.t.bind(r,771,23))),(async()=>{const{shadowRootStyles:e}=await Promise.resolve().then(r.t.bind(r,794,23)),{forEachFeedsCard:n}=await Promise.resolve().then(r.t.bind(r,649,23)),{childList:t}=await Promise.resolve().then(r.t.bind(r,104,23)),i=".bb-comment, .bili-comment-container";n({added:e=>(e=>{const n=async(n,t)=>{const o=await(0,c.select)((()=>dq(n,i)));if(null!==o.querySelector(".fold-comment"))return;if(null===o)return void console.error("未找到评论区");const r=document.createElement("div");r.classList.add("fold-comment"),r.innerHTML="收起评论",r.addEventListener("click",(()=>{t(),e.scrollIntoView(),window.scrollBy({top:-75})})),o.insertAdjacentElement("beforeend",r)};if("v2"!==o.feedsCardsManager.managerType)if("v1"!==o.feedsCardsManager.managerType)console.warn("unrecognized card type",e);else{const o=e.querySelector(".panel-area");if(null===o)return void console.warn("panelArea not found",e);const r=()=>{const n=e.querySelector(".button-bar").children[1];n?.click()};if(0===o.childElementCount){const[e]=t(o,(t=>{t.length>0&&(n(o,r),e.disconnect())}))}else n(o,r)}else{const t=()=>dq(e,i),o=()=>null!==t(),r=()=>{const n=dq(e,".bili-dyn-action.comment");n?.click()};o()?n(t(),r):(0,s.childListSubtree)(e,(()=>{o()&&n(e,r)}))}})(e.element)});const a=await Promise.resolve().then(r.t.bind(r,42,23)).then((e=>e.default));e.addStyle({id:"foldComments",style:a})})),commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"})})(),i=i.component})()));
|
||||
@ -1,4 +1,4 @@
|
||||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["feeds/full-content"]=e():t["feeds/full-content"]=e()}(globalThis,(()=>(()=>{var t,e,n={859:(t,e,n)=>{var o=n(355)((function(t){return t[1]}));o.push([t.id,".bili-dyn-content .bili-rich-text__action,\n.bili-dyn-content .expand-btn,\n.bili-dyn-content .content-ellipsis,\n.card .main-content .bili-rich-text__action,\n.card .main-content .expand-btn,\n.card .main-content .content-ellipsis {\n display: none !important;\n}\n.bili-dyn-content .bili-rich-text__content,\n.bili-dyn-content .content-full,\n.card .main-content .bili-rich-text__content,\n.card .main-content .content-full {\n -webkit-line-clamp: unset !important;\n display: block !important;\n height: auto !important;\n max-height: unset !important;\n}",""]),t.exports=o},355:t=>{"use strict";
|
||||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["feeds/full-content"]=e():t["feeds/full-content"]=e()}(globalThis,(()=>(()=>{var t,e,n={520:(t,e,n)=>{var o=n(955)((function(t){return t[1]}));o.push([t.id,".bili-rich-text__content.folded {\n -webkit-line-clamp: unset !important;\n display: block !important;\n height: auto !important;\n max-height: unset !important;\n}\n.bili-rich-text__content.folded ~ .bili-rich-text__action {\n display: none !important;\n}\n\n.card .main-content .expand-btn,\n.card .main-content .content-ellipsis {\n display: none !important;\n}\n.card .main-content .content-full {\n -webkit-line-clamp: unset !important;\n display: block !important;\n height: auto !important;\n max-height: unset !important;\n}",""]),t.exports=o},955:t=>{"use strict";
|
||||
// eslint-disable-next-line func-names
|
||||
t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=t(e);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},
|
||||
// eslint-disable-next-line func-names
|
||||
@ -6,4 +6,4 @@ e.i=function(t,n,o){"string"==typeof t&&(
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
t=[[null,t,""]]);var r={};if(o)for(var i=0;i<this.length;i++){
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
var c=this[i][0];null!=c&&(r[c]=!0)}for(var a=0;a<t.length;a++){var l=[].concat(t[a]);o&&r[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),e.push(l))}},e}},649:(t,e,n)=>{var o=n(859);o&&o.__esModule&&(o=o.default),t.exports="string"==typeof o?o:o.toString()}},o={};function r(t){var e=o[t];if(void 0!==e)return e.exports;var i=o[t]={id:t,exports:{}};return n[t](i,i.exports,r),i.exports}e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,r.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var i=Object.create(null);r.r(i);var c={};t=t||[null,e({}),e([]),e(e)];for(var a=2&o&&n;"object"==typeof a&&!~t.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach((t=>c[t]=()=>n[t]));return c.default=()=>n,r.d(i,c),i},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>o});const t=coreApis.componentApis.define,e=coreApis.componentApis.styledComponent,n=coreApis.utils.urls,o=(0,t.defineComponentMetadata)({...(0,e.toggleStyle)("fullFeedsContent",(()=>Promise.resolve().then(r.t.bind(r,649,23)))),displayName:"展开动态内容",description:{"zh-CN":"不管内容多长, 总是完全展开动态的内容."},tags:[componentsTags.style,componentsTags.feeds],urlInclude:n.feedsUrlsWithoutDetail,commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3"})})(),i=i.component})()));
|
||||
var a=this[i][0];null!=a&&(r[a]=!0)}for(var c=0;c<t.length;c++){var s=[].concat(t[c]);o&&r[s[0]]||(n&&(s[2]?s[2]="".concat(n," and ").concat(s[2]):s[2]=n),e.push(s))}},e}},130:(t,e,n)=>{var o=n(520);o&&o.__esModule&&(o=o.default),t.exports="string"==typeof o?o:o.toString()},967:t=>{function e(t){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}e.keys=()=>[],e.resolve=e,e.id=967,t.exports=e},728:t=>{"use strict";t.exports="不管内容多长, 总是完全展开动态的内容. (专栏不算)\n"}},o={};function r(t){var e=o[t];if(void 0!==e)return e.exports;var i=o[t]={id:t,exports:{}};return n[t](i,i.exports,r),i.exports}e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,r.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var i=Object.create(null);r.r(i);var a={};t=t||[null,e({}),e([]),e(e)];for(var c=2&o&&n;"object"==typeof c&&!~t.indexOf(c);c=e(c))Object.getOwnPropertyNames(c).forEach((t=>a[t]=()=>n[t]));return a.default=()=>n,r.d(i,a),i},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>n});const t=coreApis.componentApis.define,e=coreApis.utils.urls,n=(0,t.defineComponentMetadata)({name:"fullFeedsContent",instantStyles:[{name:"full-feeds-content",style:()=>Promise.resolve().then(r.t.bind(r,130,23))}],displayName:"展开动态内容",tags:[componentsTags.style,componentsTags.feeds],urlInclude:e.feedsUrlsWithoutDetail,entry:none,commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4",description:(()=>{const t=r(967);return{...Object.fromEntries(t.keys().map((e=>[e.match(/index\.(.+)\.md$/)[1],t(e)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,728,17)).then((t=>t.default))}})()})})(),i=i.component})()));
|
||||
4
registry/dist/components/feeds/full-title.js
vendored
4
registry/dist/components/feeds/full-title.js
vendored
@ -1,4 +1,4 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["feeds/full-title"]=t():e["feeds/full-title"]=t()}(globalThis,(()=>(()=>{var e,t,o={128:(e,t,o)=>{var n=o(355)((function(e){return e[1]}));n.push([e.id,".custom-navbar .video-card .title {\n max-height: unset !important;\n display: block !important;\n}",""]),e.exports=n},355:e=>{"use strict";
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["feeds/full-title"]=t():e["feeds/full-title"]=t()}(globalThis,(()=>(()=>{var e,t,o={900:(e,t,o)=>{var n=o(955)((function(e){return e[1]}));n.push([e.id,".custom-navbar .video-card .title {\n max-height: unset !important;\n display: block !important;\n}",""]),e.exports=n},955:e=>{"use strict";
|
||||
// eslint-disable-next-line func-names
|
||||
e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o=e(t);return t[2]?"@media ".concat(t[2]," {").concat(o,"}"):o})).join("")},
|
||||
// eslint-disable-next-line func-names
|
||||
@ -6,4 +6,4 @@ t.i=function(e,o,n){"string"==typeof e&&(
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
e=[[null,e,""]]);var r={};if(n)for(var i=0;i<this.length;i++){
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
var a=this[i][0];null!=a&&(r[a]=!0)}for(var c=0;c<e.length;c++){var s=[].concat(e[c]);n&&r[s[0]]||(o&&(s[2]?s[2]="".concat(o," and ").concat(s[2]):s[2]=o),t.push(s))}},t}},291:(e,t,o)=>{var n=o(128);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={id:e,exports:{}};return o[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&n&&o;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>o[e]));return a.default=()=>o,r.d(i,a),i},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>o});const e=coreApis.componentApis.define,t=coreApis.componentApis.styledComponent,o=(0,e.defineComponentMetadata)({...(0,t.toggleStyle)("fullFeedsTitle",(()=>Promise.resolve().then(r.t.bind(r,291,23)))),displayName:"展开动态标题",description:{"zh-CN":"在顶栏的视频动态中, 无论标题多长总是完全展开."},tags:[componentsTags.feeds,componentsTags.style],commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3"})})(),i=i.component})()));
|
||||
var a=this[i][0];null!=a&&(r[a]=!0)}for(var c=0;c<e.length;c++){var f=[].concat(e[c]);n&&r[f[0]]||(o&&(f[2]?f[2]="".concat(o," and ").concat(f[2]):f[2]=o),t.push(f))}},t}},502:(e,t,o)=>{var n=o(900);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={id:e,exports:{}};return o[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&n&&o;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>o[e]));return a.default=()=>o,r.d(i,a),i},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>o});const e=coreApis.componentApis.define,t=coreApis.componentApis.styledComponent,o=(0,e.defineComponentMetadata)({...(0,t.toggleStyle)("fullFeedsTitle",(()=>Promise.resolve().then(r.t.bind(r,502,23)))),displayName:"展开动态标题",description:{"zh-CN":"在顶栏的视频动态中, 无论标题多长总是完全展开."},tags:[componentsTags.feeds,componentsTags.style],commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"})})(),i=i.component})()));
|
||||
12
registry/dist/components/feeds/group-filter.js
vendored
Normal file
12
registry/dist/components/feeds/group-filter.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -1,4 +1,4 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["feeds/hide-comment-preview"]=t():e["feeds/hide-comment-preview"]=t()}(globalThis,(()=>(()=>{var e,t,o={556:(e,t,o)=>{var n=o(355)((function(e){return e[1]}));n.push([e.id,".bili-dyn-item__interaction {\n display: none !important;\n}",""]),e.exports=n},355:e=>{"use strict";
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["feeds/hide-comment-preview"]=t():e["feeds/hide-comment-preview"]=t()}(globalThis,(()=>(()=>{var e,t,o={891:(e,t,o)=>{var n=o(955)((function(e){return e[1]}));n.push([e.id,".bili-dyn-item__interaction {\n display: none !important;\n}",""]),e.exports=n},955:e=>{"use strict";
|
||||
// eslint-disable-next-line func-names
|
||||
e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o=e(t);return t[2]?"@media ".concat(t[2]," {").concat(o,"}"):o})).join("")},
|
||||
// eslint-disable-next-line func-names
|
||||
@ -6,4 +6,4 @@ t.i=function(e,o,n){"string"==typeof e&&(
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
e=[[null,e,""]]);var r={};if(n)for(var i=0;i<this.length;i++){
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
var s=this[i][0];null!=s&&(r[s]=!0)}for(var c=0;c<e.length;c++){var a=[].concat(e[c]);n&&r[a[0]]||(o&&(a[2]?a[2]="".concat(o," and ").concat(a[2]):a[2]=o),t.push(a))}},t}},254:(e,t,o)=>{var n=o(556);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()},831:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=831,e.exports=t},631:e=>{"use strict";e.exports="隐藏动态评论按钮上方的精选评论预览. (详细可看 [#3322](https://github.com/the1812/Bilibili-Evolved/discussions/3322))\n"}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={id:e,exports:{}};return o[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var s={};e=e||[null,t({}),t([]),t(t)];for(var c=2&n&&o;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>s[e]=()=>o[e]));return s.default=()=>o,r.d(i,s),i},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>t});const e="hideFeedsCommentPreview",t=(0,coreApis.componentApis.define.defineComponentMetadata)({name:e,tags:[componentsTags.feeds,componentsTags.style],displayName:"隐藏动态评论预览",entry:none,instantStyles:[{style:()=>Promise.resolve().then(r.t.bind(r,254,23)),name:e}],commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3",description:(()=>{const e=r(831);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,631,17)).then((e=>e.default))}})()})})(),i=i.component})()));
|
||||
var s=this[i][0];null!=s&&(r[s]=!0)}for(var c=0;c<e.length;c++){var a=[].concat(e[c]);n&&r[a[0]]||(o&&(a[2]?a[2]="".concat(o," and ").concat(a[2]):a[2]=o),t.push(a))}},t}},437:(e,t,o)=>{var n=o(891);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()},303:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=303,e.exports=t},500:e=>{"use strict";e.exports="隐藏动态评论按钮上方的精选评论预览. (详细可看 [#3322](https://github.com/the1812/Bilibili-Evolved/discussions/3322))\n"}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={id:e,exports:{}};return o[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var s={};e=e||[null,t({}),t([]),t(t)];for(var c=2&n&&o;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>s[e]=()=>o[e]));return s.default=()=>o,r.d(i,s),i},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>t});const e="hideFeedsCommentPreview",t=(0,coreApis.componentApis.define.defineComponentMetadata)({name:e,tags:[componentsTags.feeds,componentsTags.style],displayName:"隐藏动态评论预览",entry:none,instantStyles:[{style:()=>Promise.resolve().then(r.t.bind(r,437,23)),name:e}],commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4",description:(()=>{const e=r(303);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,500,17)).then((e=>e.default))}})()})})(),i=i.component})()));
|
||||
@ -1 +1 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["feeds/image-auto-back-to-top"]=t():e["feeds/image-auto-back-to-top"]=t()}(globalThis,(()=>(()=>{var e,t,o={583:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=583,e.exports=t},953:e=>{"use strict";e.exports="在动态里查看图片详情时 (非全屏), 切换图片自动回到图片顶部; 退出查看图片模式时, 自动将动态移入视图内.\n"}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return o[e](i,i.exports,n),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&o;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>o[e]));return a.default=()=>o,n.d(i,a),i},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";n.d(i,{component:()=>s});const e=coreApis.componentApis.define,t=coreApis.componentApis.feeds.api,o=coreApis.observer,r=coreApis.utils.log,a=coreApis.utils.urls,s=(0,e.defineComponentMetadata)({name:"imageAutoBackToTop",displayName:"动态看图自动回顶",tags:[componentsTags.feeds],urlInclude:a.feedsUrlsWithoutDetail,entry:()=>{const e=(0,r.useScopedConsole)("imageAutoBackToTop");(0,t.forEachFeedsCard)({added:t=>{const r=e=>{e?.scrollIntoView(),window.scrollBy({top:-75})},n=dqa(t.element,".bili-album");(0,o.mutationObserve)(n,{childList:!0,attributes:!0,subtree:!0},(o=>{o.forEach((o=>{const n=()=>o.target instanceof HTMLElement&&o.target.classList.contains("bili-album__watch")&&"style"===o.attributeName?"none"!==o.target.style.display:null,i=e=>[...e].some((e=>e instanceof HTMLElement&&e.classList.contains("bili-album__watch")));(i(o.removedNodes)||!1===n())&&(r(t.element),e.log("imagePreviewExited"));if(i(o.addedNodes)||!0===n()){const o=dq(t.element,".bili-album__watch__control");r(o),e.log("imagePreviewEntered")}}))})),(0,o.attributesSubtree)(t.element,(o=>{o.forEach((o=>{if(!(o.target instanceof HTMLImageElement&&o.target.matches(".bili-album__watch__content img")&&"src"===o.attributeName))return;const n=dq(t.element,".bili-album__watch__control");r(n),e.log("imagePreviewSwitched")}))}))}})},commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3",description:(()=>{const e=n(583);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,953,17)).then((e=>e.default))}})()})})(),i=i.component})()));
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["feeds/image-auto-back-to-top"]=t():e["feeds/image-auto-back-to-top"]=t()}(globalThis,(()=>(()=>{var e,t,o={737:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=737,e.exports=t},38:e=>{"use strict";e.exports="在动态里查看图片详情时 (非全屏), 切换图片自动回到图片顶部; 退出查看图片模式时, 自动将动态移入视图内.\n"}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return o[e](i,i.exports,n),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&o;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>o[e]));return a.default=()=>o,n.d(i,a),i},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";n.d(i,{component:()=>s});const e=coreApis.componentApis.define,t=coreApis.componentApis.feeds.api,o=coreApis.observer,r=coreApis.utils.log,a=coreApis.utils.urls,s=(0,e.defineComponentMetadata)({name:"imageAutoBackToTop",displayName:"动态看图自动回顶",tags:[componentsTags.feeds],urlInclude:a.feedsUrlsWithoutDetail,entry:()=>{const e=(0,r.useScopedConsole)("imageAutoBackToTop");(0,t.forEachFeedsCard)({added:t=>{const r=e=>{e?.scrollIntoView(),window.scrollBy({top:-75})},n=dqa(t.element,".bili-album");(0,o.mutationObserve)(n,{childList:!0,attributes:!0,subtree:!0},(o=>{o.forEach((o=>{const n=()=>o.target instanceof HTMLElement&&o.target.classList.contains("bili-album__watch")&&"style"===o.attributeName?"none"!==o.target.style.display:null,i=e=>[...e].some((e=>e instanceof HTMLElement&&e.classList.contains("bili-album__watch")));(i(o.removedNodes)||!1===n())&&(r(t.element),e.log("imagePreviewExited"));if(i(o.addedNodes)||!0===n()){const o=dq(t.element,".bili-album__watch__control");r(o),e.log("imagePreviewEntered")}}))})),(0,o.attributesSubtree)(t.element,(o=>{o.forEach((o=>{if(!(o.target instanceof HTMLImageElement&&o.target.matches(".bili-album__watch__content img")&&"src"===o.attributeName))return;const n=dq(t.element,".bili-album__watch__control");r(n),e.log("imagePreviewSwitched")}))}))}})},commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4",description:(()=>{const e=n(737);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,38,17)).then((e=>e.default))}})()})})(),i=i.component})()));
|
||||
1
registry/dist/components/feeds/legacy-image-viewer.js
vendored
Normal file
1
registry/dist/components/feeds/legacy-image-viewer.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["feeds/legacy-image-viewer"]=t():e["feeds/legacy-image-viewer"]=t()}(globalThis,(()=>(()=>{var e,t,o={204:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=204,e.exports=t},787:e=>{"use strict";e.exports="将动态中左右切换式的图片改回传统的平铺展示. (在动态详情中可能稍有延迟)\n"}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var a=r[e]={exports:{}};return o[e](a,a.exports,n),a.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var a=Object.create(null);n.r(a);var d={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&o;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>d[e]=()=>o[e]));return d.default=()=>o,n.d(a,d),a},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";n.d(a,{component:()=>r});const e=coreApis.componentApis.define,t=coreApis.componentApis.feeds.api,o=coreApis.utils.urls,r=(0,e.defineComponentMetadata)({name:"legacyFeedsImageViewer",displayName:"动态图片平铺展示",tags:[componentsTags.feeds],urlInclude:o.feedsUrls,entry:()=>{(0,t.forEachFeedsCard)({added:e=>{const o=(0,t.getVueData)(e.element),r=o?.data?.type,n="DYNAMIC_TYPE_FORWARD"===r?"data.orig.modules.module_dynamic.major.opus.style":"data.modules.module_dynamic.major.opus.style";if(1===lodash.get(o,n,null))return void lodash.set(o,n,void 0);const a=o?.data?.modules;if(Array.isArray(a)){const e=a.find((e=>"MODULE_TYPE_TOP"===e.module_type)),t=a.find((e=>"MODULE_TYPE_CONTENT"===e.module_type)),o=e?.module_top?.display?.album,r=t?.module_content?.paragraphs;o&&r&&(a.splice(a.indexOf(e),1),r.push({align:0,para_type:2,pic:{pics:o.pics,style:1}}))}}})},commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4",description:(()=>{const e=n(204);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,787,17)).then((e=>e.default))}})()})})(),a=a.component})()));
|
||||
2
registry/dist/components/feeds/unfold.js
vendored
2
registry/dist/components/feeds/unfold.js
vendored
@ -1 +1 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["feeds/unfold"]=t():e["feeds/unfold"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,o={799:e=>{e.exports=coreApis.componentApis.feeds.api}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={exports:{}};return o[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var d={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&o;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>d[e]=()=>o[e]));return d.default=()=>o,r.d(i,d),i},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{r.d(i,{component:()=>n});const e=coreApis.componentApis.define,t=coreApis.spinQuery,o=coreApis.utils.urls,n=(0,e.defineComponentMetadata)({name:"unfoldFeeds",displayName:"动态反折叠",tags:[componentsTags.feeds],description:{"zh-CN":"\n自动展开被折叠的动态.\n\n动态被折叠可能是因为:\n- 短时间内大量更新作品\n- 多人转发同一个作品\n- 被审核折叠\n"},urlInclude:o.feedsUrlsWithoutDetail,entry:async()=>{const{forEachFeedsCard:e}=await Promise.resolve().then(r.t.bind(r,799,23));e({added:async e=>{(await(0,t.select)((()=>dq(e.element,".fold-hoverable, .bili-dyn-item-fold"))))?.click()}})},commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3"})})(),i=i.component})()));
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["feeds/unfold"]=t():e["feeds/unfold"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,o={649:e=>{e.exports=coreApis.componentApis.feeds.api}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={exports:{}};return o[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var d={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&o;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>d[e]=()=>o[e]));return d.default=()=>o,r.d(i,d),i},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.d(i,{component:()=>c});const d=coreApis.componentApis.define,s=coreApis.spinQuery,f=coreApis.utils.urls,c=(0,d.defineComponentMetadata)({name:"unfoldFeeds",displayName:"动态反折叠",tags:[componentsTags.feeds],description:{"zh-CN":"\n自动展开被折叠的动态.\n\n动态被折叠可能是因为:\n- 短时间内大量更新作品\n- 多人转发同一个作品\n- 被审核折叠\n"},urlInclude:f.feedsUrlsWithoutDetail,entry:async()=>{const{forEachFeedsCard:e}=await Promise.resolve().then(r.t.bind(r,649,23));e({added:async e=>{const t=await(0,s.select)((()=>dq(e.element,".fold-hoverable, .bili-dyn-item-fold")));t?.click()}})},commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"});return i=i.component})()));
|
||||
10
registry/dist/components/live/badge-helper.js
vendored
10
registry/dist/components/live/badge-helper.js
vendored
File diff suppressed because one or more lines are too long
12
registry/dist/components/live/badge-keepalive.js
vendored
Normal file
12
registry/dist/components/live/badge-keepalive.js
vendored
Normal file
File diff suppressed because one or more lines are too long
12
registry/dist/components/live/chat-panel-fit.js
vendored
Normal file
12
registry/dist/components/live/chat-panel-fit.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
6
registry/dist/components/live/gift-box.js
vendored
6
registry/dist/components/live/gift-box.js
vendored
@ -1,9 +1,9 @@
|
||||
!function(n,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["live/gift-box"]=t():n["live/gift-box"]=t()}(globalThis,(()=>(()=>{var n={956:(n,t,e)=>{var r=e(355)((function(n){return n[1]}));r.push([n.id,".full-win-gift-btn-wrapper.full-win-gift-btn-wrapper {\n position: relative;\n}\n.full-win-gift-btn-wrapper.full-win-gift-btn-wrapper .wrap {\n right: -28px;\n bottom: calc(100% + 3px);\n color: #666;\n font-size: 12px;\n line-height: 1.4;\n}\n.full-win-gift-btn-wrapper.full-win-gift-btn-wrapper .wrap .text {\n margin: auto;\n padding: auto;\n color: inherit;\n cursor: inherit;\n line-height: inherit;\n}\n.full-win-gift-btn-wrapper.full-win-gift-btn-wrapper .wrap .popup::before,\n.full-win-gift-btn-wrapper.full-win-gift-btn-wrapper .wrap .popup::after {\n left: auto;\n right: calc(1em + 33px);\n transform: translateX(50%);\n}\n.full-win-gift-btn-wrapper.full-win-gift-btn-wrapper .gift-package {\n margin: auto;\n width: auto;\n height: 100%;\n color: inherit;\n fill: inherit;\n background: inherit !important;\n}\n.full-win-gift-btn-wrapper.full-win-gift-btn-wrapper .gift-package-btn {\n padding-top: 0 !important;\n color: rgba(255, 255, 255, 0.9) !important;\n}\n.full-win-gift-btn-wrapper.full-win-gift-btn-wrapper .gift-package-btn:hover {\n background-color: transparent !important;\n color: #fff !important;\n}\n.full-win-gift-btn-wrapper.full-win-gift-btn-wrapper .gift-package .bg-text {\n height: auto !important;\n line-height: normal !important;\n}\n.full-win-gift-btn-wrapper.full-win-gift-btn-wrapper .gift-package .bag-icon {\n display: none;\n}",""]),n.exports=r},355:n=>{"use strict";
|
||||
!function(n,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["live/gift-box"]=t():n["live/gift-box"]=t()}(globalThis,(()=>(()=>{var n={344:(n,t,e)=>{var r=e(955)((function(n){return n[1]}));r.push([n.id,".full-win-gift-btn-wrapper.full-win-gift-btn-wrapper {\n position: relative;\n}\n.full-win-gift-btn-wrapper.full-win-gift-btn-wrapper .wrap {\n right: -28px;\n bottom: calc(100% + 3px);\n color: #666;\n font-size: 12px;\n line-height: 1.4;\n}\n.full-win-gift-btn-wrapper.full-win-gift-btn-wrapper .wrap .text {\n margin: auto;\n padding: auto;\n color: inherit;\n cursor: inherit;\n line-height: inherit;\n}\n.full-win-gift-btn-wrapper.full-win-gift-btn-wrapper .wrap .popup::before,\n.full-win-gift-btn-wrapper.full-win-gift-btn-wrapper .wrap .popup::after {\n left: auto;\n right: calc(1em + 33px);\n transform: translateX(50%);\n}\n.full-win-gift-btn-wrapper.full-win-gift-btn-wrapper .gift-package {\n margin: auto;\n width: auto;\n height: 100%;\n color: inherit;\n fill: inherit;\n background: inherit !important;\n}\n.full-win-gift-btn-wrapper.full-win-gift-btn-wrapper .gift-package-btn {\n padding-top: 0 !important;\n color: rgba(255, 255, 255, 0.9) !important;\n}\n.full-win-gift-btn-wrapper.full-win-gift-btn-wrapper .gift-package-btn:hover {\n background-color: transparent !important;\n color: #fff !important;\n}\n.full-win-gift-btn-wrapper.full-win-gift-btn-wrapper .gift-package .bg-text {\n height: auto !important;\n line-height: normal !important;\n}\n.full-win-gift-btn-wrapper.full-win-gift-btn-wrapper .gift-package .bag-icon {\n display: none;\n}\n\n.new-silver-wallet {\n background-color: var(--Ga1_u) !important;\n}\n\n.new-list-box * .num > span {\n color: var(--text3) !important;\n}\n\n.click-root > .content-box {\n color: #000 !important;\n}\n.click-root > .content-box > .text {\n color: #000 !important;\n}\n\n.new-list-box * .static-bg-root {\n --static-bg-color: #ffecf1 !important;\n --static-bg-border-color: #ff6699 !important;\n}",""]),n.exports=r},955:n=>{"use strict";
|
||||
// eslint-disable-next-line func-names
|
||||
n.exports=function(n){var t=[];return t.toString=function(){return this.map((function(t){var e=n(t);return t[2]?"@media ".concat(t[2]," {").concat(e,"}"):e})).join("")},
|
||||
// eslint-disable-next-line func-names
|
||||
t.i=function(n,e,r){"string"==typeof n&&(
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
n=[[null,n,""]]);var i={};if(r)for(var o=0;o<this.length;o++){
|
||||
n=[[null,n,""]]);var o={};if(r)for(var i=0;i<this.length;i++){
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
var l=this[o][0];null!=l&&(i[l]=!0)}for(var a=0;a<n.length;a++){var p=[].concat(n[a]);r&&i[p[0]]||(e&&(p[2]?p[2]="".concat(e," and ").concat(p[2]):p[2]=e),t.push(p))}},t}},451:(n,t,e)=>{var r=e(956);r&&r.__esModule&&(r=r.default),n.exports="string"==typeof r?r:r.toString()}},t={};function e(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={id:r,exports:{}};return n[r](o,o.exports,e),o.exports}e.n=n=>{var t=n&&n.__esModule?()=>n.default:()=>n;return e.d(t,{a:t}),t},e.d=(n,t)=>{for(var r in t)e.o(t,r)&&!e.o(n,r)&&Object.defineProperty(n,r,{enumerable:!0,get:t[r]})},e.o=(n,t)=>Object.prototype.hasOwnProperty.call(n,t);var r={};return(()=>{"use strict";e.d(r,{component:()=>y});const n=coreApis.componentApis.live.liveControlBar,t=coreApis.componentApis.define,i=coreApis.spinQuery,o=coreApis.style,l=coreApis.utils.urls;var a=e(451),p=e.n(a);const c="player-full-win",u="fullscreen-fix",f="full-win-gift-btn-wrapper",s="liveGiftBox";let d=null,g=null,w=null;function b(){return document.body.classList.contains(c)||document.body.classList.contains(u)}function m(n,t){const e=dq(n,".right-area");if(e){const n=document.createElement("div");n.className=f,n.appendChild(t),e.appendChild(n)}else console.warn("[liveGiftBox] .right-area could not be found in control bar")}function v(n,t){return function(n){function t(n){const t=b(),e=n.oldValue.split(" ");return t===(e.includes(c)||e.includes(u))?null:t}const e=new MutationObserver((e=>{for(const r of e){const e=t(r);null!==e&&n(e)}}));return e?.observe(document.body,{attributes:!0,attributeFilter:["class"],attributeOldValue:!0}),()=>e.disconnect()}((e=>{e?function(n){const t=dq(".control-area");t&&m(t,n)}(n):function(n,t){t.appendChild(n)}(n,t)}))}async function h(){(0,o.addStyle)(p(),s);const n=await async function(){const n=await(0,i.select)(".z-gift-package",{maxRetry:15,queryInterval:200});return n||console.warn("[liveGiftBox] the parent element of gift button not found"),n}();d=n?.children[0],n&&d&&(g=v(d,n),w=function(n){const t=dq("#live-player");if(!t)return console.warn("[liveGiftBox] live player not found"),null;function e(){dq(".full-win-gift-btn-wrapper .wrap")&&n.click()}return t.addEventListener("mouseleave",e),()=>t.removeEventListener("mouseleave",e)}(d))}const y=(0,t.defineComponentMetadata)({name:s,displayName:"直播全屏包裹",description:{"zh-CN":"在直播的网页全屏(不能是全屏)模式下往控制栏添加包裹按钮."},urlInclude:l.liveUrls,tags:[componentsTags.live],entry:function(){(0,n.waitForControlBar)({callback:function(n){const t=b();d&&t&&m(n,d)}}),h()},reload:h,unload:function(){w?.call(null),w=null,g?.call(null),g=null,d=null,(0,o.removeStyle)(s)},commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3"})})(),r=r.component})()));
|
||||
var a=this[i][0];null!=a&&(o[a]=!0)}for(var l=0;l<n.length;l++){var c=[].concat(n[l]);r&&o[c[0]]||(e&&(c[2]?c[2]="".concat(e," and ").concat(c[2]):c[2]=e),t.push(c))}},t}},346:(n,t,e)=>{var r=e(344);r&&r.__esModule&&(r=r.default),n.exports="string"==typeof r?r:r.toString()}},t={};function e(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,exports:{}};return n[r](i,i.exports,e),i.exports}e.n=n=>{var t=n&&n.__esModule?()=>n.default:()=>n;return e.d(t,{a:t}),t},e.d=(n,t)=>{for(var r in t)e.o(t,r)&&!e.o(n,r)&&Object.defineProperty(n,r,{enumerable:!0,get:t[r]})},e.o=(n,t)=>Object.prototype.hasOwnProperty.call(n,t);var r={};return(()=>{"use strict";e.d(r,{component:()=>x});const n=coreApis.componentApis.live.liveControlBar,t=coreApis.componentApis.define,o=coreApis.spinQuery,i=coreApis.style,a=coreApis.utils.urls;var l=e(346),c=e.n(l);const p="player-full-win",u="fullscreen-fix",f="full-win-gift-btn-wrapper",s="liveGiftBox";let d=null,g=null,b=null;function w(){return document.body.classList.contains(p)||document.body.classList.contains(u)}function m(n,t){const e=dq(n,".right-area");if(e){const n=document.createElement("div");n.className=f,n.appendChild(t),e.appendChild(n)}else console.warn(`[${s}] .right-area could not be found in control bar`)}function v(n,t){return function(n){function t(n){const t=w(),e=n.oldValue.split(" ");return t===(e.includes(p)||e.includes(u))?null:t}const e=new MutationObserver((e=>{for(const r of e){const e=t(r);null!==e&&n(e)}}));return e?.observe(document.body,{attributes:!0,attributeFilter:["class"],attributeOldValue:!0}),()=>e.disconnect()}((e=>{e?function(n){const t=dq(".control-area");t&&m(t,n)}(n):function(n,t){t.appendChild(n)}(n,t)}))}async function h(){(0,i.addStyle)(c(),s);const n=await async function(){const n=await(0,o.select)(".z-gift-package",{maxRetry:15,queryInterval:200});return n||console.warn(`[${s}] the parent element of gift button not found`),n}();d=n?.children[0],n&&d&&(g=v(d,n),b=function(n){const t=dq("#live-player");if(!t)return console.warn(`[${s}] live player not found`),null;function e(){dq(`.${f} .wrap`)&&n.click()}return t.addEventListener("mouseleave",e),()=>t.removeEventListener("mouseleave",e)}(d))}const x=(0,t.defineComponentMetadata)({name:s,displayName:"直播全屏包裹",description:{"zh-CN":"在直播的网页全屏(不能是全屏)模式下往控制栏添加包裹按钮."},urlInclude:a.liveUrls,tags:[componentsTags.live],entry:function(){(0,n.waitForControlBar)({callback:function(n){const t=w();d&&t&&m(n,d)}}),h()},reload:h,unload:function(){b?.call(null),b=null,g?.call(null),g=null,d=null,(0,i.removeStyle)(s)},commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"})})(),r=r.component})()));
|
||||
9
registry/dist/components/live/hide-gift-fullscreen.js
vendored
Normal file
9
registry/dist/components/live/hide-gift-fullscreen.js
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["live/hide-gift-fullscreen"]=t():e["live/hide-gift-fullscreen"]=t()}(globalThis,(()=>(()=>{var e,t,n={94:(e,t,n)=>{var o=n(955)((function(e){return e[1]}));o.push([e.id,"#full-screen-interactive-wrap { \n display: none !important \n}\n\n#fullscreen-danmaku-vm .fullscreen-danmaku { \n bottom: 5px !important \n}",""]),e.exports=o},955:e=>{"use strict";
|
||||
// eslint-disable-next-line func-names
|
||||
e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},
|
||||
// eslint-disable-next-line func-names
|
||||
t.i=function(e,n,o){"string"==typeof e&&(
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
e=[[null,e,""]]);var r={};if(o)for(var i=0;i<this.length;i++){
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
var a=this[i][0];null!=a&&(r[a]=!0)}for(var c=0;c<e.length;c++){var s=[].concat(e[c]);o&&r[s[0]]||(n&&(s[2]?s[2]="".concat(n," and ").concat(s[2]):s[2]=n),t.push(s))}},t}},124:(e,t,n)=>{var o=n(94);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()}},o={};function r(e){var t=o[e];if(void 0!==t)return t.exports;var i=o[e]={id:e,exports:{}};return n[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var i=Object.create(null);r.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&o&&n;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,r.d(i,a),i},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>n});const e=coreApis.componentApis.define,t=coreApis.utils.urls,n=(0,e.defineComponentMetadata)({name:"hide-fullscreen-gift-bar",displayName:"全屏直播礼物简化",description:"移除全屏观看直播时的底部礼物栏",author:{name:"TimmyOVO",link:"https://github.com/TimmyOVO"},instantStyles:[{name:"hide-fullscreen-gift",style:()=>Promise.resolve().then(r.t.bind(r,124,23))}],entry:none,tags:[componentsTags.live,componentsTags.style],urlInclude:t.liveUrls,commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"})})(),i=i.component})()));
|
||||
9
registry/dist/components/live/hide-player-blur.js
vendored
Normal file
9
registry/dist/components/live/hide-player-blur.js
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["live/hide-player-blur"]=t():e["live/hide-player-blur"]=t()}(globalThis,(()=>(()=>{var e,t,r={316:(e,t,r)=>{var o=r(955)((function(e){return e[1]}));o.push([e.id,"#web-player-module-area-mask-panel {\n z-index: -100 !important;\n}",""]),e.exports=o},955:e=>{"use strict";
|
||||
// eslint-disable-next-line func-names
|
||||
e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=e(t);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},
|
||||
// eslint-disable-next-line func-names
|
||||
t.i=function(e,r,o){"string"==typeof e&&(
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
e=[[null,e,""]]);var n={};if(o)for(var i=0;i<this.length;i++){
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
var a=this[i][0];null!=a&&(n[a]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);o&&n[c[0]]||(r&&(c[2]?c[2]="".concat(r," and ").concat(c[2]):c[2]=r),t.push(c))}},t}},510:(e,t,r)=>{var o=r(316);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()},881:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=881,e.exports=t},630:e=>{"use strict";e.exports="移除直播画面中的马赛克区域.\n"}},o={};function n(e){var t=o[e];if(void 0!==t)return t.exports;var i=o[e]={id:e,exports:{}};return r[e](i,i.exports,n),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"==typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"==typeof r.then)return r}var i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&o&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>r[e]));return a.default=()=>r,n.d(i,a),i},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";n.d(i,{component:()=>r});const e=coreApis.componentApis.define,t=coreApis.utils.urls,r=(0,e.defineComponentMetadata)({name:"hideLivePlayerBlur",displayName:"隐藏直播马赛克",entry:none,tags:[componentsTags.live,componentsTags.style],urlInclude:[...t.liveUrls],instantStyles:[{name:"hideLivePlayerBlur",style:()=>Promise.resolve().then(n.t.bind(n,510,23))}],commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4",description:(()=>{const e=n(881);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,630,17)).then((e=>e.default))}})()})})(),i=i.component})()));
|
||||
2
registry/dist/components/live/home-mute.js
vendored
2
registry/dist/components/live/home-mute.js
vendored
@ -1 +1 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["live/home-mute"]=t():e["live/home-mute"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,o={200:e=>{e.exports=coreApis.spinQuery},605:e=>{e.exports=coreApis.utils}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return o[e](i,i.exports,n),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&o;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>o[e]));return a.default=()=>o,n.d(i,a),i},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{n.d(i,{component:()=>a});const e=coreApis.componentApis.define,t=coreApis.settings,o=coreApis.style,r=/^https:\/\/live\.bilibili\.com\/(index\.html)?$/,a=(0,e.defineComponentMetadata)({name:"liveHomeMute",displayName:"直播首页静音",tags:[componentsTags.live],description:{"zh-CN":"禁止直播首页的推荐直播间自动开始播放."},entry:async e=>{let{metadata:r}=e;const n="hide-home-live";(0,t.addComponentListener)(`${r.name}.hide`,(e=>{e?(0,o.addStyle)(".player-area-ctnr,#player-header { display: none !important }",n):(0,o.removeStyle)(n)}),!0)},options:{hide:{displayName:"隐藏首页直播板块",defaultValue:!1}},urlInclude:[r],plugin:{displayName:"直播首页静音 - 提前执行",description:{"zh-CN":"提前执行代码以尽快静音."},async setup(){const{matchUrlPattern:e}=await Promise.resolve().then(n.t.bind(n,605,23));if(!e(r))return;const{select:t}=await Promise.resolve().then(n.t.bind(n,200,23));t("video").then((e=>{e.muted=!0}))}},commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3"})})(),i=i.component})()));
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["live/home-mute"]=t():e["live/home-mute"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,o={905:e=>{e.exports=coreApis.settings},728:e=>{e.exports=coreApis.spinQuery},847:e=>{e.exports=coreApis.utils}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return o[e](i,i.exports,n),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&o;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>o[e]));return a.default=()=>o,n.d(i,a),i},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};n.d(i,{component:()=>d});const a=coreApis.componentApis.define;var s=n(905);const p=coreApis.style,l=/^https:\/\/live\.bilibili\.com\/(index\.html)?$/,d=(0,a.defineComponentMetadata)({name:"liveHomeMute",displayName:"直播首页静音",tags:[componentsTags.live],description:{"zh-CN":"禁止直播首页的推荐直播间自动开始播放."},entry:async e=>{let{metadata:t}=e;const o="hide-home-live";(0,s.addComponentListener)(`${t.name}.hide`,(e=>{e?(0,p.addStyle)(".player-area-ctnr,#player-header { display: none !important }",o):(0,p.removeStyle)(o)}),!0)},options:{hide:{displayName:"隐藏首页直播板块",defaultValue:!1}},urlInclude:[l],plugin:{displayName:"直播首页静音 - 提前执行",description:{"zh-CN":"提前执行代码以尽快静音."},async setup(){const{isComponentEnabled:e}=await Promise.resolve().then(n.t.bind(n,905,23));if(!e("liveHomeMute"))return;const{matchUrlPattern:t}=await Promise.resolve().then(n.t.bind(n,847,23));if(!t(l))return;const{select:o}=await Promise.resolve().then(n.t.bind(n,728,23));o("video").then((e=>{e.muted=!0}))}},commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"});return i=i.component})()));
|
||||
7
registry/dist/components/live/liveroom-username-link.js
vendored
Normal file
7
registry/dist/components/live/liveroom-username-link.js
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
!function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports["live/liveroom-username-link"]=o():e["live/liveroom-username-link"]=o()}(globalThis,(()=>(()=>{"use strict";var e={d:(o,t)=>{for(var n in t)e.o(t,n)&&!e.o(o,n)&&Object.defineProperty(o,n,{enumerable:!0,get:t[n]})},o:(e,o)=>Object.prototype.hasOwnProperty.call(e,o)},o={};e.d(o,{component:()=>c});const t=coreApis.componentApis.define,n=coreApis.spinQuery,i=coreApis.utils,r=new WeakSet,c=(0,t.defineComponentMetadata)({name:"liveroomUsernameLink",author:{name:"Light_Quanta",link:"https://github.com/LightQuanta"},displayName:"添加直播间用户超链接",entry:async()=>{const e=await(0,n.select)("#rank-list-ctnr-box",{queryInterval:500});new MutationObserver((async()=>{const e=[...document.querySelectorAll("webcomponent-userinfo")];let o=!1;for(const t of e){if(r.has(t))continue;
|
||||
// eslint-disable-next-line no-underscore-dangle
|
||||
const{uid:e}=t.__vue__.source.uinfo;if(!o){for(;null===t.shadowRoot.querySelector("a")||null===t.shadowRoot.querySelector(".faceBox");)await(0,i.delay)(100);o=!0}const n=t.shadowRoot.querySelector("a"),c=t.shadowRoot.querySelector(".faceBox");n.href=`https://space.bilibili.com/${e}`,n.style.textDecoration="none",c.style.cursor="pointer",c.addEventListener("click",(()=>{window.open(`https://space.bilibili.com/${e}`)})),r.add(t)}const t=[...document.querySelectorAll(".gift-rank-list-item")];for(const e of t){if(r.has(e))continue;const o=e.querySelector(".common-nickname-wrapper .name");o.style.cursor="pointer",o.addEventListener("click",(()=>{
|
||||
// eslint-disable-next-line no-underscore-dangle
|
||||
const{uid:e}=o.parentNode.parentNode.parentNode.parentNode.__vue__.source;window.open(`https://space.bilibili.com/${e}`)}));const t=e.querySelector(".face");t.style.cursor="pointer",t.addEventListener("click",(()=>{
|
||||
// eslint-disable-next-line no-underscore-dangle
|
||||
const{uid:e}=t.parentNode.parentNode.__vue__.source;window.open(`https://space.bilibili.com/${e}`)})),r.add(e)}})).observe(e,{childList:!0,subtree:!0})},tags:[componentsTags.live],urlInclude:[/^https:\/\/live\.bilibili\.com\/\d+/],description:{"zh-CN":"为直播间的房间观众和大航海界面的用户列表添加可以点击的超链接"},commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"});return o=o.component})()));
|
||||
2
registry/dist/components/live/original.js
vendored
2
registry/dist/components/live/original.js
vendored
@ -1 +1 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["live/original"]=t():e["live/original"]=t()}(globalThis,(()=>(()=>{"use strict";var e={479:(e,t,o)=>{o.r(t),o.d(t,{default:()=>s});var n=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("a",{attrs:{href:e.href,tabindex:"-1"}},[o("DefaultWidget",{attrs:{name:"返回原版直播间",icon:"mdi-arrow-left-circle-outline"}})],1)};n._withStripped=!0;const i=coreApis.ui;var r=function(e,t,o,n,i,r,s,a){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=o,c._compiled=!0),n&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),s?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},c._ssrRegister=l):i&&(l=a?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var d=c.render;c.render=function(e,t){return l.call(t),d(e,t)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,l):[l]}return{exports:e,options:c}}(Vue.extend({components:{DefaultWidget:i.DefaultWidget},data(){const e=document.URL.match(/^https:\/\/live\.bilibili\.com\/([\d]+)/);return e?{href:`https://live.bilibili.com/blanc/${e[1]}`}:{href:document.URL}}}),n,[],!1,null,null,null);r.options.__file="registry/lib/components/live/original/Widget.vue";const s=r.exports}},t={};function o(n){var i=t[n];if(void 0!==i)return i.exports;var r=t[n]={exports:{}};return e[n](r,r.exports,o),r.exports}o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{o.d(n,{component:()=>i});const e=coreApis.componentApis.define,t=coreApis.utils,i=(0,e.defineComponentMetadata)({name:"originalLiveroom",displayName:"返回原版直播间",description:"在直播间中提供返回原版直播间的按钮, 原版直播间将无视活动皮肤, 强制使用标准的直播页面.",tags:[componentsTags.live],entry:none,urlInclude:[/^https:\/\/live\.bilibili\.com\/[\d]+/],widget:{component:()=>Promise.resolve().then(o.bind(o,479)).then((e=>e.default)),condition:()=>(0,t.matchUrlPattern)(/^https:\/\/live\.bilibili\.com\/([\d]+)/)},commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3"})})(),n=n.component})()));
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["live/original"]=t():e["live/original"]=t()}(globalThis,(()=>(()=>{"use strict";var e={401:(e,t,o)=>{o.d(t,{Q:()=>n});const n=e=>{const t=e.match(/^https:\/\/live\.bilibili\.com\/([\d]+)/);return t?`https://live.bilibili.com/blanc/${t[1]}`:e}},894:(e,t,o)=>{o.r(t),o.d(t,{default:()=>a});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("a",{attrs:{href:e.href,tabindex:"-1"}},[t("DefaultWidget",{attrs:{name:"返回原版直播间",icon:"mdi-arrow-left-circle-outline"}})],1)};n._withStripped=!0;const i=coreApis.ui;var r=o(401);var s=function(e,t,o,n,i,r,s,a){var l,d="function"==typeof e?e.options:e;if(t&&(d.render=t,d.staticRenderFns=o,d._compiled=!0),n&&(d.functional=!0),r&&(d._scopeId="data-v-"+r),s?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},d._ssrRegister=l):i&&(l=a?function(){i.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(d.functional){d._injectStyles=l;var c=d.render;d.render=function(e,t){return l.call(t),c(e,t)}}else{var p=d.beforeCreate;d.beforeCreate=p?[].concat(p,l):[l]}return{exports:e,options:d}}(Vue.extend({components:{DefaultWidget:i.DefaultWidget},data:()=>({href:(0,r.Q)(document.URL)})}),n,[],!1,null,null,null);const a=s.exports}},t={};function o(n){var i=t[n];if(void 0!==i)return i.exports;var r=t[n]={exports:{}};return e[n](r,r.exports,o),r.exports}o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};o.d(n,{component:()=>a});const i=coreApis.componentApis.define,r=coreApis.utils;var s=o(401);const a=(0,i.defineComponentMetadata)({name:"originalLiveroom",displayName:"返回原版直播间",description:"在直播间中提供返回原版直播间的按钮, 原版直播间将无视活动皮肤, 强制使用标准的直播页面.",tags:[componentsTags.live],entry:e=>{let{settings:t}=e;(0,r.isNotHtml)()||(0,r.isIframe)()||t.options.defaultBack&&window.location.assign((0,s.Q)(document.URL))},options:{defaultBack:{displayName:"默认返回原版直播间",defaultValue:!1}},urlInclude:[/^https:\/\/live\.bilibili\.com\/[\d]+/],widget:{component:()=>Promise.resolve().then(o.bind(o,894)).then((e=>e.default)),condition:()=>(0,r.matchUrlPattern)(/^https:\/\/live\.bilibili\.com\/([\d]+)/)},commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"});return n=n.component})()));
|
||||
1
registry/dist/components/live/remove-mask-panel.js
vendored
Normal file
1
registry/dist/components/live/remove-mask-panel.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
!function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports["live/remove-mask-panel"]=o():e["live/remove-mask-panel"]=o()}(globalThis,(()=>(()=>{"use strict";var e={d:(o,t)=>{for(var n in t)e.o(t,n)&&!e.o(o,n)&&Object.defineProperty(o,n,{enumerable:!0,get:t[n]})},o:(e,o)=>Object.prototype.hasOwnProperty.call(e,o)},o={};e.d(o,{component:()=>a});const t=coreApis.componentApis.define,n=coreApis.utils.urls,r=async()=>{const e=new MutationObserver((o=>{o.forEach((o=>{o.addedNodes.forEach((o=>{"web-player-module-area-mask-panel"===o.id&&(o.parentNode?.removeChild(o),e.disconnect())}))}))}));e.observe(document.body,{childList:!0,subtree:!0})},a=(0,t.defineComponentMetadata)({name:"removeLiveMaskPanel",displayName:"删除直播马赛克遮罩",author:{name:"Liki4",link:"https://github.com/Liki4"},tags:[componentsTags.live,componentsTags.style],description:{"zh-CN":"删除观看直播时某些分区的马赛克遮罩."},entry:r,reload:r,urlInclude:n.liveUrls,commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"});return o=o.component})()));
|
||||
@ -1,4 +1,4 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["live/remove-watermark"]=t():e["live/remove-watermark"]=t()}(globalThis,(()=>(()=>{var e,t,o={140:(e,t,o)=>{var r=o(355)((function(e){return e[1]}));r.push([e.id,".live-player-ctnr .web-player-icon-roomStatus,\n.bilibili-live-player-video-logo {\n display: none !important;\n}",""]),e.exports=r},355:e=>{"use strict";
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["live/remove-watermark"]=t():e["live/remove-watermark"]=t()}(globalThis,(()=>(()=>{var e,t,o={469:(e,t,o)=>{var r=o(955)((function(e){return e[1]}));r.push([e.id,".live-player-ctnr .web-player-icon-roomStatus,\n.bilibili-live-player-video-logo {\n display: none !important;\n}",""]),e.exports=r},955:e=>{"use strict";
|
||||
// eslint-disable-next-line func-names
|
||||
e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o=e(t);return t[2]?"@media ".concat(t[2]," {").concat(o,"}"):o})).join("")},
|
||||
// eslint-disable-next-line func-names
|
||||
@ -6,4 +6,4 @@ t.i=function(e,o,r){"string"==typeof e&&(
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
e=[[null,e,""]]);var n={};if(r)for(var i=0;i<this.length;i++){
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
var a=this[i][0];null!=a&&(n[a]=!0)}for(var c=0;c<e.length;c++){var p=[].concat(e[c]);r&&n[p[0]]||(o&&(p[2]?p[2]="".concat(o," and ").concat(p[2]):p[2]=o),t.push(p))}},t}},961:(e,t,o)=>{var r=o(140);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,exports:{}};return o[e](i,i.exports,n),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&r&&o;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>o[e]));return a.default=()=>o,n.d(i,a),i},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";n.d(i,{component:()=>r});const e=coreApis.componentApis.define,t=coreApis.componentApis.styledComponent,o=coreApis.utils.urls,r=(0,e.defineComponentMetadata)({...(0,t.toggleStyle)("removeLiveWatermark",(()=>Promise.resolve().then(n.t.bind(n,961,23)))),displayName:"删除直播水印",tags:[componentsTags.live,componentsTags.style],description:{"zh-CN":"删除观看直播时角落的水印."},urlInclude:o.liveUrls,commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3"})})(),i=i.component})()));
|
||||
var a=this[i][0];null!=a&&(n[a]=!0)}for(var c=0;c<e.length;c++){var p=[].concat(e[c]);r&&n[p[0]]||(o&&(p[2]?p[2]="".concat(o," and ").concat(p[2]):p[2]=o),t.push(p))}},t}},211:(e,t,o)=>{var r=o(469);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,exports:{}};return o[e](i,i.exports,n),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&r&&o;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>o[e]));return a.default=()=>o,n.d(i,a),i},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";n.d(i,{component:()=>r});const e=coreApis.componentApis.define,t=coreApis.componentApis.styledComponent,o=coreApis.utils.urls,r=(0,e.defineComponentMetadata)({...(0,t.toggleStyle)("removeLiveWatermark",(()=>Promise.resolve().then(n.t.bind(n,211,23)))),displayName:"删除直播水印",tags:[componentsTags.live,componentsTags.style],description:{"zh-CN":"删除观看直播时角落的水印."},urlInclude:o.liveUrls,commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"})})(),i=i.component})()));
|
||||
2
registry/dist/components/live/showgirl.js
vendored
2
registry/dist/components/live/showgirl.js
vendored
@ -1 +1 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["live/showgirl"]=t():e["live/showgirl"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,o={356:e=>{e.exports=coreApis.style}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={exports:{}};return o[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var l=2&n&&o;"object"==typeof l&&!~e.indexOf(l);l=t(l))Object.getOwnPropertyNames(l).forEach((e=>a[e]=()=>o[e]));return a.default=()=>o,r.d(i,a),i},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{r.d(i,{component:()=>a});const e=coreApis.componentApis.define,t=coreApis.utils.urls,o="dpi-live-showgirl",n=async()=>{const{addStyle:e}=await Promise.resolve().then(r.t.bind(r,356,23));null===document.getElementById(o)&&e(`\n .haruna-ctnr,\n .avatar-btn\n {\n transform: scale(${1/window.devicePixelRatio}) !important;\n }\n `,o)},a=(0,e.defineComponentMetadata)({name:"dpiLiveShowgirl",displayName:"直播看板娘高 DPI 适配",enabledByDefault:window.devicePixelRatio>1,description:{"zh-CN":"根据屏幕 DPI 缩放直播看板娘的大小, 避免像素锯齿."},tags:[componentsTags.live,componentsTags.style],entry:n,reload:n,unload:()=>{document.getElementById(o)?.remove()},urlInclude:t.liveUrls,commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3"})})(),i=i.component})()));
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["live/showgirl"]=t():e["live/showgirl"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,o={479:e=>{e.exports=coreApis.style}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={exports:{}};return o[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var l=2&n&&o;"object"==typeof l&&!~e.indexOf(l);l=t(l))Object.getOwnPropertyNames(l).forEach((e=>a[e]=()=>o[e]));return a.default=()=>o,r.d(i,a),i},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.d(i,{component:()=>s});const a=coreApis.componentApis.define,l=coreApis.utils.urls,d="dpi-live-showgirl",c=async()=>{const{addStyle:e}=await Promise.resolve().then(r.t.bind(r,479,23));null===document.getElementById(d)&&e(`\n .haruna-ctnr,\n .avatar-btn\n {\n transform: scale(${1/window.devicePixelRatio}) !important;\n }\n `,d)},s=(0,a.defineComponentMetadata)({name:"dpiLiveShowgirl",displayName:"直播看板娘高 DPI 适配",enabledByDefault:window.devicePixelRatio>1,description:{"zh-CN":"根据屏幕 DPI 缩放直播看板娘的大小, 避免像素锯齿."},tags:[componentsTags.live,componentsTags.style],entry:c,reload:c,unload:()=>{document.getElementById(d)?.remove()},urlInclude:l.liveUrls,commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"});return i=i.component})()));
|
||||
4
registry/dist/components/live/side-bar.js
vendored
4
registry/dist/components/live/side-bar.js
vendored
@ -1,4 +1,4 @@
|
||||
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports["live/side-bar"]=r():e["live/side-bar"]=r()}(globalThis,(()=>(()=>{var e,r,t={607:(e,r,t)=>{var n=t(355)((function(e){return e[1]}));n.push([e.id,'.side-bar-cntr {\n transition: 0.24s ease-out !important;\n overflow: visible !important;\n transform: translateZ(0) translateX(100%) !important;\n}\n.side-bar-cntr:hover {\n transform: translateZ(0) !important;\n}\n.side-bar-cntr::after {\n right: calc(100% + 4px);\n transform: translateY(-50%) rotate(45deg);\n width: 8px;\n height: 8px;\n border-radius: 2px;\n box-sizing: border-box;\n border: 4px solid #aaa;\n border-top-color: transparent;\n border-right-color: transparent;\n}\nbody.dark .side-bar-cntr::after {\n border: 4px solid #eee;\n border-top-color: transparent;\n border-right-color: transparent;\n}\n.side-bar-cntr::before {\n right: calc(100% - 8px);\n transform: translateY(-50%);\n width: 32px;\n height: 48px;\n border-radius: 8px 0 0 8px;\n background-color: #fff;\n border: 1px solid #e9eaec;\n}\nbody.dark .side-bar-cntr::before {\n background-color: #222;\n border-color: transparent;\n}\n.side-bar-cntr::before, .side-bar-cntr::after {\n content: "";\n transition: 0.24s ease-out;\n cursor: pointer;\n position: fixed;\n top: 50%;\n}\n.side-bar-cntr:hover::after, .side-bar-cntr:hover::before {\n opacity: 0;\n}',""]),e.exports=n},355:e=>{"use strict";
|
||||
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports["live/side-bar"]=r():e["live/side-bar"]=r()}(globalThis,(()=>(()=>{var e,r,t={874:(e,r,t)=>{var n=t(955)((function(e){return e[1]}));n.push([e.id,'.side-bar-cntr {\n transition: 0.24s ease-out !important;\n overflow: visible !important;\n transform: translateZ(0) translateX(100%) !important;\n}\n.side-bar-cntr:hover {\n transform: translateZ(0) !important;\n}\n.side-bar-cntr::after {\n right: calc(100% + 4px);\n transform: translateY(-50%) rotate(45deg);\n width: 8px;\n height: 8px;\n border-radius: 2px;\n box-sizing: border-box;\n border: 4px solid #aaa;\n border-top-color: transparent;\n border-right-color: transparent;\n}\nbody.dark .side-bar-cntr::after {\n border: 4px solid #eee;\n border-top-color: transparent;\n border-right-color: transparent;\n}\n.side-bar-cntr::before {\n right: calc(100% - 8px);\n transform: translateY(-50%);\n width: 32px;\n height: 48px;\n border-radius: 8px 0 0 8px;\n background-color: #fff;\n border: 1px solid #e9eaec;\n}\nbody.dark .side-bar-cntr::before {\n background-color: #222;\n border-color: transparent;\n}\n.side-bar-cntr::before, .side-bar-cntr::after {\n content: "";\n transition: 0.24s ease-out;\n cursor: pointer;\n position: fixed;\n top: 50%;\n}\n.side-bar-cntr:hover::after, .side-bar-cntr:hover::before {\n opacity: 0;\n}',""]),e.exports=n},955:e=>{"use strict";
|
||||
// eslint-disable-next-line func-names
|
||||
e.exports=function(e){var r=[];return r.toString=function(){return this.map((function(r){var t=e(r);return r[2]?"@media ".concat(r[2]," {").concat(t,"}"):t})).join("")},
|
||||
// eslint-disable-next-line func-names
|
||||
@ -6,4 +6,4 @@ r.i=function(e,t,n){"string"==typeof e&&(
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
e=[[null,e,""]]);var o={};if(n)for(var a=0;a<this.length;a++){
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
var i=this[a][0];null!=i&&(o[i]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);n&&o[c[0]]||(t&&(c[2]?c[2]="".concat(t," and ").concat(c[2]):c[2]=t),r.push(c))}},r}},833:(e,r,t)=>{var n=t(607);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()}},n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var a=n[e]={id:e,exports:{}};return t[e](a,a.exports,o),a.exports}r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(t,n){if(1&n&&(t=this(t)),8&n)return t;if("object"==typeof t&&t){if(4&n&&t.__esModule)return t;if(16&n&&"function"==typeof t.then)return t}var a=Object.create(null);o.r(a);var i={};e=e||[null,r({}),r([]),r(r)];for(var s=2&n&&t;"object"==typeof s&&!~e.indexOf(s);s=r(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>t[e]));return i.default=()=>t,o.d(a,i),a},o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";o.d(a,{component:()=>t});const e=coreApis.componentApis.define,r=coreApis.utils.urls,t=(0,e.defineComponentMetadata)({name:"collapseLiveSideBar",entry:none,instantStyles:[{name:"collapseLiveSideBar",style:()=>Promise.resolve().then(o.t.bind(o,833,23))}],displayName:"自动收起直播侧栏",description:'自动收起直播间右边偏下的侧栏. (上面有个 "关注" 的面板)',tags:[componentsTags.live,componentsTags.style],urlInclude:r.liveUrls,commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3"})})(),a=a.component})()));
|
||||
var i=this[a][0];null!=i&&(o[i]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);n&&o[c[0]]||(t&&(c[2]?c[2]="".concat(t," and ").concat(c[2]):c[2]=t),r.push(c))}},r}},660:(e,r,t)=>{var n=t(874);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()}},n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var a=n[e]={id:e,exports:{}};return t[e](a,a.exports,o),a.exports}r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(t,n){if(1&n&&(t=this(t)),8&n)return t;if("object"==typeof t&&t){if(4&n&&t.__esModule)return t;if(16&n&&"function"==typeof t.then)return t}var a=Object.create(null);o.r(a);var i={};e=e||[null,r({}),r([]),r(r)];for(var s=2&n&&t;"object"==typeof s&&!~e.indexOf(s);s=r(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>t[e]));return i.default=()=>t,o.d(a,i),a},o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";o.d(a,{component:()=>t});const e=coreApis.componentApis.define,r=coreApis.utils.urls,t=(0,e.defineComponentMetadata)({name:"collapseLiveSideBar",entry:none,instantStyles:[{name:"collapseLiveSideBar",style:()=>Promise.resolve().then(o.t.bind(o,660,23))}],displayName:"自动收起直播侧栏",description:'自动收起直播间右边偏下的侧栏. (上面有个 "关注" 的面板)',tags:[componentsTags.live,componentsTags.style],urlInclude:r.liveUrls,commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"})})(),a=a.component})()));
|
||||
@ -1,9 +1,9 @@
|
||||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["style/always-show-duration"]=e():t["style/always-show-duration"]=e()}(globalThis,(()=>(()=>{var t,e,o={398:(t,e,o)=>{var r=o(355)((function(t){return t[1]}));r.push([t.id,".watchlater-card .duration,\n.time-group-item .duration,\n.favorite-card .duration,\n.video-card .duration {\n opacity: 1 !important;\n}",""]),t.exports=r},355:t=>{"use strict";
|
||||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["style/always-show-duration"]=e():t["style/always-show-duration"]=e()}(globalThis,(()=>(()=>{var t,e,o={17:(t,e,o)=>{var r=o(955)((function(t){return t[1]}));r.push([t.id,".watchlater-card .duration,\n.time-group-item .duration,\n.favorite-card .duration,\n.video-card .duration {\n opacity: 1 !important;\n}",""]),t.exports=r},955:t=>{"use strict";
|
||||
// eslint-disable-next-line func-names
|
||||
t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var o=t(e);return e[2]?"@media ".concat(e[2]," {").concat(o,"}"):o})).join("")},
|
||||
// eslint-disable-next-line func-names
|
||||
e.i=function(t,o,r){"string"==typeof t&&(
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
t=[[null,t,""]]);var n={};if(r)for(var a=0;a<this.length;a++){
|
||||
t=[[null,t,""]]);var n={};if(r)for(var i=0;i<this.length;i++){
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
var i=this[a][0];null!=i&&(n[i]=!0)}for(var c=0;c<t.length;c++){var s=[].concat(t[c]);r&&n[s[0]]||(o&&(s[2]?s[2]="".concat(o," and ").concat(s[2]):s[2]=o),e.push(s))}},e}},241:(t,e,o)=>{var r=o(398);r&&r.__esModule&&(r=r.default),t.exports="string"==typeof r?r:r.toString()}},r={};function n(t){var e=r[t];if(void 0!==e)return e.exports;var a=r[t]={id:t,exports:{}};return o[t](a,a.exports,n),a.exports}e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var a=Object.create(null);n.r(a);var i={};t=t||[null,e({}),e([]),e(e)];for(var c=2&r&&o;"object"==typeof c&&!~t.indexOf(c);c=e(c))Object.getOwnPropertyNames(c).forEach((t=>i[t]=()=>o[t]));return i.default=()=>o,n.d(a,i),a},n.d=(t,e)=>{for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var a={};return(()=>{"use strict";n.d(a,{component:()=>e});const t=coreApis.componentApis.styledComponent,e=(0,coreApis.componentApis.define.defineComponentMetadata)({...(0,t.toggleStyle)("alwaysShowDuration",(()=>Promise.resolve().then(n.t.bind(n,241,23)))),displayName:"总是显示视频时长",description:{"zh-CN":"使脚本展示的各种视频卡片中的时长无需鼠标经过也能一直显示."},tags:[componentsTags.video,componentsTags.style],commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3"})})(),a=a.component})()));
|
||||
var a=this[i][0];null!=a&&(n[a]=!0)}for(var c=0;c<t.length;c++){var s=[].concat(t[c]);r&&n[s[0]]||(o&&(s[2]?s[2]="".concat(o," and ").concat(s[2]):s[2]=o),e.push(s))}},e}},639:(t,e,o)=>{var r=o(17);r&&r.__esModule&&(r=r.default),t.exports="string"==typeof r?r:r.toString()}},r={};function n(t){var e=r[t];if(void 0!==e)return e.exports;var i=r[t]={id:t,exports:{}};return o[t](i,i.exports,n),i.exports}e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var i=Object.create(null);n.r(i);var a={};t=t||[null,e({}),e([]),e(e)];for(var c=2&r&&o;"object"==typeof c&&!~t.indexOf(c);c=e(c))Object.getOwnPropertyNames(c).forEach((t=>a[t]=()=>o[t]));return a.default=()=>o,n.d(i,a),i},n.d=(t,e)=>{for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};return(()=>{"use strict";n.d(i,{component:()=>e});const t=coreApis.componentApis.styledComponent,e=(0,coreApis.componentApis.define.defineComponentMetadata)({...(0,t.toggleStyle)("alwaysShowDuration",(()=>Promise.resolve().then(n.t.bind(n,639,23)))),displayName:"总是显示视频时长",description:{"zh-CN":"使脚本展示的各种视频卡片中的时长无需鼠标经过也能一直显示."},tags:[componentsTags.video,componentsTags.style],commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"})})(),i=i.component})()));
|
||||
@ -1,4 +1,4 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/auto-hide-sidebar"]=t():e["style/auto-hide-sidebar"]=t()}(globalThis,(()=>(()=>{var e,t,o={308:(e,t,o)=>{var n=o(355)((function(e){return e[1]}));n.push([e.id,'body .be-settings::before {\n content: "";\n position: fixed;\n width: var(--auto-hide-sidebar-width, 8px);\n height: 100vh;\n top: 0;\n left: 0;\n}\nbody .be-settings > .sidebar {\n transition: transform 0.2s ease-out;\n}\nbody .be-settings:not(:hover) > .sidebar {\n transform: translateX(calc(-100% * var(--direction))) translateY(-50%);\n}\nbody.settings-panel-dock-right .be-settings::before {\n left: unset;\n right: 0;\n}',""]),e.exports=n},355:e=>{"use strict";
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/auto-hide-sidebar"]=t():e["style/auto-hide-sidebar"]=t()}(globalThis,(()=>(()=>{var e,t,o={293:(e,t,o)=>{var n=o(955)((function(e){return e[1]}));n.push([e.id,'body .be-settings::before {\n content: "";\n position: fixed;\n width: var(--auto-hide-sidebar-width, 8px);\n height: 100vh;\n top: 0;\n left: 0;\n}\nbody .be-settings > .sidebar {\n transition: transform 0.2s ease-out;\n}\nbody .be-settings:not(:hover) > .sidebar {\n transform: translateX(calc(-100% * var(--direction))) translateY(-50%);\n}\nbody.settings-panel-dock-right .be-settings::before {\n left: unset;\n right: 0;\n}',""]),e.exports=n},955:e=>{"use strict";
|
||||
// eslint-disable-next-line func-names
|
||||
e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o=e(t);return t[2]?"@media ".concat(t[2]," {").concat(o,"}"):o})).join("")},
|
||||
// eslint-disable-next-line func-names
|
||||
@ -6,4 +6,4 @@ t.i=function(e,o,n){"string"==typeof e&&(
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
e=[[null,e,""]]);var r={};if(n)for(var i=0;i<this.length;i++){
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
var a=this[i][0];null!=a&&(r[a]=!0)}for(var s=0;s<e.length;s++){var d=[].concat(e[s]);n&&r[d[0]]||(o&&(d[2]?d[2]="".concat(o," and ").concat(d[2]):d[2]=o),t.push(d))}},t}},717:(e,t,o)=>{var n=o(308);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={id:e,exports:{}};return o[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&o;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>o[e]));return a.default=()=>o,r.d(i,a),i},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>n});const e=coreApis.componentApis.define,t=coreApis.settings,o=coreApis.utils,n=(0,e.defineComponentMetadata)({name:"autoHideSidebar",entry:()=>{(0,t.addComponentListener)("autoHideSidebar.triggerWidth",(e=>{document.documentElement.style.setProperty("--auto-hide-sidebar-width",`${e}px`)}),!0)},displayName:"自动隐藏侧栏",instantStyles:[{name:"autoHideSidebar",style:()=>Promise.resolve().then(r.t.bind(r,717,23)),important:!0}],tags:[componentsTags.style,componentsTags.general],options:{triggerWidth:{defaultValue:8,displayName:"触发区域宽度 (px)",validator:(0,o.getNumberValidator)(1,1e3)}},description:{"zh-CN":"自动隐藏脚本的侧栏 (功能和设置图标). 设置面板停靠在右侧时不建议使用, 因为网页的滚动条会占用右边缘的触发区域."},commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3"})})(),i=i.component})()));
|
||||
var a=this[i][0];null!=a&&(r[a]=!0)}for(var s=0;s<e.length;s++){var d=[].concat(e[s]);n&&r[d[0]]||(o&&(d[2]?d[2]="".concat(o," and ").concat(d[2]):d[2]=o),t.push(d))}},t}},715:(e,t,o)=>{var n=o(293);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={id:e,exports:{}};return o[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&o;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>o[e]));return a.default=()=>o,r.d(i,a),i},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>n});const e=coreApis.componentApis.define,t=coreApis.settings,o=coreApis.utils,n=(0,e.defineComponentMetadata)({name:"autoHideSidebar",entry:()=>{(0,t.addComponentListener)("autoHideSidebar.triggerWidth",(e=>{document.documentElement.style.setProperty("--auto-hide-sidebar-width",`${e}px`)}),!0)},displayName:"自动隐藏侧栏",instantStyles:[{name:"autoHideSidebar",style:()=>Promise.resolve().then(r.t.bind(r,715,23)),important:!0}],tags:[componentsTags.style,componentsTags.general],options:{triggerWidth:{defaultValue:8,displayName:"触发区域宽度 (px)",validator:(0,o.getNumberValidator)(1,1e3)}},description:{"zh-CN":"自动隐藏脚本的侧栏 (功能和设置图标). 设置面板停靠在右侧时不建议使用, 因为网页的滚动条会占用右边缘的触发区域."},commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"})})(),i=i.component})()));
|
||||
1
registry/dist/components/style/clear-home.js
vendored
Normal file
1
registry/dist/components/style/clear-home.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
!function(e,a){"object"==typeof exports&&"object"==typeof module?module.exports=a():"function"==typeof define&&define.amd?define([],a):"object"==typeof exports?exports["style/clear-home"]=a():e["style/clear-home"]=a()}(globalThis,(()=>(()=>{"use strict";var e={d:(a,l)=>{for(var t in l)e.o(l,t)&&!e.o(a,t)&&Object.defineProperty(a,t,{enumerable:!0,get:l[t]})},o:(e,a)=>Object.prototype.hasOwnProperty.call(e,a)},a={};e.d(a,{component:()=>f});const l=coreApis.componentApis.define,t=coreApis.settings,d=[];let s=!1,i=!0;const o=(0,l.defineOptionsMetadata)({广告:{displayName:"广告",defaultValue:!0},番剧:{displayName:"番剧",defaultValue:!0},电影:{displayName:"电影",defaultValue:!0},国创:{displayName:"国创",defaultValue:!0},电视剧:{displayName:"电视剧",defaultValue:!0},综艺:{displayName:"综艺",defaultValue:!0},纪录片:{displayName:"纪录片",defaultValue:!0},动画:{displayName:"动画",defaultValue:!0},游戏:{displayName:"游戏",defaultValue:!0},鬼畜:{displayName:"鬼畜",defaultValue:!0},音乐:{displayName:"音乐",defaultValue:!0},舞蹈:{displayName:"舞蹈",defaultValue:!0},影视:{displayName:"影视",defaultValue:!0},娱乐:{displayName:"娱乐",defaultValue:!0},知识:{displayName:"知识",defaultValue:!0},科技:{displayName:"科技",defaultValue:!0},资讯:{displayName:"资讯",defaultValue:!0},美食:{displayName:"美食",defaultValue:!0},生活:{displayName:"生活",defaultValue:!0},汽车:{displayName:"汽车",defaultValue:!0},时尚:{displayName:"时尚",defaultValue:!0},运动:{displayName:"运动",defaultValue:!0},动物圈:{displayName:"动物圈",defaultValue:!0},VLOG:{displayName:"VLOG",defaultValue:!0},搞笑:{displayName:"搞笑",defaultValue:!0},单机游戏:{displayName:"单机游戏",defaultValue:!0},虚拟UP主:{displayName:"虚拟UP主",defaultValue:!0},公益:{displayName:"公益",defaultValue:!0},公开课:{displayName:"公开课",defaultValue:!0},专栏:{displayName:"专栏",defaultValue:!0},直播:{displayName:"直播",defaultValue:!0},赛事:{displayName:"赛事",defaultValue:!0},活动:{displayName:"活动",defaultValue:!0},课堂:{displayName:"课堂",defaultValue:!0},社区中心:{displayName:"社区中心",defaultValue:!0},新歌热榜:{displayName:"新歌热榜",defaultValue:!0},漫画:{displayName:"漫画",defaultValue:!0}});function u(e){for(const a of e)if(a.classList)if(a.classList.contains("floor-single-card")){const e=a.querySelector(".badge").textContent;e&&d.includes(e)&&a.remove()}else a.classList.contains("bili-live-card")?s&&a.remove():(a.classList.contains("bili-video-card")||a.classList.contains("feed-card"))&&i&&(a.querySelector(".bili-video-card__info--ad")||a.querySelector(".bili-video-card__info--creative-ad"))&&a.remove()}function n(e){const a=[];for(const l of e){const e=l.target;if(!(e.classList&&e.classList.contains("carousel-transform")||"SPAN"===e.tagName)&&l.addedNodes.length>0)for(const e of l.addedNodes){const l=e;"#text"===l.nodeName||l.classList&&l.classList.contains("bili-watch-later")||a.push(l)}}a.length>0&&u(a)}const f=(0,l.defineComponentMetadata)({name:"clear-home",author:{name:"RieN7",link:"https://github.com/rien7"},tags:[componentsTags.style],displayName:"首页净化",description:"删除首页特定类型的卡片",entry:async e=>{let{metadata:a,settings:l}=e;const o=document.querySelector("main > .feed2 > .recommended-container_floor-aside > .container");if(!o)return;new MutationObserver(n).observe(o,{childList:!0}),Object.keys(l.options).forEach((e=>{(0,t.addComponentListener)(`${a.name}.${e}`,(a=>{if(a){if("广告"===e)return void(i=!0);d.push(e),"直播"===e&&(s=!0)}}),!0)}));u(o.children)},options:o,commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"});return a=a.component})()));
|
||||
12
registry/dist/components/style/custom-font-family.js
vendored
Normal file
12
registry/dist/components/style/custom-font-family.js
vendored
Normal file
File diff suppressed because one or more lines are too long
40
registry/dist/components/style/custom-navbar.js
vendored
40
registry/dist/components/style/custom-navbar.js
vendored
File diff suppressed because one or more lines are too long
4
registry/dist/components/style/dark-mode.js
vendored
4
registry/dist/components/style/dark-mode.js
vendored
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/dark-mode/follow-system"]=t():e["style/dark-mode/follow-system"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,o={986:e=>{e.exports=coreApis.settings}},i={};function r(e){var t=i[e];if(void 0!==t)return t.exports;var l=i[e]={exports:{}};return o[e](l,l.exports,r),l.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,i){if(1&i&&(o=this(o)),8&i)return o;if("object"==typeof o&&o){if(4&i&&o.__esModule)return o;if(16&i&&"function"==typeof o.then)return o}var l=Object.create(null);r.r(l);var n={};e=e||[null,t({}),t([]),t(t)];for(var c=2&i&&o;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>n[e]=()=>o[e]));return n.default=()=>o,r.d(l,n),l},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};return(()=>{r.d(l,{component:()=>o});const e=coreApis.componentApis.define,t=coreApis.lifeCycle,o=(0,e.defineComponentMetadata)({name:"darkModeFollowSystem",displayName:"夜间模式跟随系统",entry:()=>{unsafeWindow.addEventListener(t.LifeCycleEventTypes.End,(async()=>{const{getComponentSettings:e}=await Promise.resolve().then(r.t.bind(r,986,23)),t=e("darkMode"),o=matchMedia("(prefers-color-scheme: dark)"),i=e=>{e!==t.enabled&&(t.enabled=e)};i(o.matches),o.addEventListener("change",(e=>{i(e.matches)}))}))},urlExclude:["//member.bilibili.com/v2","//member.bilibili.com/platform","//member.bilibili.com/video/upload.html","//member.bilibili.com/article-text/home","//www.bilibili.com/audio/submit/","//member.bilibili.com/studio/bs-editor/projects","//www.bilibili.com/s/video/","//member.bilibili.com/platform","//live.bilibili.com/p/html/live-lottery/anchor-join.html","//account.bilibili.com/subtitle/edit/#/editor","/york/allowance-charge","//cm.bilibili.com/quests/#/task","//live.bilibili.com/activity/live-activity-full/full-next/index.html"],tags:[componentsTags.style,componentsTags.general],description:{"zh-CN":"\n使夜间模式同步系统设置的亮 / 暗主题, 请勿和 `夜间模式计划时段` 一同使用.\n\n> 注:在某些浏览器 (如 `Microsoft Edge`) 中,夜间模式仅会同步浏览器的亮 / 暗主题.\n ".trim()},commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3"})})(),l=l.component})()));
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/dark-mode/follow-system"]=t():e["style/dark-mode/follow-system"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,o={905:e=>{e.exports=coreApis.settings}},i={};function r(e){var t=i[e];if(void 0!==t)return t.exports;var l=i[e]={exports:{}};return o[e](l,l.exports,r),l.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,i){if(1&i&&(o=this(o)),8&i)return o;if("object"==typeof o&&o){if(4&i&&o.__esModule)return o;if(16&i&&"function"==typeof o.then)return o}var l=Object.create(null);r.r(l);var n={};e=e||[null,t({}),t([]),t(t)];for(var c=2&i&&o;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>n[e]=()=>o[e]));return n.default=()=>o,r.d(l,n),l},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};r.d(l,{component:()=>m});const n=coreApis.componentApis.define,c=coreApis.lifeCycle,m=(0,n.defineComponentMetadata)({name:"darkModeFollowSystem",displayName:"夜间模式跟随系统",entry:()=>{unsafeWindow.addEventListener(c.LifeCycleEventTypes.End,(async()=>{const{getComponentSettings:e}=await Promise.resolve().then(r.t.bind(r,905,23)),t=e("darkMode"),o=matchMedia("(prefers-color-scheme: dark)"),i=e=>{e!==t.enabled&&(t.enabled=e)};i(o.matches),o.addEventListener("change",(e=>{i(e.matches)}))}))},urlExclude:["//member.bilibili.com/v2","//member.bilibili.com/platform","//member.bilibili.com/video/upload.html","//member.bilibili.com/article-text/home","//www.bilibili.com/audio/submit/","//member.bilibili.com/studio/bs-editor/projects","//www.bilibili.com/s/video/","//member.bilibili.com/platform","//live.bilibili.com/p/html/live-lottery/anchor-join.html","//account.bilibili.com/subtitle/edit/#/editor","/york/allowance-charge","//cm.bilibili.com/quests/#/task","//live.bilibili.com/activity/live-activity-full/full-next/index.html","//gf.bilibili.com/","//shop.bilibili.com/"],tags:[componentsTags.style,componentsTags.general],description:{"zh-CN":"\n使夜间模式同步系统设置的亮 / 暗主题, 请勿和 `夜间模式计划时段` 一同使用.\n\n> 注:在某些浏览器 (如 `Microsoft Edge`) 中,夜间模式仅会同步浏览器的亮 / 暗主题.\n ".trim()},commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"});return l=l.component})()));
|
||||
@ -1 +1 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/dark-mode/schedule"]=t():e["style/dark-mode/schedule"]=t()}(globalThis,(()=>(()=>{"use strict";var e={d:(t,i)=>{for(var r in i)e.o(i,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:i[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};e.d(t,{component:()=>u});const i=coreApis.componentApis.define,r=coreApis.lifeCycle,o=coreApis.settings;function n(e,t,i){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var r=i.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}class s{constructor(){n(this,"hour",void 0),n(this,"minute",void 0);for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];if(0===t.length){const e=new Date;this.hour=e.getHours(),this.minute=e.getMinutes()}else if(1===t.length){const[e]=t;[this.hour,this.minute]=e.split(":").slice(0,2).map((e=>s.validatePart(e))),this.normalize()}else 2===t.length&&([this.hour,this.minute]=t)}normalize(){for(;this.minute<0;)this.minute+=60,this.hour-=1;for(;this.minute>=60;)this.minute-=60,this.hour+=1;for(;this.hour<0;)this.hour+=24;for(;this.hour>=24;)this.hour-=24}lessThan(e){return this.hour<e.hour||this.hour===e.hour&&this.minute<e.minute}greaterThan(e){return this.hour>e.hour||this.hour===e.hour&&this.minute>e.minute}equals(e){return this.hour===e.hour&&this.minute===e.minute}isInRange(e,t){if(e.equals(t))return!1;let i=this.greaterThan(e)&&this.lessThan(t);e.greaterThan(t)&&(i=this.greaterThan(e)||this.lessThan(t));return i||this.equals(e)}toString(){return`${this.hour.toString().padStart(2,"0")}:${this.minute.toString().padStart(2,"0")}`}static validatePart(e){const t=parseInt(e);return!Number.isNaN(t)&&t>=0&&t<=59?t:null}static millisecondsBefore(e){const t=new s,i=(new Date).getSeconds(),r=1e3*(3600*t.hour+60*t.minute+i);let o=1e3*(3600*e.hour+60*e.minute)-r;return(t.greaterThan(e)||t.equals(e)&&0!==i)&&(o+=864e5),o}}const l=(0,i.defineOptionsMetadata)({range:{defaultValue:{start:"18:00",end:"6:00"},displayName:"时间段",validator:e=>{const{start:t,end:i}=e,r=/^(\d{1,2}):(\d{1,2})$/;if(!r.test(t)||!r.test(i))return null;const o=new s(e.start),n=new s(e.end);return{start:o.toString(),end:n.toString()}}}}),a=e=>{const t=new s(e.options.range.start),i=new s(e.options.range.end),r=(new s).isInRange(t,i),n=(0,o.getComponentSettings)("darkMode");n.enabled!==r&&(n.enabled=r);let l=0;l=r?s.millisecondsBefore(i):s.millisecondsBefore(t),0!==l&&setTimeout((()=>a(e)),l)},u=(0,i.defineComponentMetadata)({name:"darkModeSchedule",displayName:"夜间模式计划时段",description:"设置一个使用夜间模式的时间段, 进入 / 离开此时间段时, 会自动开启 / 关闭夜间模式. 结束时间小于起始时间时将视为次日, 如 `18:00` 至 `6:00` 表示晚上 18:00 到次日 6:00. 请勿和 `夜间模式跟随系统` 一同使用.",tags:[componentsTags.style,componentsTags.general],entry:e=>{let{settings:t}=e;return(0,r.fullyLoaded)((()=>a(t)))},urlExclude:["//member.bilibili.com/v2","//member.bilibili.com/platform","//member.bilibili.com/video/upload.html","//member.bilibili.com/article-text/home","//www.bilibili.com/audio/submit/","//member.bilibili.com/studio/bs-editor/projects","//www.bilibili.com/s/video/","//member.bilibili.com/platform","//live.bilibili.com/p/html/live-lottery/anchor-join.html","//account.bilibili.com/subtitle/edit/#/editor","/york/allowance-charge","//cm.bilibili.com/quests/#/task","//live.bilibili.com/activity/live-activity-full/full-next/index.html"],options:l,commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3"});return t=t.component})()));
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/dark-mode/schedule"]=t():e["style/dark-mode/schedule"]=t()}(globalThis,(()=>(()=>{"use strict";var e={d:(t,i)=>{for(var r in i)e.o(i,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:i[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};e.d(t,{component:()=>u});const i=coreApis.componentApis.define,r=coreApis.lifeCycle,o=coreApis.settings;function n(e,t,i){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var r=i.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}class s{constructor(){n(this,"hour",void 0),n(this,"minute",void 0);for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];if(0===t.length){const e=new Date;this.hour=e.getHours(),this.minute=e.getMinutes()}else if(1===t.length){const[e]=t;[this.hour,this.minute]=e.split(":").slice(0,2).map((e=>s.validatePart(e))),this.normalize()}else 2===t.length&&([this.hour,this.minute]=t)}normalize(){for(;this.minute<0;)this.minute+=60,this.hour-=1;for(;this.minute>=60;)this.minute-=60,this.hour+=1;for(;this.hour<0;)this.hour+=24;for(;this.hour>=24;)this.hour-=24}lessThan(e){return this.hour<e.hour||this.hour===e.hour&&this.minute<e.minute}greaterThan(e){return this.hour>e.hour||this.hour===e.hour&&this.minute>e.minute}equals(e){return this.hour===e.hour&&this.minute===e.minute}isInRange(e,t){if(e.equals(t))return!1;let i=this.greaterThan(e)&&this.lessThan(t);e.greaterThan(t)&&(i=this.greaterThan(e)||this.lessThan(t));return i||this.equals(e)}toString(){return`${this.hour.toString().padStart(2,"0")}:${this.minute.toString().padStart(2,"0")}`}static validatePart(e){const t=parseInt(e);return!Number.isNaN(t)&&t>=0&&t<=59?t:null}static millisecondsBefore(e){const t=new s,i=(new Date).getSeconds(),r=1e3*(3600*t.hour+60*t.minute+i);let o=1e3*(3600*e.hour+60*e.minute)-r;return(t.greaterThan(e)||t.equals(e)&&0!==i)&&(o+=864e5),o}}const l=(0,i.defineOptionsMetadata)({range:{defaultValue:{start:"18:00",end:"6:00"},displayName:"时间段",validator:e=>{const{start:t,end:i}=e,r=/^(\d{1,2}):(\d{1,2})$/;if(!r.test(t)||!r.test(i))return null;const o=new s(e.start),n=new s(e.end);return{start:o.toString(),end:n.toString()}}}}),a=e=>{const t=new s(e.options.range.start),i=new s(e.options.range.end),r=(new s).isInRange(t,i),n=(0,o.getComponentSettings)("darkMode");n.enabled!==r&&(n.enabled=r);let l=0;l=r?s.millisecondsBefore(i):s.millisecondsBefore(t),0!==l&&setTimeout((()=>a(e)),l)},u=(0,i.defineComponentMetadata)({name:"darkModeSchedule",displayName:"夜间模式计划时段",description:"设置一个使用夜间模式的时间段, 进入 / 离开此时间段时, 会自动开启 / 关闭夜间模式. 结束时间小于起始时间时将视为次日, 如 `18:00` 至 `6:00` 表示晚上 18:00 到次日 6:00. 请勿和 `夜间模式跟随系统` 一同使用.",tags:[componentsTags.style,componentsTags.general],entry:e=>{let{settings:t}=e;return(0,r.fullyLoaded)((()=>a(t)))},urlExclude:["//member.bilibili.com/v2","//member.bilibili.com/platform","//member.bilibili.com/video/upload.html","//member.bilibili.com/article-text/home","//www.bilibili.com/audio/submit/","//member.bilibili.com/studio/bs-editor/projects","//www.bilibili.com/s/video/","//member.bilibili.com/platform","//live.bilibili.com/p/html/live-lottery/anchor-join.html","//account.bilibili.com/subtitle/edit/#/editor","/york/allowance-charge","//cm.bilibili.com/quests/#/task","//live.bilibili.com/activity/live-activity-full/full-next/index.html","//gf.bilibili.com/","//shop.bilibili.com/"],options:l,commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"});return t=t.component})()));
|
||||
@ -1,4 +1,4 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/hide/bangumi/reviews"]=t():e["style/hide/bangumi/reviews"]=t()}(globalThis,(()=>(()=>{var e,t,o={995:(e,t,o)=>{var r=o(355)((function(e){return e[1]}));r.push([e.id,"#review_module {\n display: none !important;\n}",""]),e.exports=r},355:e=>{"use strict";
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/hide/bangumi/reviews"]=t():e["style/hide/bangumi/reviews"]=t()}(globalThis,(()=>(()=>{var e,t,o={178:(e,t,o)=>{var r=o(955)((function(e){return e[1]}));r.push([e.id,"#review_module {\n display: none !important;\n}",""]),e.exports=r},955:e=>{"use strict";
|
||||
// eslint-disable-next-line func-names
|
||||
e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o=e(t);return t[2]?"@media ".concat(t[2]," {").concat(o,"}"):o})).join("")},
|
||||
// eslint-disable-next-line func-names
|
||||
@ -6,4 +6,4 @@ t.i=function(e,o,r){"string"==typeof e&&(
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
e=[[null,e,""]]);var n={};if(r)for(var i=0;i<this.length;i++){
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
var a=this[i][0];null!=a&&(n[a]=!0)}for(var c=0;c<e.length;c++){var s=[].concat(e[c]);r&&n[s[0]]||(o&&(s[2]?s[2]="".concat(o," and ").concat(s[2]):s[2]=o),t.push(s))}},t}},516:(e,t,o)=>{var r=o(995);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,exports:{}};return o[e](i,i.exports,n),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&r&&o;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>o[e]));return a.default=()=>o,n.d(i,a),i},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";n.d(i,{component:()=>r});const e=coreApis.componentApis.define,t=coreApis.componentApis.styledComponent,o=coreApis.utils.urls,r=(0,e.defineComponentMetadata)({displayName:"隐藏番剧点评",tags:[componentsTags.style],...(0,t.toggleStyle)("hideBangumiReviews",(()=>Promise.resolve().then(n.t.bind(n,516,23)))),urlInclude:o.bangumiUrls,description:{"zh-CN":"隐藏番剧播放页面里的点评板块."},commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3"})})(),i=i.component})()));
|
||||
var s=this[i][0];null!=s&&(n[s]=!0)}for(var a=0;a<e.length;a++){var c=[].concat(e[a]);r&&n[c[0]]||(o&&(c[2]?c[2]="".concat(o," and ").concat(c[2]):c[2]=o),t.push(c))}},t}},128:(e,t,o)=>{var r=o(178);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,exports:{}};return o[e](i,i.exports,n),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var i=Object.create(null);n.r(i);var s={};e=e||[null,t({}),t([]),t(t)];for(var a=2&r&&o;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>s[e]=()=>o[e]));return s.default=()=>o,n.d(i,s),i},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";n.d(i,{component:()=>r});const e=coreApis.componentApis.define,t=coreApis.componentApis.styledComponent,o=coreApis.utils.urls,r=(0,e.defineComponentMetadata)({displayName:"隐藏番剧点评",tags:[componentsTags.style],...(0,t.toggleStyle)("hideBangumiReviews",(()=>Promise.resolve().then(n.t.bind(n,128,23)))),urlInclude:o.bangumiUrls,description:{"zh-CN":"隐藏番剧播放页面里的点评板块."},commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"})})(),i=i.component})()));
|
||||
@ -1,4 +1,4 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/hide/bangumi/sponsors"]=t():e["style/hide/bangumi/sponsors"]=t()}(globalThis,(()=>(()=>{var e,t,o={893:(e,t,o)=>{var n=o(355)((function(e){return e[1]}));n.push([e.id,"#sponsor_module, #paybar_module {\n display: none !important;\n}",""]),e.exports=n},355:e=>{"use strict";
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/hide/bangumi/sponsors"]=t():e["style/hide/bangumi/sponsors"]=t()}(globalThis,(()=>(()=>{var e,t,o={714:(e,t,o)=>{var n=o(955)((function(e){return e[1]}));n.push([e.id,"#sponsor_module, #paybar_module {\n display: none !important;\n}",""]),e.exports=n},955:e=>{"use strict";
|
||||
// eslint-disable-next-line func-names
|
||||
e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o=e(t);return t[2]?"@media ".concat(t[2]," {").concat(o,"}"):o})).join("")},
|
||||
// eslint-disable-next-line func-names
|
||||
@ -6,4 +6,4 @@ t.i=function(e,o,n){"string"==typeof e&&(
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
e=[[null,e,""]]);var r={};if(n)for(var i=0;i<this.length;i++){
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
var s=this[i][0];null!=s&&(r[s]=!0)}for(var a=0;a<e.length;a++){var c=[].concat(e[a]);n&&r[c[0]]||(o&&(c[2]?c[2]="".concat(o," and ").concat(c[2]):c[2]=o),t.push(c))}},t}},424:(e,t,o)=>{var n=o(893);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={id:e,exports:{}};return o[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var s={};e=e||[null,t({}),t([]),t(t)];for(var a=2&n&&o;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>s[e]=()=>o[e]));return s.default=()=>o,r.d(i,s),i},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>n});const e=coreApis.componentApis.define,t=coreApis.componentApis.styledComponent,o=coreApis.utils.urls,n=(0,e.defineComponentMetadata)({displayName:"隐藏番剧承包",tags:[componentsTags.style],...(0,t.toggleStyle)("hideBangumiSponsors",(()=>Promise.resolve().then(r.t.bind(r,424,23)))),urlInclude:o.bangumiUrls,description:{"zh-CN":"隐藏番剧页面下方的承包榜, 以及右边的承包按钮."},commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3"})})(),i=i.component})()));
|
||||
var s=this[i][0];null!=s&&(r[s]=!0)}for(var a=0;a<e.length;a++){var p=[].concat(e[a]);n&&r[p[0]]||(o&&(p[2]?p[2]="".concat(o," and ").concat(p[2]):p[2]=o),t.push(p))}},t}},68:(e,t,o)=>{var n=o(714);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={id:e,exports:{}};return o[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var s={};e=e||[null,t({}),t([]),t(t)];for(var a=2&n&&o;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>s[e]=()=>o[e]));return s.default=()=>o,r.d(i,s),i},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>n});const e=coreApis.componentApis.define,t=coreApis.componentApis.styledComponent,o=coreApis.utils.urls,n=(0,e.defineComponentMetadata)({displayName:"隐藏番剧承包",tags:[componentsTags.style],...(0,t.toggleStyle)("hideBangumiSponsors",(()=>Promise.resolve().then(r.t.bind(r,68,23)))),urlInclude:o.bangumiUrls,description:{"zh-CN":"隐藏番剧页面下方的承包榜, 以及右边的承包按钮."},commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"})})(),i=i.component})()));
|
||||
@ -1,4 +1,4 @@
|
||||
!function(n,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["style/hide/banner"]=e():n["style/hide/banner"]=e()}(globalThis,(()=>(()=>{var n,e,t={535:(n,e,t)=>{var r=t(355)((function(n){return n[1]}));r.push([n.id,"#banner_link,\n.z-top-container.has-banner > .header,\n.custom-navbar .blur-layer,\n.bili-header__banner {\n display: none !important;\n}\n\n#biliMainHeader {\n min-height: unset !important;\n}\n\n.bili-header {\n padding-top: 50px !important;\n min-height: 0 !important;\n}\n\ndiv.blur-bg,\n.b-header-mask-wrp .b-header-mask-bg {\n opacity: 0 !important;\n}\n\n.international-header .bili-banner,\n.international-home .bili-banner {\n visibility: hidden !important;\n height: 50px !important;\n min-height: unset !important;\n}\n\n.nav-link .nav-link-ul .nav-link-item .link,\n.nav-user-center .user-con .item .name {\n color: black !important;\n text-shadow: none !important;\n}\nbody.dark .nav-link .nav-link-ul .nav-link-item .link,\nbody.dark .nav-user-center .user-con .item .name {\n color: #eee !important;\n}",""]),n.exports=r},355:n=>{"use strict";
|
||||
!function(n,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["style/hide/banner"]=e():n["style/hide/banner"]=e()}(globalThis,(()=>(()=>{var n,e,t={232:(n,e,t)=>{var r=t(955)((function(n){return n[1]}));r.push([n.id,"#banner_link,\n.z-top-container.has-banner > .header,\n.custom-navbar .blur-layer,\n.bili-header__banner {\n display: none !important;\n}\n\n#biliMainHeader {\n min-height: unset !important;\n}\n\n.header-v3 .z-top-container {\n min-height: 160px !important;\n}\n\n.bili-header {\n padding-top: 50px !important;\n min-height: 0 !important;\n}\n\ndiv.blur-bg,\n.b-header-mask-wrp .b-header-mask-bg {\n opacity: 0 !important;\n}\n\n.international-header .bili-banner,\n.international-home .bili-banner {\n visibility: hidden !important;\n height: 50px !important;\n min-height: unset !important;\n}\n\n.nav-link .nav-link-ul .nav-link-item .link,\n.nav-user-center .user-con .item .name {\n color: black !important;\n text-shadow: none !important;\n}\nbody.dark .nav-link .nav-link-ul .nav-link-item .link,\nbody.dark .nav-user-center .user-con .item .name {\n color: #eee !important;\n}",""]),n.exports=r},955:n=>{"use strict";
|
||||
// eslint-disable-next-line func-names
|
||||
n.exports=function(n){var e=[];return e.toString=function(){return this.map((function(e){var t=n(e);return e[2]?"@media ".concat(e[2]," {").concat(t,"}"):t})).join("")},
|
||||
// eslint-disable-next-line func-names
|
||||
@ -6,4 +6,4 @@ e.i=function(n,t,r){"string"==typeof n&&(
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
n=[[null,n,""]]);var o={};if(r)for(var i=0;i<this.length;i++){
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
var a=this[i][0];null!=a&&(o[a]=!0)}for(var l=0;l<n.length;l++){var s=[].concat(n[l]);r&&o[s[0]]||(t&&(s[2]?s[2]="".concat(t," and ").concat(s[2]):s[2]=t),e.push(s))}},e}},754:(n,e,t)=>{var r=t(535);r&&r.__esModule&&(r=r.default),n.exports="string"==typeof r?r:r.toString()}},r={};function o(n){var e=r[n];if(void 0!==e)return e.exports;var i=r[n]={id:n,exports:{}};return t[n](i,i.exports,o),i.exports}e=Object.getPrototypeOf?n=>Object.getPrototypeOf(n):n=>n.__proto__,o.t=function(t,r){if(1&r&&(t=this(t)),8&r)return t;if("object"==typeof t&&t){if(4&r&&t.__esModule)return t;if(16&r&&"function"==typeof t.then)return t}var i=Object.create(null);o.r(i);var a={};n=n||[null,e({}),e([]),e(e)];for(var l=2&r&&t;"object"==typeof l&&!~n.indexOf(l);l=e(l))Object.getOwnPropertyNames(l).forEach((n=>a[n]=()=>t[n]));return a.default=()=>t,o.d(i,a),i},o.d=(n,e)=>{for(var t in e)o.o(e,t)&&!o.o(n,t)&&Object.defineProperty(n,t,{enumerable:!0,get:e[t]})},o.o=(n,e)=>Object.prototype.hasOwnProperty.call(n,e),o.r=n=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>t});const n=coreApis.componentApis.define,e=coreApis.utils.urls,t=(0,n.defineComponentMetadata)({name:"hideBanner",entry:none,displayName:"隐藏顶部横幅",instantStyles:[{name:"hideBanner",style:()=>Promise.resolve().then(o.t.bind(o,754,23))}],tags:[componentsTags.style],description:{"zh-CN":"隐藏首页顶部横幅."},urlInclude:e.mainSiteUrls,commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3"})})(),i=i.component})()));
|
||||
var a=this[i][0];null!=a&&(o[a]=!0)}for(var l=0;l<n.length;l++){var p=[].concat(n[l]);r&&o[p[0]]||(t&&(p[2]?p[2]="".concat(t," and ").concat(p[2]):p[2]=t),e.push(p))}},e}},982:(n,e,t)=>{var r=t(232);r&&r.__esModule&&(r=r.default),n.exports="string"==typeof r?r:r.toString()}},r={};function o(n){var e=r[n];if(void 0!==e)return e.exports;var i=r[n]={id:n,exports:{}};return t[n](i,i.exports,o),i.exports}e=Object.getPrototypeOf?n=>Object.getPrototypeOf(n):n=>n.__proto__,o.t=function(t,r){if(1&r&&(t=this(t)),8&r)return t;if("object"==typeof t&&t){if(4&r&&t.__esModule)return t;if(16&r&&"function"==typeof t.then)return t}var i=Object.create(null);o.r(i);var a={};n=n||[null,e({}),e([]),e(e)];for(var l=2&r&&t;"object"==typeof l&&!~n.indexOf(l);l=e(l))Object.getOwnPropertyNames(l).forEach((n=>a[n]=()=>t[n]));return a.default=()=>t,o.d(i,a),i},o.d=(n,e)=>{for(var t in e)o.o(e,t)&&!o.o(n,t)&&Object.defineProperty(n,t,{enumerable:!0,get:e[t]})},o.o=(n,e)=>Object.prototype.hasOwnProperty.call(n,e),o.r=n=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>t});const n=coreApis.componentApis.define,e=coreApis.utils.urls,t=(0,n.defineComponentMetadata)({name:"hideBanner",entry:none,displayName:"隐藏顶部横幅",instantStyles:[{name:"hideBanner",style:()=>Promise.resolve().then(o.t.bind(o,982,23))}],tags:[componentsTags.style],description:{"zh-CN":"隐藏首页顶部横幅."},urlInclude:e.mainSiteUrls,commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"})})(),i=i.component})()));
|
||||
9
registry/dist/components/style/hide/home-carousel.js
vendored
Normal file
9
registry/dist/components/style/hide/home-carousel.js
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/hide/home-carousel"]=t():e["style/hide/home-carousel"]=t()}(globalThis,(()=>(()=>{var e,t,o={727:(e,t,o)=>{var n=o(955)((function(e){return e[1]}));n.push([e.id,".hideHomeCarousel-switch-full .recommended-swipe {\n display: none !important;\n}\n.hideHomeCarousel-switch-transparent .recommended-swipe {\n opacity: 0;\n pointer-events: none;\n}\n.hideHomeCarousel-switch-picture .vui_carousel__slide {\n display: none !important;\n}\n.hideHomeCarousel-switch-footerText .carousel-footer-text {\n display: none !important;\n}\n\n.vui_carousel__slide {\n filter: blur(var(--blur-amount, 0px));\n}",""]),e.exports=n},955:e=>{"use strict";
|
||||
// eslint-disable-next-line func-names
|
||||
e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o=e(t);return t[2]?"@media ".concat(t[2]," {").concat(o,"}"):o})).join("")},
|
||||
// eslint-disable-next-line func-names
|
||||
t.i=function(e,o,n){"string"==typeof e&&(
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
e=[[null,e,""]]);var r={};if(n)for(var s=0;s<this.length;s++){
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
var i=this[s][0];null!=i&&(r[i]=!0)}for(var a=0;a<e.length;a++){var l=[].concat(e[a]);n&&r[l[0]]||(o&&(l[2]?l[2]="".concat(o," and ").concat(l[2]):l[2]=o),t.push(l))}},t}},781:(e,t,o)=>{var n=o(727);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()},353:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=353,e.exports=t},950:e=>{"use strict";e.exports="隐藏首页的轮播图区域\n\n选项说明:\n\n- `禁用轮播`:禁用图片轮播,可以手动切换\n- `图片模糊`:模糊轮播图片,为0时不模糊\n- `样式开关`:\n - `隐藏轮播区域占位`:完全隐藏整个轮播区域\n - `透明化轮播区域`:完全透明化整个轮播区域,同时禁止点击打开链接\n - `隐藏轮播图片`:隐藏轮播图片,同时禁止点击图片打开链接\n - `隐藏图片标题`:隐藏图片标题,同时禁止点击标题打开链接\n\n > 注:样式开关可以同时启用,但是最终显示效果以作用范围大的为准 \n > 例如启用 `隐藏轮播区域占位`,由于整个区域都被隐藏,不管 `隐藏轮播图片`、`隐藏图片标题` 等选项是否启用都已经看不见了\n"}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var s=n[e]={id:e,exports:{}};return o[e](s,s.exports,r),s.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var s=Object.create(null);r.r(s);var i={};e=e||[null,t({}),t([]),t(t)];for(var a=2&n&&o;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>i[e]=()=>o[e]));return i.default=()=>o,r.d(s,i),s},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};return(()=>{"use strict";r.d(s,{component:()=>a});const e=coreApis.componentApis.switchOptions,t=coreApis.settings,o=coreApis.spinQuery,n=(0,coreApis.utils.log.useScopedConsole)("hideHomeCarousel"),i=e=>{e.stopPropagation()},a=(0,e.wrapSwitchOptions)({name:"hideHomeCarouselOptions",switches:{full:{displayName:"隐藏轮播区域占位",defaultValue:!0},transparent:{displayName:"透明化轮播区域",defaultValue:!1},picture:{displayName:"隐藏轮播图片",defaultValue:!1},footerText:{displayName:"隐藏图片标题",defaultValue:!1}}})({name:"hideHomeCarousel",displayName:"隐藏首页轮播图",entry:async e=>{let{metadata:r}=e;(0,t.addComponentListener)(`${r.name}.disableCarousel`,(async e=>{const t=await(0,o.select)(".vui_carousel");if(t)if(e){t.addEventListener("mouseleave",i,!0);const e=new MouseEvent("mouseenter");t.dispatchEvent(e)}else{t.removeEventListener("mouseleave",i,!0);const e=new MouseEvent("mouseleave");t.dispatchEvent(e)}else n.error("找不到轮播容器节点")}),!0),(0,t.addComponentListener)(`${r.name}.blur`,(async e=>{const t=await(0,o.selectAll)(".vui_carousel__slide");t&&0!==t.length?t.forEach((t=>{t.style.setProperty("--blur-amount",`${e}px`)})):n.error("找不到轮播图片节点")}),!0)},tags:[componentsTags.style],urlInclude:[/^https:\/\/www\.bilibili\.com\/$/,/^https:\/\/www\.bilibili\.com\/index\.html$/],instantStyles:[{name:"hide-home-carousel",style:()=>Promise.resolve().then(r.t.bind(r,781,23))}],options:{disableCarousel:{displayName:"禁用轮播",defaultValue:!1},blur:{displayName:"图片模糊",defaultValue:0,slider:{min:0,max:100,step:1}}},commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4",description:(()=>{const e=r(353);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,950,17)).then((e=>e.default))}})()})})(),s=s.component})()));
|
||||
@ -1,4 +1,4 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/hide/trending-search"]=t():e["style/hide/trending-search"]=t()}(globalThis,(()=>(()=>{var e,t,n={134:(e,t,n)=>{var r=n(355)((function(e){return e[1]}));r.push([e.id,".search-panel > .trending {\n display: none !important;\n}",""]),e.exports=r},355:e=>{"use strict";
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/hide/trending-search"]=t():e["style/hide/trending-search"]=t()}(globalThis,(()=>(()=>{var e,t,n={95:(e,t,n)=>{var r=n(955)((function(e){return e[1]}));r.push([e.id,'@charset "UTF-8";\n.search-panel > .trending, .search-pannel > .trending {\n display: none !important;\n}\n.search-panel:not(:has(.history)), .search-pannel:not(:has(.history)) {\n padding: 0 !important;\n border: none !important;\n}\n\n#nav-searchform.is-focus {\n /* 搜索框 focusing 且有关键字列表 or 历史记录列表时不显示低边框*/\n}\n#nav-searchform.is-focus:not(:has(+ .search-panel > .suggestions), :has(+ .search-panel > .history)) {\n border-radius: 8px !important;\n}',""]),e.exports=r},955:e=>{"use strict";
|
||||
// eslint-disable-next-line func-names
|
||||
e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},
|
||||
// eslint-disable-next-line func-names
|
||||
@ -6,4 +6,4 @@ t.i=function(e,n,r){"string"==typeof e&&(
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
var a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);r&&o[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},315:(e,t,n)=>{var r=n(134);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()},909:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=909,e.exports=t},643:e=>{"use strict";e.exports="隐藏搜索栏和搜索页面中的 `bilibili 热搜`. 请注意这只是视觉上的隐藏, 如果不输入任何关键词就点 Enter 或搜索按钮, 仍然会跳转至推荐的热搜词."}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,exports:{}};return n[e](i,i.exports,o),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);o.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,o.d(i,a),i},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>n});const e=coreApis.componentApis.define,t=coreApis.observer,n=(0,e.defineComponentMetadata)({name:"hideTrendingSearch",displayName:"隐藏热搜",tags:[componentsTags.style],instantStyles:[{name:"hideTrendingSearch",style:()=>Promise.resolve().then(o.t.bind(o,315,23))}],entry:async()=>{(0,t.allMutations)((e=>{e.forEach((e=>{e.target instanceof HTMLInputElement&&e.target.classList.contains("nav-search-input")&&"搜索"!==e.target.placeholder&&(e.target.placeholder="搜索")}))}))},commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3",description:(()=>{const e=o(909);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,643,17)).then((e=>e.default))}})()})})(),i=i.component})()));
|
||||
var a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);r&&o[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},65:(e,t,n)=>{var r=n(95);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()},129:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=129,e.exports=t},278:e=>{"use strict";e.exports="隐藏搜索栏和搜索页面中的 `bilibili 热搜`. 请注意这只是视觉上的隐藏, 如果不输入任何关键词就点 Enter 或搜索按钮, 仍然会跳转至推荐的热搜词."}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,exports:{}};return n[e](i,i.exports,o),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);o.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,o.d(i,a),i},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>c});const e=coreApis.componentApis.define,t=coreApis.observer,n=coreApis.spinQuery,r="搜索",a=e=>{e.placeholder=r,e.title=r},s=()=>"live.bilibili.com"===window.location.host?"input.nav-search-content":"input.nav-search-input",c=(0,e.defineComponentMetadata)({name:"hideTrendingSearch",displayName:"隐藏热搜",tags:[componentsTags.style],instantStyles:[{name:"hideTrendingSearch",style:()=>Promise.resolve().then(o.t.bind(o,65,23))}],entry:async()=>{const e=s(),o=await(0,n.select)(e,{queryInterval:500});o?a(o):(0,t.allMutations)((e=>{e.forEach((e=>{(e=>{if(!(e instanceof HTMLInputElement))return!1;const t=["nav-search-content","nav-search-input"].some((t=>e.classList.contains(t)));return e.placeholder!==r&&t})(e.target)&&a(e.target)}))}))},commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4",description:(()=>{const e=o(129);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,278,17)).then((e=>e.default))}})()})})(),i=i.component})()));
|
||||
@ -1,4 +1,4 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/hide/user-card"]=t():e["style/hide/user-card"]=t()}(globalThis,(()=>(()=>{var e,t,o={110:(e,t,o)=>{var r=o(355)((function(e){return e[1]}));r.push([e.id,".user-card,\n.user-card-m-exp,\n.bili-user-profile {\n display: none !important;\n}",""]),e.exports=r},355:e=>{"use strict";
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/hide/user-card"]=t():e["style/hide/user-card"]=t()}(globalThis,(()=>(()=>{var e,t,o={161:(e,t,o)=>{var r=o(955)((function(e){return e[1]}));r.push([e.id,".user-card,\n.user-card-m-exp,\n.bili-user-profile,\nbili-user-profile {\n display: none !important;\n}",""]),e.exports=r},955:e=>{"use strict";
|
||||
// eslint-disable-next-line func-names
|
||||
e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o=e(t);return t[2]?"@media ".concat(t[2]," {").concat(o,"}"):o})).join("")},
|
||||
// eslint-disable-next-line func-names
|
||||
@ -6,4 +6,4 @@ t.i=function(e,o,r){"string"==typeof e&&(
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
e=[[null,e,""]]);var n={};if(r)for(var i=0;i<this.length;i++){
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
var a=this[i][0];null!=a&&(n[a]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);r&&n[c[0]]||(o&&(c[2]?c[2]="".concat(o," and ").concat(c[2]):c[2]=o),t.push(c))}},t}},100:(e,t,o)=>{var r=o(110);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,exports:{}};return o[e](i,i.exports,n),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&o;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>o[e]));return a.default=()=>o,n.d(i,a),i},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";n.d(i,{component:()=>o});const e=coreApis.componentApis.define,t=coreApis.componentApis.styledComponent,o=(0,e.defineComponentMetadata)({displayName:"隐藏用户信息卡片",description:{"zh-CN":"隐藏鼠标指向用户名或用户头像时弹出的浮动用户信息卡片"},author:{name:"WakelessSloth56",link:"https://github.com/WakelessSloth56"},tags:[componentsTags.style],...(0,t.toggleStyle)("hideUserCard",(()=>Promise.resolve().then(n.t.bind(n,100,23)))),commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3"})})(),i=i.component})()));
|
||||
var s=this[i][0];null!=s&&(n[s]=!0)}for(var a=0;a<e.length;a++){var c=[].concat(e[a]);r&&n[c[0]]||(o&&(c[2]?c[2]="".concat(o," and ").concat(c[2]):c[2]=o),t.push(c))}},t}},723:(e,t,o)=>{var r=o(161);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,exports:{}};return o[e](i,i.exports,n),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var i=Object.create(null);n.r(i);var s={};e=e||[null,t({}),t([]),t(t)];for(var a=2&r&&o;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>s[e]=()=>o[e]));return s.default=()=>o,n.d(i,s),i},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";n.d(i,{component:()=>o});const e=coreApis.componentApis.define,t=coreApis.componentApis.styledComponent,o=(0,e.defineComponentMetadata)({displayName:"隐藏用户信息卡片",description:{"zh-CN":"隐藏鼠标指向用户名或用户头像时弹出的浮动用户信息卡片"},author:{name:"WakelessSloth56",link:"https://github.com/WakelessSloth56"},tags:[componentsTags.style],...(0,t.toggleStyle)("hideUserCard",(()=>Promise.resolve().then(n.t.bind(n,723,23)))),commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"})})(),i=i.component})()));
|
||||
9
registry/dist/components/style/hide/user-pendent.js
vendored
Normal file
9
registry/dist/components/style/hide/user-pendent.js
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/hide/user-pendent"]=t():e["style/hide/user-pendent"]=t()}(globalThis,(()=>(()=>{var e,t,n={416:(e,t,n)=>{var r=n(955)((function(e){return e[1]}));r.push([e.id,':host(bili-avatar) {\n container-type: size;\n container-name: avatar;\n}\n:host(bili-avatar) .layer:not(:first-child),\n:host(bili-avatar) .layer:not(:has(picture [src*="/face/"]), :has([style*="/face/"])) {\n display: none;\n}\n:host(bili-avatar) .layer:is(:has(picture [src*="/face/"]), :has([style*="/face/"])) {\n min-width: 100cqw;\n min-height: 100cqh;\n max-width: 100cqw;\n max-height: 100cqh;\n}',""]),e.exports=r},326:(e,t,n)=>{var r=n(955)((function(e){return e[1]}));r.push([e.id,".b-avatar {\n container-type: size;\n container-name: avatar;\n}\n.b-avatar__layers:not(:first-child), .b-avatar__layer:not(:first-child) {\n display: none !important;\n}\n.b-avatar__layer:first-child {\n min-width: 100cqw;\n min-height: 100cqh;\n}\n\n.up-avatar {\n container-type: size;\n container-name: avatar;\n}\n.up-avatar .bili-avatar {\n min-width: 100cqw;\n min-height: 100cqh;\n transform: none !important;\n}\n\n.bili-avatar-icon, .bili-avatar-pendent-dom {\n display: none !important;\n}",""]),e.exports=r},955:e=>{"use strict";
|
||||
// eslint-disable-next-line func-names
|
||||
e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},
|
||||
// eslint-disable-next-line func-names
|
||||
t.i=function(e,n,r){"string"==typeof e&&(
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
e=[[null,e,""]]);var o={};if(r)for(var a=0;a<this.length;a++){
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
var i=this[a][0];null!=i&&(o[i]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);r&&o[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},762:(e,t,n)=>{var r=n(416);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()},35:(e,t,n)=>{var r=n(326);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()},945:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=945,e.exports=t},838:e=>{"use strict";e.exports="隐藏页面中用户的头像框 (包括角标), 目前支持动态和视频页面.\n"}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var a=r[e]={id:e,exports:{}};return n[e](a,a.exports,o),a.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var a=Object.create(null);o.r(a);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>n[e]));return i.default=()=>n,o.d(a,i),a},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";o.d(a,{component:()=>e});const e=(0,coreApis.componentApis.define.defineComponentMetadata)({name:"hideUserPendent",displayName:"隐藏头像框",entry:none,tags:[componentsTags.style],instantStyles:[{name:"hide-user-pendent",style:()=>Promise.resolve().then(o.t.bind(o,35,23))},{name:"hide-user-pendent",style:()=>Promise.resolve().then(o.t.bind(o,762,23)),shadowDom:!0}],commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4",description:(()=>{const e=o(945);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,838,17)).then((e=>e.default))}})()})})(),a=a.component})()));
|
||||
9
registry/dist/components/style/hide/video/notes.js
vendored
Normal file
9
registry/dist/components/style/hide/video/notes.js
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/hide/video/notes"]=t():e["style/hide/video/notes"]=t()}(globalThis,(()=>(()=>{var e,t,o={422:(e,t,o)=>{var n=o(955)((function(e){return e[1]}));n.push([e.id,".video-toolbar-container .video-note .video-note-inner {\n display: none !important;\n}",""]),e.exports=n},955:e=>{"use strict";
|
||||
// eslint-disable-next-line func-names
|
||||
e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o=e(t);return t[2]?"@media ".concat(t[2]," {").concat(o,"}"):o})).join("")},
|
||||
// eslint-disable-next-line func-names
|
||||
t.i=function(e,o,n){"string"==typeof e&&(
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
e=[[null,e,""]]);var r={};if(n)for(var i=0;i<this.length;i++){
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
var s=this[i][0];null!=s&&(r[s]=!0)}for(var a=0;a<e.length;a++){var c=[].concat(e[a]);n&&r[c[0]]||(o&&(c[2]?c[2]="".concat(o," and ").concat(c[2]):c[2]=o),t.push(c))}},t}},360:(e,t,o)=>{var n=o(422);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()},644:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=644,e.exports=t},263:e=>{"use strict";e.exports='隐藏视频页面中的 "记笔记" 按钮.\n'}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={id:e,exports:{}};return o[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var s={};e=e||[null,t({}),t([]),t(t)];for(var a=2&n&&o;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>s[e]=()=>o[e]));return s.default=()=>o,r.d(i,s),i},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>t});const e="hideVideoNotes",t=(0,coreApis.componentApis.define.defineComponentMetadata)({name:e,displayName:"隐藏记笔记",tags:[componentsTags.video,componentsTags.style],entry:none,instantStyles:[{name:e,style:()=>Promise.resolve().then(r.t.bind(r,360,23))}],commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4",description:(()=>{const e=r(644);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,263,17)).then((e=>e.default))}})()})})(),i=i.component})()));
|
||||
@ -1,4 +1,4 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/hide/video/recommended-live"]=t():e["style/hide/video/recommended-live"]=t()}(globalThis,(()=>(()=>{var e,t,o={234:(e,t,o)=>{var n=o(355)((function(e){return e[1]}));n.push([e.id,"#live_recommand_report,\n#live_recommend_report,\n.video-container-v1 .pop-live-small-mode {\n display: none !important;\n}",""]),e.exports=n},355:e=>{"use strict";
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/hide/video/recommended-live"]=t():e["style/hide/video/recommended-live"]=t()}(globalThis,(()=>(()=>{var e,t,o={693:(e,t,o)=>{var n=o(955)((function(e){return e[1]}));n.push([e.id,"#live_recommand_report,\n#live_recommend_report,\n.video-container-v1 .pop-live-small-mode {\n display: none !important;\n}",""]),e.exports=n},955:e=>{"use strict";
|
||||
// eslint-disable-next-line func-names
|
||||
e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o=e(t);return t[2]?"@media ".concat(t[2]," {").concat(o,"}"):o})).join("")},
|
||||
// eslint-disable-next-line func-names
|
||||
@ -6,4 +6,4 @@ t.i=function(e,o,n){"string"==typeof e&&(
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
e=[[null,e,""]]);var r={};if(n)for(var i=0;i<this.length;i++){
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
var c=this[i][0];null!=c&&(r[c]=!0)}for(var a=0;a<e.length;a++){var d=[].concat(e[a]);n&&r[d[0]]||(o&&(d[2]?d[2]="".concat(o," and ").concat(d[2]):d[2]=o),t.push(d))}},t}},155:(e,t,o)=>{var n=o(234);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={id:e,exports:{}};return o[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var c={};e=e||[null,t({}),t([]),t(t)];for(var a=2&n&&o;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>c[e]=()=>o[e]));return c.default=()=>o,r.d(i,c),i},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>o});const e=coreApis.componentApis.define,t=coreApis.utils.urls,o=(0,e.defineComponentMetadata)({name:"hideRecommendedLive",entry:none,instantStyles:[{name:"hideRecommendedLive",style:()=>Promise.resolve().then(r.t.bind(r,155,23))}],displayName:"隐藏直播推荐",tags:[componentsTags.style,componentsTags.video],description:{"zh-CN":"隐藏视频页面右侧下方的直播推荐."},urlInclude:t.videoUrls,commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3"})})(),i=i.component})()));
|
||||
var c=this[i][0];null!=c&&(r[c]=!0)}for(var d=0;d<e.length;d++){var a=[].concat(e[d]);n&&r[a[0]]||(o&&(a[2]?a[2]="".concat(o," and ").concat(a[2]):a[2]=o),t.push(a))}},t}},67:(e,t,o)=>{var n=o(693);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={id:e,exports:{}};return o[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var c={};e=e||[null,t({}),t([]),t(t)];for(var d=2&n&&o;"object"==typeof d&&!~e.indexOf(d);d=t(d))Object.getOwnPropertyNames(d).forEach((e=>c[e]=()=>o[e]));return c.default=()=>o,r.d(i,c),i},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>o});const e=coreApis.componentApis.define,t=coreApis.utils.urls,o=(0,e.defineComponentMetadata)({name:"hideRecommendedLive",entry:none,instantStyles:[{name:"hideRecommendedLive",style:()=>Promise.resolve().then(r.t.bind(r,67,23))}],displayName:"隐藏直播推荐",tags:[componentsTags.style,componentsTags.video],description:{"zh-CN":"隐藏视频页面右侧下方的直播推荐."},urlInclude:t.videoUrls,commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"})})(),i=i.component})()));
|
||||
@ -1,4 +1,4 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/hide/video/related-videos"]=t():e["style/hide/video/related-videos"]=t()}(globalThis,(()=>(()=>{var e,t,n={225:(e,t,n)=>{var o=n(355)((function(e){return e[1]}));o.push([e.id,"#recom_module,\n#reco_list,\n.bilibili-player-ending-panel-box-videos,\n.r-con .rcmd-list {\n display: none !important;\n}\n\n.bilibili-player-ending-panel-box-functions .bilibili-player-upinfo-spans {\n position: static !important;\n}\n\n.bilibili-player-ending-panel-box {\n display: flex !important;\n justify-content: center !important;\n flex-direction: column !important;\n}",""]),e.exports=o},355:e=>{"use strict";
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/hide/video/related-videos"]=t():e["style/hide/video/related-videos"]=t()}(globalThis,(()=>(()=>{var e,t,n={672:(e,t,n)=>{var o=n(955)((function(e){return e[1]}));o.push([e.id,"#recom_module,\n#reco_list,\n.bilibili-player-ending-panel-box-videos,\n.r-con .rcmd-list,\n.playlist-container .recommend-list-container,\n.bpx-player-ending-related,\n.plp-r [class*=recommend_wrap],\n.video-container-v1 .recommend-list-v1 {\n display: none !important;\n}\n\n.bilibili-player-ending-panel-box-functions .bilibili-player-upinfo-spans {\n position: static !important;\n}\n\n.bilibili-player-ending-panel-box,\n.bpx-player-ending-content {\n display: flex !important;\n justify-content: center !important;\n flex-direction: column !important;\n}",""]),e.exports=o},955:e=>{"use strict";
|
||||
// eslint-disable-next-line func-names
|
||||
e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},
|
||||
// eslint-disable-next-line func-names
|
||||
@ -6,4 +6,4 @@ t.i=function(e,n,o){"string"==typeof e&&(
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
e=[[null,e,""]]);var r={};if(o)for(var i=0;i<this.length;i++){
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
var a=this[i][0];null!=a&&(r[a]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);o&&r[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},202:(e,t,n)=>{var o=n(225);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()}},o={};function r(e){var t=o[e];if(void 0!==t)return t.exports;var i=o[e]={id:e,exports:{}};return n[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var i=Object.create(null);r.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&o&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,r.d(i,a),i},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>n});const e=coreApis.componentApis.define,t=coreApis.utils.urls,n=(0,e.defineComponentMetadata)({name:"hideRelatedVideos",displayName:"隐藏视频推荐",entry:none,instantStyles:[{name:"hideRelatedVideos",style:()=>Promise.resolve().then(r.t.bind(r,202,23))}],tags:[componentsTags.style,componentsTags.video],description:{"zh-CN":"隐藏番剧和视频页面右侧的推荐视频列表. 注意: 如果你想关闭 b 站的自动连播 (自动播放下一个推荐视频) 功能, 需要先取消隐藏视频推荐才能看到开关."},urlInclude:t.videoAndBangumiUrls,commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3"})})(),i=i.component})()));
|
||||
var a=this[i][0];null!=a&&(r[a]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);o&&r[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},586:(e,t,n)=>{var o=n(672);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()},607:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=607,e.exports=t},500:e=>{"use strict";e.exports="隐藏番剧和视频页面右侧的推荐视频列表. 注意: 如果你想关闭 b 站的自动连播 (自动播放下一个推荐视频) 功能, 需要先取消隐藏视频推荐才能看到开关.\n"}},o={};function r(e){var t=o[e];if(void 0!==t)return t.exports;var i=o[e]={id:e,exports:{}};return n[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var i=Object.create(null);r.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&o&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,r.d(i,a),i},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>n});const e=coreApis.componentApis.define,t=coreApis.utils.urls,n=(0,e.defineComponentMetadata)({name:"hideRelatedVideos",displayName:"隐藏视频推荐",entry:none,instantStyles:[{name:"hideRelatedVideos",style:()=>Promise.resolve().then(r.t.bind(r,586,23))}],tags:[componentsTags.style,componentsTags.video],urlInclude:t.videoAndBangumiUrls,commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4",description:(()=>{const e=r(607);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,500,17)).then((e=>e.default))}})()})})(),i=i.component})()));
|
||||
9
registry/dist/components/style/hide/video/report.js
vendored
Normal file
9
registry/dist/components/style/hide/video/report.js
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/hide/video/report"]=t():e["style/hide/video/report"]=t()}(globalThis,(()=>(()=>{var e,t,o={795:(e,t,o)=>{var n=o(955)((function(e){return e[1]}));n.push([e.id,".video-toolbar-container .video-complaint {\n display: none !important;\n}",""]),e.exports=n},955:e=>{"use strict";
|
||||
// eslint-disable-next-line func-names
|
||||
e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o=e(t);return t[2]?"@media ".concat(t[2]," {").concat(o,"}"):o})).join("")},
|
||||
// eslint-disable-next-line func-names
|
||||
t.i=function(e,o,n){"string"==typeof e&&(
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
e=[[null,e,""]]);var r={};if(n)for(var i=0;i<this.length;i++){
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
var a=this[i][0];null!=a&&(r[a]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);n&&r[c[0]]||(o&&(c[2]?c[2]="".concat(o," and ").concat(c[2]):c[2]=o),t.push(c))}},t}},857:(e,t,o)=>{var n=o(795);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()},215:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=215,e.exports=t},664:e=>{"use strict";e.exports='隐藏视频页面中的 "稿件投诉" 按钮.\n'}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={id:e,exports:{}};return o[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&o;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>o[e]));return a.default=()=>o,r.d(i,a),i},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>t});const e="hideVideoReport",t=(0,coreApis.componentApis.define.defineComponentMetadata)({name:e,displayName:"隐藏稿件投诉",tags:[componentsTags.video,componentsTags.style],entry:none,instantStyles:[{name:e,style:()=>Promise.resolve().then(r.t.bind(r,857,23))}],commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4",description:(()=>{const e=r(215);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,664,17)).then((e=>e.default))}})()})})(),i=i.component})()));
|
||||
@ -1,4 +1,4 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/hide/video/share"]=t():e["style/hide/video/share"]=t()}(globalThis,(()=>(()=>{var e,t,o={458:(e,t,o)=>{var n=o(355)((function(e){return e[1]}));n.push([e.id,".video-toolbar-v1 .share-wrap {\n display: none !important;\n}\n\n.video-toolbar-container .video-share-wrap {\n display: none !important;\n}\n\n.player-left-components [class*=toolbar_share_info] {\n display: none !important;\n}",""]),e.exports=n},355:e=>{"use strict";
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/hide/video/share"]=t():e["style/hide/video/share"]=t()}(globalThis,(()=>(()=>{var e,t,o={367:(e,t,o)=>{var n=o(955)((function(e){return e[1]}));n.push([e.id,".video-toolbar-v1 .share-wrap {\n display: none !important;\n}\n\n.video-toolbar-container .video-share-wrap {\n display: none !important;\n}\n\n.player-left-components [class*=toolbar_share_info] {\n display: none !important;\n}",""]),e.exports=n},955:e=>{"use strict";
|
||||
// eslint-disable-next-line func-names
|
||||
e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o=e(t);return t[2]?"@media ".concat(t[2]," {").concat(o,"}"):o})).join("")},
|
||||
// eslint-disable-next-line func-names
|
||||
@ -6,4 +6,4 @@ t.i=function(e,o,n){"string"==typeof e&&(
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
e=[[null,e,""]]);var r={};if(n)for(var i=0;i<this.length;i++){
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
var a=this[i][0];null!=a&&(r[a]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);n&&r[c[0]]||(o&&(c[2]?c[2]="".concat(o," and ").concat(c[2]):c[2]=o),t.push(c))}},t}},144:(e,t,o)=>{var n=o(458);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()},799:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=799,e.exports=t},9:e=>{"use strict";e.exports="隐藏视频和番剧播放器下方的分享按钮.\n"}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={id:e,exports:{}};return o[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&o;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>o[e]));return a.default=()=>o,r.d(i,a),i},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>e});const e=(0,coreApis.componentApis.define.defineComponentMetadata)({name:"hideVideoShare",displayName:"隐藏视频分享",tags:[componentsTags.style,componentsTags.video],instantStyles:[{name:"hideVideoShare",style:()=>Promise.resolve().then(r.t.bind(r,144,23))}],entry:none,commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3",description:(()=>{const e=r(799);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,9,17)).then((e=>e.default))}})()})})(),i=i.component})()));
|
||||
var a=this[i][0];null!=a&&(r[a]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);n&&r[c[0]]||(o&&(c[2]?c[2]="".concat(o," and ").concat(c[2]):c[2]=o),t.push(c))}},t}},29:(e,t,o)=>{var n=o(367);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()},534:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=534,e.exports=t},89:e=>{"use strict";e.exports="隐藏视频和番剧播放器下方的分享按钮.\n"}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={id:e,exports:{}};return o[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&o;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>o[e]));return a.default=()=>o,r.d(i,a),i},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>e});const e=(0,coreApis.componentApis.define.defineComponentMetadata)({name:"hideVideoShare",displayName:"隐藏视频分享",tags:[componentsTags.style,componentsTags.video],instantStyles:[{name:"hideVideoShare",style:()=>Promise.resolve().then(r.t.bind(r,29,23))}],entry:none,commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4",description:(()=>{const e=r(534);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,89,17)).then((e=>e.default))}})()})})(),i=i.component})()));
|
||||
@ -1,4 +1,4 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/hide/video/top-mask"]=t():e["style/hide/video/top-mask"]=t()}(globalThis,(()=>(()=>{var e,t,o={762:(e,t,o)=>{var n=o(355)((function(e){return e[1]}));n.push([e.id,".bpx-player-top-wrap,\n.bilibili-player-video-top {\n display: none !important;\n}",""]),e.exports=n},355:e=>{"use strict";
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/hide/video/top-mask"]=t():e["style/hide/video/top-mask"]=t()}(globalThis,(()=>(()=>{var e,t,o={890:(e,t,o)=>{var n=o(955)((function(e){return e[1]}));n.push([e.id,".bpx-player-top-wrap,\n.bilibili-player-video-top {\n display: none !important;\n}",""]),e.exports=n},955:e=>{"use strict";
|
||||
// eslint-disable-next-line func-names
|
||||
e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o=e(t);return t[2]?"@media ".concat(t[2]," {").concat(o,"}"):o})).join("")},
|
||||
// eslint-disable-next-line func-names
|
||||
@ -6,4 +6,4 @@ t.i=function(e,o,n){"string"==typeof e&&(
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
e=[[null,e,""]]);var r={};if(n)for(var i=0;i<this.length;i++){
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
var a=this[i][0];null!=a&&(r[a]=!0)}for(var p=0;p<e.length;p++){var s=[].concat(e[p]);n&&r[s[0]]||(o&&(s[2]?s[2]="".concat(o," and ").concat(s[2]):s[2]=o),t.push(s))}},t}},250:(e,t,o)=>{var n=o(762);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={id:e,exports:{}};return o[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var p=2&n&&o;"object"==typeof p&&!~e.indexOf(p);p=t(p))Object.getOwnPropertyNames(p).forEach((e=>a[e]=()=>o[e]));return a.default=()=>o,r.d(i,a),i},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>n});const e=coreApis.componentApis.define,t=coreApis.utils.urls,o="hideVideoTopMask",n=(0,e.defineComponentMetadata)({name:o,displayName:"隐藏视频标题层",entry:none,instantStyles:[{name:o,style:()=>Promise.resolve().then(r.t.bind(r,250,23))}],tags:[componentsTags.style,componentsTags.video],description:{"zh-CN":"隐藏视频里鼠标经过时出现在右上角的覆盖层."},urlInclude:t.playerUrls,commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3"})})(),i=i.component})()));
|
||||
var a=this[i][0];null!=a&&(r[a]=!0)}for(var p=0;p<e.length;p++){var s=[].concat(e[p]);n&&r[s[0]]||(o&&(s[2]?s[2]="".concat(o," and ").concat(s[2]):s[2]=o),t.push(s))}},t}},484:(e,t,o)=>{var n=o(890);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={id:e,exports:{}};return o[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var p=2&n&&o;"object"==typeof p&&!~e.indexOf(p);p=t(p))Object.getOwnPropertyNames(p).forEach((e=>a[e]=()=>o[e]));return a.default=()=>o,r.d(i,a),i},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>n});const e=coreApis.componentApis.define,t=coreApis.utils.urls,o="hideVideoTopMask",n=(0,e.defineComponentMetadata)({name:o,displayName:"隐藏视频标题层",entry:none,instantStyles:[{name:o,style:()=>Promise.resolve().then(r.t.bind(r,484,23))}],tags:[componentsTags.style,componentsTags.video],description:{"zh-CN":"隐藏视频里鼠标经过时出现在右上角的覆盖层."},urlInclude:t.playerUrls,commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"})})(),i=i.component})()));
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
!function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports["style/player-on-top-new"]=o():e["style/player-on-top-new"]=o()}(globalThis,(()=>(()=>{"use strict";var e={d:(o,t)=>{for(var n in t)e.o(t,n)&&!e.o(o,n)&&Object.defineProperty(o,n,{enumerable:!0,get:t[n]})},o:(e,o)=>Object.prototype.hasOwnProperty.call(e,o)},o={};e.d(o,{component:()=>p});const t=coreApis.componentApis.define,n=coreApis.utils;function r(e,o){const t=e.parentElement;t&&(t.removeChild(e),t.insertBefore(e,o.nextSibling))}const c=async()=>{await(0,n.playerReady)();r(document.querySelector("#viewbox_report"),document.querySelector("#arc_toolbar_report"));r(document.querySelector("#v_upinfo").parentElement,document.querySelector("#danmukuBox"))},p=(0,t.defineComponentMetadata)({name:"playerOnTopNew",author:{name:"RieN7",link:"https://github.com/rien7"},tags:[componentsTags.style,componentsTags.video],displayName:"播放器置顶(新)",description:"原来的播放器置顶插件,现在已经不可用了,这是一个新的版本,可以在视频页面中将播放器放在页面最上方.",entry:c,reload:c,commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3"});return o=o.component})()));
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/player-on-top-new"]=t():e["style/player-on-top-new"]=t()}(globalThis,(()=>(()=>{"use strict";var e={d:(t,n)=>{for(var o in n)e.o(n,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:n[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};e.d(t,{component:()=>s});const n=coreApis.componentApis.define,o=coreApis.settings,i=coreApis.utils,r=coreApis.utils.urls;function a(){const e=window.innerHeight,t=Math.max(document.body&&document.body.clientWidth||window.innerWidth,1100),n=innerWidth>1680?411:350,o=parseInt(String(16*(e-(window.innerWidth>1690?318:308))/9)),i=t-112-n,r=i<o?i:o;return`${Math.round((r+n)*(9/16))+(innerWidth>1680?56:46)}px`}async function p(e){let{settings:{options:t},metadata:n}=e;await(0,i.playerReady)();const r=document.querySelector("#viewbox_report"),p=document.querySelector("#playerWrap");!function(e,t){const n=e.parentElement;n&&(n.removeChild(e),n.insertBefore(e,t.nextSibling))}(r,p),p.style.marginTop=`${t.marginTop}px`,(0,o.addComponentListener)(`${n.name}.marginTop`,(e=>{p.style.marginTop=`${e}px`})),function(){const e=document.querySelector(".up-panel-container"),t=document.querySelector("#danmukuBox");let n="normal";window.addEventListener("playerModeChange",(o=>{const{mode:i}=o.detail;n=i,"wide"===i?(t.style.marginTop="0px",e.style.marginTop=a()):e.style.marginTop="0px"})),window.addEventListener("resize",(()=>{"wide"===n&&(e.style.marginTop=a())}))}()}const s=(0,n.defineComponentMetadata)({name:"playerOnTopNew",author:[{name:"RieN7",link:"https://github.com/rien7"},{name:"ZiuChen",link:"https://github.com/ZiuChen"},{name:"LockRim",link:"https://github.com/LockRim"}],tags:[componentsTags.style,componentsTags.video],options:{marginTop:{displayName:"顶部留白 (px)",defaultValue:20,validator:(0,i.getNumberValidator)(0,1/0)}},urlInclude:r.videoUrls,displayName:"播放器置顶(新)",description:"原来的播放器置顶插件,现在已经不可用了,这是一个新的版本,可以在视频页面中将播放器放在页面最上方.",entry:p,reload:()=>p({settings:(0,o.getComponentSettings)("playerOnTopNew"),metadata:s}),commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"});return t=t.component})()));
|
||||
@ -1,4 +1,4 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/player-on-top"]=t():e["style/player-on-top"]=t()}(globalThis,(()=>(()=>{var e,t,n={821:(e,t,n)=>{var o=n(355)((function(e){return e[1]}));o.push([e.id,".v-wrap .l-con,\n.v-wrap .r-con {\n display: flex;\n flex-direction: column;\n margin-top: 24px;\n}\n.v-wrap .l-con .player-wrap {\n order: -1;\n}\n.v-wrap .l-con .video-info {\n margin: 20px 0 0 0 !important;\n padding: 0 !important;\n height: auto !important;\n}\n.v-wrap .l-con .video-info .video-data .argue,\n.v-wrap .l-con .video-info .video-data .copyright {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.v-wrap .r-con .danmaku-box {\n order: -1;\n}\n.v-wrap .r-con .up-info {\n padding-top: 0 !important;\n}",""]),e.exports=o},355:e=>{"use strict";
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/player-on-top"]=t():e["style/player-on-top"]=t()}(globalThis,(()=>(()=>{var e,t,n={614:(e,t,n)=>{var o=n(955)((function(e){return e[1]}));o.push([e.id,".v-wrap .l-con,\n.v-wrap .r-con {\n display: flex;\n flex-direction: column;\n margin-top: 24px;\n}\n.v-wrap .l-con .player-wrap {\n order: -1;\n}\n.v-wrap .l-con .video-info {\n margin: 20px 0 0 0 !important;\n padding: 0 !important;\n height: auto !important;\n}\n.v-wrap .l-con .video-info .video-data .argue,\n.v-wrap .l-con .video-info .video-data .copyright {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.v-wrap .r-con .danmaku-box {\n order: -1;\n}\n.v-wrap .r-con .up-info {\n padding-top: 0 !important;\n}",""]),e.exports=o},955:e=>{"use strict";
|
||||
// eslint-disable-next-line func-names
|
||||
e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},
|
||||
// eslint-disable-next-line func-names
|
||||
@ -6,4 +6,4 @@ t.i=function(e,n,o){"string"==typeof e&&(
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
e=[[null,e,""]]);var r={};if(o)for(var a=0;a<this.length;a++){
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
var i=this[a][0];null!=i&&(r[i]=!0)}for(var p=0;p<e.length;p++){var c=[].concat(e[p]);o&&r[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},261:(e,t,n)=>{var o=n(821);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()}},o={};function r(e){var t=o[e];if(void 0!==t)return t.exports;var a=o[e]={id:e,exports:{}};return n[e](a,a.exports,r),a.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var a=Object.create(null);r.r(a);var i={};e=e||[null,t({}),t([]),t(t)];for(var p=2&o&&n;"object"==typeof p&&!~e.indexOf(p);p=t(p))Object.getOwnPropertyNames(p).forEach((e=>i[e]=()=>n[e]));return i.default=()=>n,r.d(a,i),a},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";r.d(a,{component:()=>e});const e=(0,coreApis.componentApis.define.defineComponentMetadata)({name:"playerOnTop",displayName:"播放器置顶",description:{"zh-CN":"在视频页面中将播放器放在页面最上方."},instantStyles:[{name:"playerOnTop",style:()=>Promise.resolve().then(r.t.bind(r,261,23))}],tags:[componentsTags.style,componentsTags.video],entry:none,commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3"})})(),a=a.component})()));
|
||||
var i=this[a][0];null!=i&&(r[i]=!0)}for(var p=0;p<e.length;p++){var c=[].concat(e[p]);o&&r[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},468:(e,t,n)=>{var o=n(614);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()}},o={};function r(e){var t=o[e];if(void 0!==t)return t.exports;var a=o[e]={id:e,exports:{}};return n[e](a,a.exports,r),a.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var a=Object.create(null);r.r(a);var i={};e=e||[null,t({}),t([]),t(t)];for(var p=2&o&&n;"object"==typeof p&&!~e.indexOf(p);p=t(p))Object.getOwnPropertyNames(p).forEach((e=>i[e]=()=>n[e]));return i.default=()=>n,r.d(a,i),a},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";r.d(a,{component:()=>e});const e=(0,coreApis.componentApis.define.defineComponentMetadata)({name:"playerOnTop",displayName:"播放器置顶",description:{"zh-CN":"在视频页面中将播放器放在页面最上方."},instantStyles:[{name:"playerOnTop",style:()=>Promise.resolve().then(r.t.bind(r,468,23))}],tags:[componentsTags.style,componentsTags.video],entry:none,commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"})})(),a=a.component})()));
|
||||
@ -1,4 +1,4 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/player-shadow"]=t():e["style/player-shadow"]=t()}(globalThis,(()=>(()=>{var e,t,o={453:(e,t,o)=>{var r=o(355)((function(e){return e[1]}));r.push([e.id,"#bilibili-player,\n#bilibili-player.mini-player::before {\n box-shadow: 0px 2px 8px 0px var(--theme-color-30) !important;\n}\nbody.dark #bilibili-player,\nbody.dark #bilibili-player.mini-player::before {\n box-shadow: 0px 2px 8px 0px var(--theme-color-20) !important;\n}\n\n#bilibili-player-placeholder,\n.bpx-player-container {\n box-shadow: none !important;\n}",""]),e.exports=r},355:e=>{"use strict";
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/player-shadow"]=t():e["style/player-shadow"]=t()}(globalThis,(()=>(()=>{var e,t,o={130:(e,t,o)=>{var r=o(955)((function(e){return e[1]}));r.push([e.id,"#bilibili-player,\n#bilibili-player.mini-player::before {\n box-shadow: 0px 2px 8px 0px var(--theme-color-30) !important;\n}\nbody.dark #bilibili-player,\nbody.dark #bilibili-player.mini-player::before {\n box-shadow: 0px 2px 8px 0px var(--theme-color-20) !important;\n}\n\n#bilibili-player-placeholder,\n.bpx-player-container {\n box-shadow: none !important;\n}",""]),e.exports=r},955:e=>{"use strict";
|
||||
// eslint-disable-next-line func-names
|
||||
e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o=e(t);return t[2]?"@media ".concat(t[2]," {").concat(o,"}"):o})).join("")},
|
||||
// eslint-disable-next-line func-names
|
||||
@ -6,4 +6,4 @@ t.i=function(e,o,r){"string"==typeof e&&(
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
e=[[null,e,""]]);var n={};if(r)for(var i=0;i<this.length;i++){
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
var a=this[i][0];null!=a&&(n[a]=!0)}for(var p=0;p<e.length;p++){var l=[].concat(e[p]);r&&n[l[0]]||(o&&(l[2]?l[2]="".concat(o," and ").concat(l[2]):l[2]=o),t.push(l))}},t}},846:(e,t,o)=>{var r=o(453);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,exports:{}};return o[e](i,i.exports,n),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var p=2&r&&o;"object"==typeof p&&!~e.indexOf(p);p=t(p))Object.getOwnPropertyNames(p).forEach((e=>a[e]=()=>o[e]));return a.default=()=>o,n.d(i,a),i},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";n.d(i,{component:()=>o});const e=coreApis.componentApis.define,t=coreApis.utils.urls,o=(0,e.defineComponentMetadata)({name:"playerShadow",displayName:"播放器投影",entry:none,instantStyles:[{name:"playerShadow",style:()=>Promise.resolve().then(n.t.bind(n,846,23))}],tags:[componentsTags.style,componentsTags.video],description:{"zh-CN":"为播放器添加主题色投影."},urlInclude:t.allVideoUrls,commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3"})})(),i=i.component})()));
|
||||
var a=this[i][0];null!=a&&(n[a]=!0)}for(var p=0;p<e.length;p++){var l=[].concat(e[p]);r&&n[l[0]]||(o&&(l[2]?l[2]="".concat(o," and ").concat(l[2]):l[2]=o),t.push(l))}},t}},540:(e,t,o)=>{var r=o(130);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,exports:{}};return o[e](i,i.exports,n),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var p=2&r&&o;"object"==typeof p&&!~e.indexOf(p);p=t(p))Object.getOwnPropertyNames(p).forEach((e=>a[e]=()=>o[e]));return a.default=()=>o,n.d(i,a),i},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";n.d(i,{component:()=>o});const e=coreApis.componentApis.define,t=coreApis.utils.urls,o=(0,e.defineComponentMetadata)({name:"playerShadow",displayName:"播放器投影",entry:none,instantStyles:[{name:"playerShadow",style:()=>Promise.resolve().then(n.t.bind(n,540,23))}],tags:[componentsTags.style,componentsTags.video],description:{"zh-CN":"为播放器添加主题色投影."},urlInclude:t.allVideoUrls,commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"})})(),i=i.component})()));
|
||||
4
registry/dist/components/style/scrollbar.js
vendored
4
registry/dist/components/style/scrollbar.js
vendored
@ -1,4 +1,4 @@
|
||||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["style/scrollbar"]=e():t["style/scrollbar"]=e()}(globalThis,(()=>(()=>{var t,e,r={948:(t,e,r)=>{var n=r(355)((function(t){return t[1]}));n.push([t.id,"html ::-webkit-scrollbar {\n width: 5px !important;\n height: 5px !important;\n}\nhtml ::-webkit-scrollbar-corner,\nhtml ::-webkit-scrollbar-track {\n background: transparent !important;\n}\nhtml ::-webkit-resizer,\nhtml ::-webkit-scrollbar-thumb {\n background: #aaa;\n border-radius: 3px;\n}\nhtml ::-webkit-scrollbar-thumb:hover {\n background: #888;\n}\nhtml,\nhtml * {\n scrollbar-color: #aaa transparent;\n scrollbar-width: thin !important;\n}",""]),t.exports=n},355:t=>{"use strict";
|
||||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["style/scrollbar"]=e():t["style/scrollbar"]=e()}(globalThis,(()=>(()=>{var t,e,r={681:(t,e,r)=>{var n=r(955)((function(t){return t[1]}));n.push([t.id,"html ::-webkit-scrollbar {\n width: 5px !important;\n height: 5px !important;\n}\nhtml ::-webkit-scrollbar-corner,\nhtml ::-webkit-scrollbar-track {\n background: transparent !important;\n}\nhtml ::-webkit-resizer,\nhtml ::-webkit-scrollbar-thumb {\n background: #aaa;\n border-radius: 3px;\n}\nhtml ::-webkit-scrollbar-thumb:hover {\n background: #888;\n}\nhtml,\nhtml * {\n scrollbar-color: #aaa transparent;\n scrollbar-width: thin !important;\n}",""]),t.exports=n},955:t=>{"use strict";
|
||||
// eslint-disable-next-line func-names
|
||||
t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r=t(e);return e[2]?"@media ".concat(e[2]," {").concat(r,"}"):r})).join("")},
|
||||
// eslint-disable-next-line func-names
|
||||
@ -6,4 +6,4 @@ e.i=function(t,r,n){"string"==typeof t&&(
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
t=[[null,t,""]]);var o={};if(n)for(var a=0;a<this.length;a++){
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
var i=this[a][0];null!=i&&(o[i]=!0)}for(var c=0;c<t.length;c++){var l=[].concat(t[c]);n&&o[l[0]]||(r&&(l[2]?l[2]="".concat(r," and ").concat(l[2]):l[2]=r),e.push(l))}},e}},383:(t,e,r)=>{var n=r(948);n&&n.__esModule&&(n=n.default),t.exports="string"==typeof n?n:n.toString()}},n={};function o(t){var e=n[t];if(void 0!==e)return e.exports;var a=n[t]={id:t,exports:{}};return r[t](a,a.exports,o),a.exports}e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,o.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var a=Object.create(null);o.r(a);var i={};t=t||[null,e({}),e([]),e(e)];for(var c=2&n&&r;"object"==typeof c&&!~t.indexOf(c);c=e(c))Object.getOwnPropertyNames(c).forEach((t=>i[t]=()=>r[t]));return i.default=()=>r,o.d(a,i),a},o.d=(t,e)=>{for(var r in e)o.o(e,r)&&!o.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var a={};return(()=>{"use strict";o.d(a,{component:()=>t});const t=(0,coreApis.componentApis.define.defineComponentMetadata)({name:"elegantScrollbar",entry:none,displayName:"使用细滚动条",description:"使用浏览器的滚动条风格替代系统的滚动条, 不过 macOS 系统滚动条比浏览器做得好一些, 因此不建议 macOS 使用此功能.",tags:[componentsTags.style,componentsTags.general],instantStyles:[{name:"elegant-scrollbar",style:()=>Promise.resolve().then(o.t.bind(o,383,23))}],commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3"})})(),a=a.component})()));
|
||||
var i=this[a][0];null!=i&&(o[i]=!0)}for(var c=0;c<t.length;c++){var l=[].concat(t[c]);n&&o[l[0]]||(r&&(l[2]?l[2]="".concat(r," and ").concat(l[2]):l[2]=r),e.push(l))}},e}},855:(t,e,r)=>{var n=r(681);n&&n.__esModule&&(n=n.default),t.exports="string"==typeof n?n:n.toString()}},n={};function o(t){var e=n[t];if(void 0!==e)return e.exports;var a=n[t]={id:t,exports:{}};return r[t](a,a.exports,o),a.exports}e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,o.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var a=Object.create(null);o.r(a);var i={};t=t||[null,e({}),e([]),e(e)];for(var c=2&n&&r;"object"==typeof c&&!~t.indexOf(c);c=e(c))Object.getOwnPropertyNames(c).forEach((t=>i[t]=()=>r[t]));return i.default=()=>r,o.d(a,i),a},o.d=(t,e)=>{for(var r in e)o.o(e,r)&&!o.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var a={};return(()=>{"use strict";o.d(a,{component:()=>t});const t=(0,coreApis.componentApis.define.defineComponentMetadata)({name:"elegantScrollbar",entry:none,displayName:"使用细滚动条",description:"使用浏览器的滚动条风格替代系统的滚动条, 不过 macOS 系统滚动条比浏览器做得好一些, 因此不建议 macOS 使用此功能.",tags:[componentsTags.style,componentsTags.general],instantStyles:[{name:"elegant-scrollbar",style:()=>Promise.resolve().then(o.t.bind(o,855,23))}],commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"})})(),a=a.component})()));
|
||||
@ -1,4 +1,4 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/sidebar-offset"]=t():e["style/sidebar-offset"]=t()}(globalThis,(()=>(()=>{var e,t,o={840:(e,t,o)=>{var r=o(355)((function(e){return e[1]}));r.push([e.id,".be-settings > .sidebar {\n top: calc(50% + var(--be-sidebar-offset, 0)) !important;\n}",""]),e.exports=r},355:e=>{"use strict";
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/sidebar-offset"]=t():e["style/sidebar-offset"]=t()}(globalThis,(()=>(()=>{var e,t,o={451:(e,t,o)=>{var r=o(955)((function(e){return e[1]}));r.push([e.id,".be-settings > .sidebar {\n top: calc(50% + var(--be-sidebar-offset, 0)) !important;\n}",""]),e.exports=r},955:e=>{"use strict";
|
||||
// eslint-disable-next-line func-names
|
||||
e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o=e(t);return t[2]?"@media ".concat(t[2]," {").concat(o,"}"):o})).join("")},
|
||||
// eslint-disable-next-line func-names
|
||||
@ -6,4 +6,4 @@ t.i=function(e,o,r){"string"==typeof e&&(
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
e=[[null,e,""]]);var n={};if(r)for(var a=0;a<this.length;a++){
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
var i=this[a][0];null!=i&&(n[i]=!0)}for(var s=0;s<e.length;s++){var f=[].concat(e[s]);r&&n[f[0]]||(o&&(f[2]?f[2]="".concat(o," and ").concat(f[2]):f[2]=o),t.push(f))}},t}},417:(e,t,o)=>{var r=o(840);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var a=r[e]={id:e,exports:{}};return o[e](a,a.exports,n),a.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var a=Object.create(null);n.r(a);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&o;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>o[e]));return i.default=()=>o,n.d(a,i),a},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";n.d(a,{component:()=>r});const e=coreApis.componentApis.define,t=coreApis.settings,o=coreApis.utils,r=(0,e.defineComponentMetadata)({name:"sidebarOffset",displayName:"侧栏垂直偏移",tags:[componentsTags.style],instantStyles:[{name:"sidebarOffset",style:()=>Promise.resolve().then(n.t.bind(n,417,23))}],description:{"zh-CN":"给脚本的侧栏设置垂直偏移量, 范围为 -35% ~ 40%"},entry:e=>{let{metadata:o}=e;(0,t.addComponentListener)(`${o.name}.offset`,(e=>{document.documentElement.style.setProperty("--be-sidebar-offset",`${e}%`)}),!0)},options:{offset:{displayName:"偏移量 (%)",defaultValue:0,validator:(0,o.getNumberValidator)(-35,40)}},commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3"})})(),a=a.component})()));
|
||||
var i=this[a][0];null!=i&&(n[i]=!0)}for(var s=0;s<e.length;s++){var f=[].concat(e[s]);r&&n[f[0]]||(o&&(f[2]?f[2]="".concat(o," and ").concat(f[2]):f[2]=o),t.push(f))}},t}},317:(e,t,o)=>{var r=o(451);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var a=r[e]={id:e,exports:{}};return o[e](a,a.exports,n),a.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var a=Object.create(null);n.r(a);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&o;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>o[e]));return i.default=()=>o,n.d(a,i),a},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";n.d(a,{component:()=>r});const e=coreApis.componentApis.define,t=coreApis.settings,o=coreApis.utils,r=(0,e.defineComponentMetadata)({name:"sidebarOffset",displayName:"侧栏垂直偏移",tags:[componentsTags.style],instantStyles:[{name:"sidebarOffset",style:()=>Promise.resolve().then(n.t.bind(n,317,23))}],description:{"zh-CN":"给脚本的侧栏设置垂直偏移量, 范围为 -35% ~ 40%"},entry:e=>{let{metadata:o}=e;(0,t.addComponentListener)(`${o.name}.offset`,(e=>{document.documentElement.style.setProperty("--be-sidebar-offset",`${e}%`)}),!0)},options:{offset:{displayName:"偏移量 (%)",defaultValue:0,validator:(0,o.getNumberValidator)(-35,40)}},commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"})})(),a=a.component})()));
|
||||
File diff suppressed because one or more lines are too long
@ -1,4 +1,4 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/simplify/home"]=t():e["style/simplify/home"]=t()}(globalThis,(()=>(()=>{var e,t,i={595:(e,t,i)=>{var n=i(355)((function(e){return e[1]}));n.push([e.id,"body.simplifyHome-switch-categories .z-top-container.has-menu {\n height: auto !important;\n min-height: unset !important;\n}\nbody.simplifyHome-switch-categories .bili-header-m > .bili-wrapper {\n visibility: hidden !important;\n height: 18px !important;\n}\nbody.simplifyHome-switch-categories .primary-menu-itnl {\n visibility: hidden !important;\n height: 24px !important;\n padding: 0 !important;\n}\nbody.simplifyHome-switch-categories .bili-header__channel {\n height: 12px !important;\n}\nbody.simplifyHome-switch-categories .bili-header__channel > * {\n display: none !important;\n}\nbody.simplifyHome-switch-categories.header-v3 .bili-wrapper {\n padding-top: 8px !important;\n border-top: none !important;\n}\nbody.simplifyHome-switch-trends .first-screen #reportFirst1 {\n display: none !important;\n}\nbody.simplifyHome-switch-trends .first-screen .space-between {\n margin-bottom: 0 !important;\n}\nbody.simplifyHome-switch-trends .bili-layout .bili-grid:first-child,\nbody.simplifyHome-switch-trends .recommended-container,\nbody.simplifyHome-switch-trends .rcmd-box-wrap {\n display: none !important;\n}\nbody.simplifyHome-switch-online .first-screen #reportFirst2 {\n display: none !important;\n}\nbody.simplifyHome-switch-ext-box .first-screen #reportFirst3 {\n display: none !important;\n}\nbody.simplifyHome-switch-special #bili_report_spe_rec {\n display: none !important;\n}\nbody.simplifyHome-switch-contact .bili-footer .b-footer-wrap,\nbody.simplifyHome-switch-contact .international-footer {\n display: none !important;\n}\nbody.simplifyHome-switch-elevator .storey-box .elevator {\n display: none !important;\n}",""]),e.exports=n},355:e=>{"use strict";
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/simplify/home"]=t():e["style/simplify/home"]=t()}(globalThis,(()=>(()=>{var e,t,i={770:(e,t,i)=>{var n=i(218)((function(e){return e[1]}));n.push([e.id,"body.simplifyHome-switch-carousel .recommended-swipe.grid-anchor {\n display: none !important;\n}\nbody.simplifyHome-switch-categories .z-top-container.has-menu {\n height: auto !important;\n min-height: unset !important;\n}\nbody.simplifyHome-switch-categories .bili-header-m > .bili-wrapper {\n visibility: hidden !important;\n height: 18px !important;\n}\nbody.simplifyHome-switch-categories .primary-menu-itnl {\n visibility: hidden !important;\n height: 24px !important;\n padding: 0 !important;\n}\nbody.simplifyHome-switch-categories .bili-header__channel {\n height: 12px !important;\n}\nbody.simplifyHome-switch-categories .bili-header__channel > * {\n display: none !important;\n}\nbody.simplifyHome-switch-categories.header-v3 .bili-wrapper {\n padding-top: 8px !important;\n border-top: none !important;\n}\nbody.simplifyHome-switch-trends .first-screen #reportFirst1 {\n display: none !important;\n}\nbody.simplifyHome-switch-trends .first-screen .space-between {\n margin-bottom: 0 !important;\n}\nbody.simplifyHome-switch-trends .bili-layout .bili-grid:first-child,\nbody.simplifyHome-switch-trends .recommended-container,\nbody.simplifyHome-switch-trends .rcmd-box-wrap {\n display: none !important;\n}\nbody.simplifyHome-switch-online .first-screen #reportFirst2 {\n display: none !important;\n}\nbody.simplifyHome-switch-ext-box .first-screen #reportFirst3 {\n display: none !important;\n}\nbody.simplifyHome-switch-special #bili_report_spe_rec {\n display: none !important;\n}\nbody.simplifyHome-switch-contact .bili-footer .b-footer-wrap,\nbody.simplifyHome-switch-contact .international-footer {\n display: none !important;\n}\nbody.simplifyHome-switch-elevator .storey-box .elevator {\n display: none !important;\n}",""]),e.exports=n},218:e=>{"use strict";
|
||||
// eslint-disable-next-line func-names
|
||||
e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i=e(t);return t[2]?"@media ".concat(t[2]," {").concat(i,"}"):i})).join("")},
|
||||
// eslint-disable-next-line func-names
|
||||
@ -6,4 +6,4 @@ t.i=function(e,i,n){"string"==typeof e&&(
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
e=[[null,e,""]]);var o={};if(n)for(var r=0;r<this.length;r++){
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
var a=this[r][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);n&&o[l[0]]||(i&&(l[2]?l[2]="".concat(i," and ").concat(l[2]):l[2]=i),t.push(l))}},t}},262:(e,t,i)=>{var n=i(595);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={id:e,exports:{}};return i[e](r,r.exports,o),r.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(i,n){if(1&n&&(i=this(i)),8&n)return i;if("object"==typeof i&&i){if(4&n&&i.__esModule)return i;if(16&n&&"function"==typeof i.then)return i}var r=Object.create(null);o.r(r);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&i;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>i[e]));return a.default=()=>i,o.d(r,a),r},o.d=(e,t)=>{for(var i in t)o.o(t,i)&&!o.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return(()=>{"use strict";o.d(r,{component:()=>d});const e=coreApis.componentApis.switchOptions,t=coreApis.settings,i=coreApis.spinQuery,n=coreApis.style,a=coreApis.utils,s=coreApis.utils.log,l=coreApis.utils.urls,p=(0,e.defineSwitchMetadata)({name:"simplifyOptions",dimAt:"checked",switchProps:{checkedIcon:"mdi-eye-off-outline",notCheckedIcon:"mdi-eye-outline"},switches:{categories:{defaultValue:!1,displayName:"分区栏"},trends:{defaultValue:!1,displayName:"活动/热门视频"},online:{defaultValue:!1,displayName:"在线列表(旧)"},"ext-box":{defaultValue:!1,displayName:"电竞赛事(旧)"},special:{defaultValue:!1,displayName:"特别推荐(旧)"},contact:{defaultValue:!1,displayName:"联系方式"},elevator:{defaultValue:!1,displayName:"右侧分区导航(旧)"}}}),c=(0,s.useScopedConsole)("简化首页"),d=(0,e.newSwitchComponentWrapper)(p)({name:"simplifyHome",displayName:"简化首页",description:"隐藏原版首页不需要的元素 / 分区.",instantStyles:[{name:"simplifyHome",style:()=>Promise.resolve().then(o.t.bind(o,262,23))}],urlInclude:l.mainSiteUrls,tags:[componentsTags.style],entry:async e=>{let{metadata:o}=e;const r=(0,a.matchUrlPattern)("https://www.bilibili.com/");if(!r)return;c.log("isHome",r);const{options:s}=(0,t.getComponentSettings)(o.name),l="-1"===(0,a.getCookieValue)("i-wanna-go-back"),d=await(async()=>{if(!l){const e=await(0,i.sq)((()=>dqa(".proxy-box > div")),(e=>e.length>0||!r));return Object.fromEntries(e.map((e=>[e.id.replace(/^bili_/,""),{displayName:e.querySelector("header .name")?.textContent?.trim()??"未知分区",defaultValue:!1}])))}const e=["推广"],t=await(0,i.sq)((()=>dqa(".bili-grid .the-world")),(e=>e.length>3||!r));c.log(t);const n=t?.filter((t=>!e.includes(t.id))).map((e=>{const t=(e=>{let t=e;for(;t.parentElement;){if(t.classList.contains("bili-grid"))return t;t=t.parentElement}return null})(e),i=e.id;return t?(t.dataset.area=i,[i,{displayName:i,defaultValue:!1}]):null})).filter((e=>null!==e))??[];return Object.fromEntries(n)})(),m={};Object.entries(d).forEach((e=>{let[i,{displayName:n,defaultValue:r}]=e;const a={defaultValue:r,displayName:n},l=`switch-${i}`;void 0===s[l]&&(s[l]=r);const c=`switch-${i}`;(0,t.addComponentListener)(`${o.name}.${c}`,(e=>{document.body.classList.toggle(`${o.name}-${c}`,e)}),!0),p.switches[i]=a,m[i]=a})),s.simplifyOptions.switches=m;const y=Object.keys(d).map((e=>`\n body.simplifyHome-switch-${e} .bili-layout .bili-grid[data-area="${e}"],\n body.simplifyHome-switch-${e} .storey-box .proxy-box #bili_${e} {\n display: none !important;\n }\n `.trim())).join("\n");(0,n.addStyle)(y,"simplify-home-generated")},commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3"})})(),r=r.component})()));
|
||||
var a=this[r][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);n&&o[l[0]]||(i&&(l[2]?l[2]="".concat(i," and ").concat(l[2]):l[2]=i),t.push(l))}},t}},378:(e,t,i)=>{var n=i(770);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={id:e,exports:{}};return i[e](r,r.exports,o),r.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(i,n){if(1&n&&(i=this(i)),8&n)return i;if("object"==typeof i&&i){if(4&n&&i.__esModule)return i;if(16&n&&"function"==typeof i.then)return i}var r=Object.create(null);o.r(r);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&i;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>i[e]));return a.default=()=>i,o.d(r,a),r},o.d=(e,t)=>{for(var i in t)o.o(t,i)&&!o.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return(()=>{"use strict";o.d(r,{component:()=>d});const e=coreApis.componentApis.switchOptions,t=coreApis.settings,i=coreApis.spinQuery,n=coreApis.style,a=coreApis.utils,s=coreApis.utils.log,l=coreApis.utils.urls,p=(0,e.defineSwitchMetadata)({name:"simplifyOptions",switches:{carousel:{defaultValue:!1,displayName:"轮播图"},categories:{defaultValue:!1,displayName:"分区栏"},trends:{defaultValue:!1,displayName:"活动/热门视频"},online:{defaultValue:!1,displayName:"在线列表(旧)"},"ext-box":{defaultValue:!1,displayName:"电竞赛事(旧)"},special:{defaultValue:!1,displayName:"特别推荐(旧)"},contact:{defaultValue:!1,displayName:"联系方式"},elevator:{defaultValue:!1,displayName:"右侧分区导航(旧)"}}}),c=(0,s.useScopedConsole)("简化首页"),d=(0,e.wrapSwitchOptions)(p)({name:"simplifyHome",displayName:"简化首页",description:"隐藏原版首页不需要的元素 / 分区.",instantStyles:[{name:"simplifyHome",style:()=>Promise.resolve().then(o.t.bind(o,378,23))}],urlInclude:l.mainSiteUrls,tags:[componentsTags.style],entry:async e=>{let{metadata:o}=e;const r=(0,a.matchUrlPattern)("https://www.bilibili.com/");if(!r)return;c.log("isHome",r);const{options:s}=(0,t.getComponentSettings)(o.name),l="-1"===(0,a.getCookieValue)("i-wanna-go-back"),d=await(async()=>{if(!l){const e=await(0,i.sq)((()=>dqa(".proxy-box > div")),(e=>e.length>0||!r));return e?Object.fromEntries(e.map((e=>[e.id.replace(/^bili_/,""),{displayName:e.querySelector("header .name")?.textContent?.trim()??"未知分区",defaultValue:!1}]))):{}}const e=["推广"],t=await(0,i.sq)((()=>dqa(".bili-grid .the-world")),(e=>e.length>3||!r));c.log(t);const n=t?.filter((t=>!e.includes(t.id))).map((e=>{const t=(e=>{let t=e;for(;t.parentElement;){if(t.classList.contains("bili-grid"))return t;t=t.parentElement}return null})(e),i=e.id;return t?(t.dataset.area=i,[i,{displayName:i,defaultValue:!1}]):null})).filter((e=>null!==e))??[];return Object.fromEntries(n)})(),m={};Object.entries(d).forEach((e=>{let[i,{displayName:n,defaultValue:r}]=e;const a={defaultValue:r,displayName:n},l=`switch-${i}`;void 0===s[l]&&(s[l]=r);const c=`switch-${i}`;(0,t.addComponentListener)(`${o.name}.${c}`,(e=>{document.body.classList.toggle(`${o.name}-${c}`,e)}),!0),p.switches[i]=a,m[i]=a})),s.simplifyOptions.switches=m;const y=Object.keys(d).map((e=>`\n body.simplifyHome-switch-${e} .bili-layout .bili-grid[data-area="${e}"],\n body.simplifyHome-switch-${e} .storey-box .proxy-box #bili_${e} {\n display: none !important;\n }\n `.trim())).join("\n");(0,n.addStyle)(y,"simplify-home-generated")},commitHash:"fbf72b3bfd121503f29f3d3dfd762f87ef030a7f",coreVersion:"2.9.4"})})(),r=r.component})()));
|
||||
File diff suppressed because one or more lines are too long
@ -1,9 +1,9 @@
|
||||
!function(t,i){"object"==typeof exports&&"object"==typeof module?module.exports=i():"function"==typeof define&&define.amd?define([],i):"object"==typeof exports?exports["style/special-danmaku"]=i():t["style/special-danmaku"]=i()}(globalThis,(()=>(()=>{var t,i,e={371:(t,i,e)=>{var n=e(355)((function(t){return t[1]}));n.push([t.id,"body.disable-highlight-danmaku-style .bili-dm.bili-high,\nbody.disable-highlight-danmaku-style .b-danmaku-high {\n display: block !important;\n padding: 0 !important;\n line-height: 1.125 !important;\n}\nbody.disable-highlight-danmaku-style .bili-dm.bili-high .bili-high-icon,\nbody.disable-highlight-danmaku-style .bili-dm.bili-high .b-danmaku-high-icon,\nbody.disable-highlight-danmaku-style .b-danmaku-high .bili-high-icon,\nbody.disable-highlight-danmaku-style .b-danmaku-high .b-danmaku-high-icon {\n display: none !important;\n}\nbody.disable-highlight-danmaku-style .bili-dm.bili-high .bili-high-text,\nbody.disable-highlight-danmaku-style .bili-dm.bili-high .b-danmaku-high-text,\nbody.disable-highlight-danmaku-style .b-danmaku-high .bili-high-text,\nbody.disable-highlight-danmaku-style .b-danmaku-high .b-danmaku-high-text {\n margin: 0 !important;\n text-shadow: inherit;\n}\n\nbody.disable-up-danmaku-style .bili-dm.bili-up,\nbody.disable-up-danmaku-style .b-danmaku-up {\n padding: 0 !important;\n line-height: 1.125 !important;\n background-color: transparent !important;\n border-radius: 0 !important;\n}\nbody.disable-up-danmaku-style .bili-dm.bili-up .bili-up-tip,\nbody.disable-up-danmaku-style .bili-dm.bili-up .b-danmaku-up-tip,\nbody.disable-up-danmaku-style .b-danmaku-up .bili-up-tip,\nbody.disable-up-danmaku-style .b-danmaku-up .b-danmaku-up-tip {\n display: none !important;\n}",""]),t.exports=n},355:t=>{"use strict";
|
||||
!function(i,a){"object"==typeof exports&&"object"==typeof module?module.exports=a():"function"==typeof define&&define.amd?define([],a):"object"==typeof exports?exports["style/special-danmaku"]=a():i["style/special-danmaku"]=a()}(globalThis,(()=>(()=>{var i,a,n={317:(i,a,n)=>{var t=n(955)((function(i){return i[1]}));t.push([i.id,'body.disable-highlight-danmaku-style .bili-danmaku-x-high,\nbody.disable-highlight-danmaku-style .bili-danmaku-x-high-top {\n display: flex !important;\n}\nbody.disable-highlight-danmaku-style .bili-dm.bili-high,\nbody.disable-highlight-danmaku-style .b-danmaku-high {\n display: block !important;\n}\nbody.disable-highlight-danmaku-style .bili-danmaku-x-high,\nbody.disable-highlight-danmaku-style .bili-danmaku-x-high-top,\nbody.disable-highlight-danmaku-style .bili-dm.bili-high,\nbody.disable-highlight-danmaku-style .b-danmaku-high {\n padding: 0 !important;\n line-height: 1.125 !important;\n}\nbody.disable-highlight-danmaku-style .bili-danmaku-x-high .bili-danmaku-x-high-icon,\nbody.disable-highlight-danmaku-style .bili-danmaku-x-high .bili-high-icon,\nbody.disable-highlight-danmaku-style .bili-danmaku-x-high .b-danmaku-high-icon,\nbody.disable-highlight-danmaku-style .bili-danmaku-x-high-top .bili-danmaku-x-high-icon,\nbody.disable-highlight-danmaku-style .bili-danmaku-x-high-top .bili-high-icon,\nbody.disable-highlight-danmaku-style .bili-danmaku-x-high-top .b-danmaku-high-icon,\nbody.disable-highlight-danmaku-style .bili-dm.bili-high .bili-danmaku-x-high-icon,\nbody.disable-highlight-danmaku-style .bili-dm.bili-high .bili-high-icon,\nbody.disable-highlight-danmaku-style .bili-dm.bili-high .b-danmaku-high-icon,\nbody.disable-highlight-danmaku-style .b-danmaku-high .bili-danmaku-x-high-icon,\nbody.disable-highlight-danmaku-style .b-danmaku-high .bili-high-icon,\nbody.disable-highlight-danmaku-style .b-danmaku-high .b-danmaku-high-icon {\n display: none !important;\n}\nbody.disable-highlight-danmaku-style .bili-danmaku-x-high .bili-danmaku-x-high-text,\nbody.disable-highlight-danmaku-style .bili-danmaku-x-high .bili-high-text,\nbody.disable-highlight-danmaku-style .bili-danmaku-x-high .b-danmaku-high-text,\nbody.disable-highlight-danmaku-style .bili-danmaku-x-high-top .bili-danmaku-x-high-text,\nbody.disable-highlight-danmaku-style .bili-danmaku-x-high-top .bili-high-text,\nbody.disable-highlight-danmaku-style .bili-danmaku-x-high-top .b-danmaku-high-text,\nbody.disable-highlight-danmaku-style .bili-dm.bili-high .bili-danmaku-x-high-text,\nbody.disable-highlight-danmaku-style .bili-dm.bili-high .bili-high-text,\nbody.disable-highlight-danmaku-style .bili-dm.bili-high .b-danmaku-high-text,\nbody.disable-highlight-danmaku-style .b-danmaku-high .bili-danmaku-x-high-text,\nbody.disable-highlight-danmaku-style .b-danmaku-high .bili-high-text,\nbody.disable-highlight-danmaku-style .b-danmaku-high .b-danmaku-high-text {\n margin: 0 !important;\n text-shadow: inherit;\n}\n\nbody.disable-vip-danmaku-style .bili-danmaku-x-dm-vip,\nbody.disable-vip-danmaku-style .bili-dm-vip {\n display: contents !important;\n text-shadow: inherit !important;\n}\nbody.disable-vip-danmaku-style :where(.bili-dm, .bili-danmaku-x-dm):not([style*="--textShadow"]) {\n --textShadow: var(--danmaku-text-shadow);\n}\nbody.disable-vip-danmaku-style .bili-danmaku-x-colorful {\n background-clip: unset !important;\n background-image: none !important;\n --textShadow: var(--danmaku-text-shadow);\n text-shadow: var(--textShadow) !important;\n}\n\nbody.disable-up-danmaku-style .bili-danmaku-x-up,\nbody.disable-up-danmaku-style .bili-dm.bili-up,\nbody.disable-up-danmaku-style .b-danmaku-up {\n padding: 0 !important;\n line-height: 1.125 !important;\n background-color: transparent !important;\n border-radius: 0 !important;\n}\nbody.disable-up-danmaku-style .bili-danmaku-x-up .bili-up-tip,\nbody.disable-up-danmaku-style .bili-danmaku-x-up .b-danmaku-up-tip,\nbody.disable-up-danmaku-style .bili-dm.bili-up .bili-up-tip,\nbody.disable-up-danmaku-style .bili-dm.bili-up .b-danmaku-up-tip,\nbody.disable-up-danmaku-style .b-danmaku-up .bili-up-tip,\nbody.disable-up-danmaku-style .b-danmaku-up .b-danmaku-up-tip {\n display: none !important;\n}\n\nbody.disable-upSlogan-danmaku-style .bili-danmaku-x-upslogan,\nbody.disable-upSlogan-danmaku-style .bili-upslogan {\n padding: 0 !important;\n opacity: var(--opacity) !important;\n font-weight: var(--fontWeight) !important;\n background-color: transparent !important;\n}\nbody.disable-upSlogan-danmaku-style .bili-danmaku-x-upslogan img,\nbody.disable-upSlogan-danmaku-style .bili-upslogan img {\n display: none !important;\n}',""]),i.exports=t},955:i=>{"use strict";
|
||||
// eslint-disable-next-line func-names
|
||||
t.exports=function(t){var i=[];return i.toString=function(){return this.map((function(i){var e=t(i);return i[2]?"@media ".concat(i[2]," {").concat(e,"}"):e})).join("")},
|
||||
i.exports=function(i){var a=[];return a.toString=function(){return this.map((function(a){var n=i(a);return a[2]?"@media ".concat(a[2]," {").concat(n,"}"):n})).join("")},
|
||||
// eslint-disable-next-line func-names
|
||||
i.i=function(t,e,n){"string"==typeof t&&(
|
||||
a.i=function(i,n,t){"string"==typeof i&&(
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
t=[[null,t,""]]);var a={};if(n)for(var o=0;o<this.length;o++){
|
||||
i=[[null,i,""]]);var e={};if(t)for(var d=0;d<this.length;d++){
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
var d=this[o][0];null!=d&&(a[d]=!0)}for(var l=0;l<t.length;l++){var r=[].concat(t[l]);n&&a[r[0]]||(e&&(r[2]?r[2]="".concat(e," and ").concat(r[2]):r[2]=e),i.push(r))}},i}},788:(t,i,e)=>{var n=e(371);n&&n.__esModule&&(n=n.default),t.exports="string"==typeof n?n:n.toString()}},n={};function a(t){var i=n[t];if(void 0!==i)return i.exports;var o=n[t]={id:t,exports:{}};return e[t](o,o.exports,a),o.exports}i=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,a.t=function(e,n){if(1&n&&(e=this(e)),8&n)return e;if("object"==typeof e&&e){if(4&n&&e.__esModule)return e;if(16&n&&"function"==typeof e.then)return e}var o=Object.create(null);a.r(o);var d={};t=t||[null,i({}),i([]),i(i)];for(var l=2&n&&e;"object"==typeof l&&!~t.indexOf(l);l=i(l))Object.getOwnPropertyNames(l).forEach((t=>d[t]=()=>e[t]));return d.default=()=>e,a.d(o,d),o},a.d=(t,i)=>{for(var e in i)a.o(i,e)&&!a.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:i[e]})},a.o=(t,i)=>Object.prototype.hasOwnProperty.call(t,i),a.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};return(()=>{"use strict";a.d(o,{component:()=>l});const t=coreApis.componentApis.define,i=coreApis.utils.urls,e=coreApis.settings,n=(0,t.defineOptionsMetadata)({highlight:{displayName:"禁用高赞弹幕",defaultValue:!0},up:{displayName:"禁用UP主弹幕",defaultValue:!0}}),d="disableSpecialDanmaku",l=(0,t.defineComponentMetadata)({name:d,entry:t=>{let{metadata:i,settings:n}=t;Object.keys(n.options).forEach((t=>{(0,e.addComponentListener)(`${i.name}.${t}`,(i=>{document.body.classList.toggle(`disable-${t}-danmaku-style`,i)}),!0)}))},displayName:"禁用特殊弹幕样式",tags:[componentsTags.style],instantStyles:[{name:d,style:()=>Promise.resolve().then(a.t.bind(a,788,23))}],urlInclude:i.playerUrls,description:{"zh-CN":"移除高赞弹幕或 UP 主弹幕的特殊样式, 弹幕内容不会移除."},options:n,commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3"})})(),o=o.component})()));
|
||||
var l=this[d][0];null!=l&&(e[l]=!0)}for(var o=0;o<i.length;o++){var h=[].concat(i[o]);t&&e[h[0]]||(n&&(h[2]?h[2]="".concat(n," and ").concat(h[2]):h[2]=n),a.push(h))}},a}},299:(i,a,n)=>{var t=n(317);t&&t.__esModule&&(t=t.default),i.exports="string"==typeof t?t:t.toString()},11:i=>{function a(i){var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}a.keys=()=>[],a.resolve=a,a.id=11,i.exports=a},840:i=>{"use strict";i.exports="移除高亮弹幕或 UP 主弹幕的特殊样式, 弹幕内容不会移除."}},t={};function e(i){var a=t[i];if(void 0!==a)return a.exports;var d=t[i]={id:i,exports:{}};return n[i](d,d.exports,e),d.exports}a=Object.getPrototypeOf?i=>Object.getPrototypeOf(i):i=>i.__proto__,e.t=function(n,t){if(1&t&&(n=this(n)),8&t)return n;if("object"==typeof n&&n){if(4&t&&n.__esModule)return n;if(16&t&&"function"==typeof n.then)return n}var d=Object.create(null);e.r(d);var l={};i=i||[null,a({}),a([]),a(a)];for(var o=2&t&&n;"object"==typeof o&&!~i.indexOf(o);o=a(o))Object.getOwnPropertyNames(o).forEach((i=>l[i]=()=>n[i]));return l.default=()=>n,e.d(d,l),d},e.d=(i,a)=>{for(var n in a)e.o(a,n)&&!e.o(i,n)&&Object.defineProperty(i,n,{enumerable:!0,get:a[n]})},e.o=(i,a)=>Object.prototype.hasOwnProperty.call(i,a),e.r=i=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})};var d={};return(()=>{"use strict";e.d(d,{component:()=>u});const i=coreApis.componentApis.define,a=coreApis.utils.urls,n=coreApis.settings,t=coreApis.localStorage;var l=function(i){return i[i.Heavy=0]="Heavy",i[i.Stroke=1]="Stroke",i[i.Shadow=2]="Shadow",i}(l||{});const o={[l.Heavy]:"1px 0 1px #000000,0 1px 1px #000000,0 -1px 1px #000000,-1px 0 1px #000000",[l.Stroke]:"0px 0px 1px #000000,0 0 1px #000000,0 0 1px #000000",[l.Shadow]:"1px 1px 2px #000000,0 0 1px #000000"},h=(0,i.defineOptionsMetadata)({highlight:{displayName:"禁用高赞弹幕",defaultValue:!0},up:{displayName:"禁用 UP 主弹幕",defaultValue:!0},upSlogan:{displayName:"禁用带货弹幕",defaultValue:!0},vip:{displayName:"禁用大会员弹幕",defaultValue:!0}}),b="disableSpecialDanmaku",u=(0,i.defineComponentMetadata)({name:b,entry:i=>{let{metadata:a,settings:e}=i;Object.keys(e.options).forEach((i=>{(0,n.addComponentListener)(`${a.name}.${i}`,(a=>{document.body.classList.toggle(`disable-${i}-danmaku-style`,a)}),!0)})),(()=>{const i="bpx_player_profile",a=i=>{const a=lodash.get(i,"dmSetting.fontborder");document.documentElement.style.setProperty("--danmaku-text-shadow",o[a])};a(JSON.parse(localStorage.getItem(i))),(0,t.watchLocalStorage)(((n,t)=>{n===i&&a(JSON.parse(t))}))})()},displayName:"禁用特殊弹幕样式",tags:[componentsTags.style],instantStyles:[{name:b,style:()=>Promise.resolve().then(e.t.bind(e,299,23))}],urlInclude:a.playerUrls,options:h,commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4",description:(()=>{const i=e(11);return{...Object.fromEntries(i.keys().map((a=>[a.match(/index\.(.+)\.md$/)[1],i(a)]))),"zh-CN":()=>Promise.resolve().then(e.t.bind(e,840,17)).then((i=>i.default))}})()})})(),d=d.component})()));
|
||||
6
registry/dist/components/style/v1-panel.js
vendored
6
registry/dist/components/style/v1-panel.js
vendored
@ -1,9 +1,9 @@
|
||||
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports["style/v1-panel"]=n():t["style/v1-panel"]=n()}(globalThis,(()=>(()=>{var t,n,e={58:(t,n,e)=>{var r=e(355)((function(t){return t[1]}));r.push([t.id,".be-settings > .be-popup {\n top: 0 !important;\n left: 0 !important;\n transform: translateZ(0) translateY(0) translateX(calc(-101% * var(--direction))) !important;\n --panel-height: 100vh !important;\n}\nbody.settings-panel-dock-right .be-settings > .be-popup {\n left: unset !important;\n right: 0 !important;\n}\n.be-settings > .be-popup.open {\n transform: translateZ(0) translateY(0) translateX(0) !important;\n}\n.be-settings > .be-popup > * {\n border-radius: 0 !important;\n border-width: 0 1px 0 0 !important;\n height: var(--panel-height) !important;\n}\nbody.settings-panel-dock-right .be-settings > .be-popup > * {\n border-width: 0 0 0 1px !important;\n}\n.be-settings > .sidebar > * {\n width: 52px !important;\n border-radius: 21px !important;\n transform: translateX(calc(-13px * var(--direction))) !important;\n display: flex !important;\n justify-content: flex-end !important;\n}\nbody.settings-panel-dock-right .be-settings > .sidebar > * {\n justify-content: flex-start !important;\n}\n.be-settings > .sidebar > * .be-icon {\n transition: 0.2s ease-out !important;\n}\n.be-settings > .sidebar > *:hover {\n transform: translateX(calc(8px * var(--direction))) !important;\n}\n.be-settings > .sidebar > *:hover .be-icon {\n transform: rotate(360deg) !important;\n}\n.be-settings > .sidebar > *.open {\n transform: translateX(calc(12px * var(--direction))) !important;\n}\n.be-settings .settings-panel-popup .component-tags .component-tags-item:last-child {\n border-radius: 0 !important;\n}\n.be-settings .widgets-panel {\n padding: 24px !important;\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n}\n.be-settings .widgets-panel::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n.be-settings .widgets-panel-header {\n margin-bottom: 36px !important;\n}\n.be-settings .widgets-panel .widgets-popup {\n --columns: 1;\n --medal-columns: 1;\n --title-columns: 1;\n left: 50%;\n top: calc(100% + 4px) !important;\n transform-origin: top !important;\n box-sizing: border-box;\n max-width: calc(100% + 44px) !important;\n max-height: unset !important;\n transform: translateX(calc(-50% * var(--direction))) scale(0.9) !important;\n display: flex !important;\n flex-wrap: wrap !important;\n}\n.be-settings .widgets-panel .widgets-popup > * {\n flex-grow: 1;\n}\n.be-settings .widgets-panel .widgets-popup.open {\n transform: translateX(calc(-50% * var(--direction))) scale(1) !important;\n}\nbody.settings-panel-dock-right .be-settings .widgets-panel .widgets-popup {\n left: unset !important;\n right: 50% !important;\n}",""]),t.exports=r},355:t=>{"use strict";
|
||||
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports["style/v1-panel"]=n():t["style/v1-panel"]=n()}(globalThis,(()=>(()=>{var t,n,e={83:(t,n,e)=>{var r=e(955)((function(t){return t[1]}));r.push([t.id,".be-settings > .be-popup {\n top: 0 !important;\n left: 0 !important;\n transform: translateZ(0) translateY(0) translateX(calc(-101% * var(--direction))) !important;\n --panel-height: 100vh !important;\n}\nbody.settings-panel-dock-right .be-settings > .be-popup {\n left: unset !important;\n right: 0 !important;\n}\n.be-settings > .be-popup.open {\n transform: translateZ(0) translateY(0) translateX(0) !important;\n}\n.be-settings > .be-popup > * {\n border-radius: 0 !important;\n border-width: 0 1px 0 0 !important;\n height: var(--panel-height) !important;\n}\nbody.settings-panel-dock-right .be-settings > .be-popup > * {\n border-width: 0 0 0 1px !important;\n}\n.be-settings > .sidebar > * {\n width: 52px !important;\n border-radius: 21px !important;\n transform: translateX(calc(-13px * var(--direction))) !important;\n display: flex !important;\n justify-content: flex-end !important;\n}\nbody.settings-panel-dock-right .be-settings > .sidebar > * {\n justify-content: flex-start !important;\n}\n.be-settings > .sidebar > * .be-icon {\n transition: 0.2s ease-out !important;\n}\n.be-settings > .sidebar > *:hover {\n transform: translateX(calc(8px * var(--direction))) !important;\n}\n.be-settings > .sidebar > *:hover .be-icon {\n transform: rotate(360deg) !important;\n}\n.be-settings > .sidebar > *.open {\n transform: translateX(calc(12px * var(--direction))) !important;\n}\n.be-settings .settings-panel-popup .component-tags .component-tags-item:last-child {\n border-radius: 0 !important;\n}\n.be-settings .widgets-panel {\n padding: 24px !important;\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n}\n.be-settings .widgets-panel::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n.be-settings .widgets-panel-header {\n margin-bottom: 36px !important;\n}\n.be-settings .widgets-panel .widgets-popup {\n --columns: 1;\n --medal-columns: 1;\n --title-columns: 1;\n left: 50%;\n top: calc(100% + 4px) !important;\n transform-origin: top !important;\n box-sizing: border-box;\n max-width: calc(100% + 44px) !important;\n max-height: unset !important;\n transform: translateX(calc(-50% * var(--direction))) scale(0.9) !important;\n display: flex !important;\n flex-wrap: wrap !important;\n}\n.be-settings .widgets-panel .widgets-popup > * {\n flex-grow: 1;\n}\n.be-settings .widgets-panel .widgets-popup.open {\n transform: translateX(calc(-50% * var(--direction))) scale(1) !important;\n}\nbody.settings-panel-dock-right .be-settings .widgets-panel .widgets-popup {\n left: unset !important;\n right: 50% !important;\n}",""]),t.exports=r},955:t=>{"use strict";
|
||||
// eslint-disable-next-line func-names
|
||||
t.exports=function(t){var n=[];return n.toString=function(){return this.map((function(n){var e=t(n);return n[2]?"@media ".concat(n[2]," {").concat(e,"}"):e})).join("")},
|
||||
// eslint-disable-next-line func-names
|
||||
n.i=function(t,e,r){"string"==typeof t&&(
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
t=[[null,t,""]]);var o={};if(r)for(var a=0;a<this.length;a++){
|
||||
t=[[null,t,""]]);var o={};if(r)for(var i=0;i<this.length;i++){
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
var i=this[a][0];null!=i&&(o[i]=!0)}for(var s=0;s<t.length;s++){var p=[].concat(t[s]);r&&o[p[0]]||(e&&(p[2]?p[2]="".concat(e," and ").concat(p[2]):p[2]=e),n.push(p))}},n}},182:(t,n,e)=>{var r=e(58);r&&r.__esModule&&(r=r.default),t.exports="string"==typeof r?r:r.toString()}},r={};function o(t){var n=r[t];if(void 0!==n)return n.exports;var a=r[t]={id:t,exports:{}};return e[t](a,a.exports,o),a.exports}n=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,o.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var a=Object.create(null);o.r(a);var i={};t=t||[null,n({}),n([]),n(n)];for(var s=2&r&&e;"object"==typeof s&&!~t.indexOf(s);s=n(s))Object.getOwnPropertyNames(s).forEach((t=>i[t]=()=>e[t]));return i.default=()=>e,o.d(a,i),a},o.d=(t,n)=>{for(var e in n)o.o(n,e)&&!o.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:n[e]})},o.o=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var a={};return(()=>{"use strict";o.d(a,{component:()=>t});const t=(0,coreApis.componentApis.define.defineComponentMetadata)({name:"v1PanelStyle",displayName:"v1 风格设置面板",tags:[componentsTags.style],entry:none,description:{"zh-CN":"使用 v1 风格的设置面板样式"},instantStyles:[{name:"v1PanelStyle",style:()=>Promise.resolve().then(o.t.bind(o,182,23))}],commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3"})})(),a=a.component})()));
|
||||
var a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s<t.length;s++){var p=[].concat(t[s]);r&&o[p[0]]||(e&&(p[2]?p[2]="".concat(e," and ").concat(p[2]):p[2]=e),n.push(p))}},n}},221:(t,n,e)=>{var r=e(83);r&&r.__esModule&&(r=r.default),t.exports="string"==typeof r?r:r.toString()}},r={};function o(t){var n=r[t];if(void 0!==n)return n.exports;var i=r[t]={id:t,exports:{}};return e[t](i,i.exports,o),i.exports}n=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,o.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var i=Object.create(null);o.r(i);var a={};t=t||[null,n({}),n([]),n(n)];for(var s=2&r&&e;"object"==typeof s&&!~t.indexOf(s);s=n(s))Object.getOwnPropertyNames(s).forEach((t=>a[t]=()=>e[t]));return a.default=()=>e,o.d(i,a),i},o.d=(t,n)=>{for(var e in n)o.o(n,e)&&!o.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:n[e]})},o.o=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>t});const t=(0,coreApis.componentApis.define.defineComponentMetadata)({name:"v1PanelStyle",displayName:"v1 风格设置面板",tags:[componentsTags.style],entry:none,description:{"zh-CN":"使用 v1 风格的设置面板样式"},instantStyles:[{name:"v1PanelStyle",style:()=>Promise.resolve().then(o.t.bind(o,221,23))}],commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"})})(),i=i.component})()));
|
||||
2
registry/dist/components/touch/combo-like.js
vendored
2
registry/dist/components/touch/combo-like.js
vendored
@ -1 +1 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["touch/combo-like"]=t():e["touch/combo-like"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,o={200:e=>{e.exports=coreApis.spinQuery}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={exports:{}};return o[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var c={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&o;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>c[e]=()=>o[e]));return c.default=()=>o,r.d(i,c),i},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{r.d(i,{component:()=>o});const e=coreApis.componentApis.define,t=coreApis.utils.urls,o=(0,e.defineComponentMetadata)({name:"touchComboLike",displayName:"三连触摸支持",tags:[componentsTags.touch],enabledByDefault:navigator.maxTouchPoints>0,entry:async()=>{const{select:e}=await Promise.resolve().then(r.t.bind(r,200,23)),t=await e(":is(.ops, .video-toolbar-v1) span.like");if(!t)return;t.style.userSelect="none";const o=(e,o)=>{const n=new CustomEvent(e,o);t.dispatchEvent(n)};let n=!0;t.addEventListener("touchstart",(e=>{e.preventDefault(),n=!0,setTimeout((()=>n=!1),200),o("mousedown",e)})),t.addEventListener("touchend",(e=>{e.preventDefault(),o("mouseup",e),n&&o("click",e)}))},description:{"zh-CN":"为视频页面中的三连操作 (长按点赞) 启用触摸支持."},urlInclude:t.videoUrls,commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3"})})(),i=i.component})()));
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["touch/combo-like"]=t():e["touch/combo-like"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,o={728:e=>{e.exports=coreApis.spinQuery}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={exports:{}};return o[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var c={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&o;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>c[e]=()=>o[e]));return c.default=()=>o,r.d(i,c),i},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.d(i,{component:()=>a});const c=coreApis.componentApis.define,s=coreApis.utils.urls,a=(0,c.defineComponentMetadata)({name:"touchComboLike",displayName:"三连触摸支持",tags:[componentsTags.touch],enabledByDefault:navigator.maxTouchPoints>0,entry:async()=>{const{select:e}=await Promise.resolve().then(r.t.bind(r,728,23)),t=await e(":is(.ops, .video-toolbar-v1) span.like");if(!t)return;t.style.userSelect="none";const o=(e,o)=>{const n=new CustomEvent(e,o);t.dispatchEvent(n)};let n=!0;t.addEventListener("touchstart",(e=>{e.preventDefault(),n=!0,setTimeout((()=>n=!1),200),o("mousedown",e)})),t.addEventListener("touchend",(e=>{e.preventDefault(),o("mouseup",e),n&&o("click",e)}))},description:{"zh-CN":"为视频页面中的三连操作 (长按点赞) 启用触摸支持."},urlInclude:s.videoUrls,commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"});return i=i.component})()));
|
||||
File diff suppressed because one or more lines are too long
@ -1,4 +1,4 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["touch/mini-player"]=t():e["touch/mini-player"]=t()}(globalThis,(()=>(()=>{var e={43:(e,t,n)=>{"use strict";n.r(t),n.d(t,{touchLiveMiniPlayer:()=>i});var o=n(200);const i=async e=>{const t=await(0,o.select)(".live-player-ctnr");if(!t)return void console.warn("mini player touch move: player not found");const{enableTouchMove:i,disableTouchMove:r}=await Promise.resolve().then(n.bind(n,538));e?i(t,{minMoveDistance:10}):r(t)}},538:(e,t,n)=>{"use strict";n.r(t),n.d(t,{disableTouchMove:()=>s,enableTouchMove:()=>c});const o=coreApis.settings,i=(e,t)=>new MouseEvent(e,{screenX:t.screenX,screenY:t.screenY,clientX:t.clientX,clientY:t.clientY,bubbles:!0,cancelable:!0,view:unsafeWindow,detail:1}),r=[],a={passive:!1,capture:!0},c=(e,t)=>{if(r.some((t=>t.element===e)))return;let n,c,s;const l=lodash.get(t,"minMoveDistance",(0,o.getComponentSettings)("touchMiniPlayer").options.touchMoveDistance),u=e=>{if(e.touches.length<1)return;const t=e.touches[0];n={x:t.clientX,y:t.clientY},e.target.dispatchEvent(i("mousedown",t))};e.addEventListener("touchstart",u,a);const d=e=>{if(1!==e.touches.length)return;const t=e.touches[0],o={x:t.clientX,y:t.clientY};((e,t,n)=>Math.abs(e.x-t.x)**2+Math.abs(e.y-t.y)**2>=n*n)(n,o,l)?(e.target.dispatchEvent(i("mousemove",t)),s=!0,e.cancelable&&e.preventDefault()):s=!1,c=t};e.addEventListener("touchmove",d,a);const p=e=>{s&&(e.target.dispatchEvent(i("mouseup",c)),e.cancelable&&e.preventDefault(),s=!1)};e.addEventListener("touchend",p,a),e.addEventListener("touchcancel",p,a),r.push({element:e,touchstart:u,touchmove:d,touchend:p})},s=e=>{const t=r.findIndex((t=>t.element===e));if(-1===t)return;const n=r[t];["touchstart","touchmove","touchend"].forEach((t=>{e.removeEventListener(t,n[t],a)})),e.removeEventListener("touchcancel",n.touchend,a),r.splice(t,1)}},242:(e,t,n)=>{"use strict";n.r(t),n.d(t,{touchVideoMiniPlayer:()=>c});var o=n(200);const i=coreApis.style;var r=n(535),a=n.n(r);const c=async e=>{const t=await(0,o.select)("#bilibili-player");if(!t)return void console.warn("mini player touch move: player not found");const{enableTouchMove:r,disableTouchMove:c}=await Promise.resolve().then(n.bind(n,538)),s="touch-mini-player";e?((0,i.addStyle)(a(),s),r(t)):((0,i.removeStyle)(s),c(t))}},719:(e,t,n)=>{var o=n(355)((function(e){return e[1]}));o.push([e.id,"#bilibili-player.mini-player .drag-bar {\n touch-action: none !important;\n height: 40px !important;\n line-height: 40px !important;\n top: -40px !important;\n}\n#bilibili-player.mini-player .drag-bar i:last-child {\n margin: 10px !important;\n}",""]),e.exports=o},355:e=>{"use strict";
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["touch/mini-player"]=t():e["touch/mini-player"]=t()}(globalThis,(()=>(()=>{var e={124:(e,t,n)=>{"use strict";n.d(t,{touchLiveMiniPlayer:()=>i});var o=n(728);const i=async e=>{const t=await(0,o.select)(".live-player-ctnr");if(!t)return void console.warn("mini player touch move: player not found");const{enableTouchMove:i,disableTouchMove:r}=await Promise.resolve().then(n.bind(n,232));e?i(t,{minMoveDistance:10}):r(t)}},232:(e,t,n)=>{"use strict";n.d(t,{disableTouchMove:()=>s,enableTouchMove:()=>c});const o=coreApis.settings,i=(e,t)=>new MouseEvent(e,{screenX:t.screenX,screenY:t.screenY,clientX:t.clientX,clientY:t.clientY,bubbles:!0,cancelable:!0,view:unsafeWindow,detail:1}),r=[],a={passive:!1,capture:!0},c=(e,t)=>{if(r.some((t=>t.element===e)))return;let n,c,s;const l=lodash.get(t,"minMoveDistance",(0,o.getComponentSettings)("touchMiniPlayer").options.touchMoveDistance),u=e=>{if(e.touches.length<1)return;const t=e.touches[0];n={x:t.clientX,y:t.clientY},e.target.dispatchEvent(i("mousedown",t))};e.addEventListener("touchstart",u,a);const d=e=>{if(1!==e.touches.length)return;const t=e.touches[0],o={x:t.clientX,y:t.clientY};((e,t,n)=>Math.abs(e.x-t.x)**2+Math.abs(e.y-t.y)**2>=n*n)(n,o,l)?(e.target.dispatchEvent(i("mousemove",t)),s=!0,e.cancelable&&e.preventDefault()):s=!1,c=t};e.addEventListener("touchmove",d,a);const p=e=>{s&&(e.target.dispatchEvent(i("mouseup",c)),e.cancelable&&e.preventDefault(),s=!1)};e.addEventListener("touchend",p,a),e.addEventListener("touchcancel",p,a),r.push({element:e,touchstart:u,touchmove:d,touchend:p})},s=e=>{const t=r.findIndex((t=>t.element===e));if(-1===t)return;const n=r[t];["touchstart","touchmove","touchend"].forEach((t=>{e.removeEventListener(t,n[t],a)})),e.removeEventListener("touchcancel",n.touchend,a),r.splice(t,1)}},675:(e,t,n)=>{"use strict";n.d(t,{touchVideoMiniPlayer:()=>c});var o=n(728);const i=coreApis.style;var r=n(902),a=n.n(r);const c=async e=>{const t=await(0,o.select)("#bilibili-player");if(!t)return void console.warn("mini player touch move: player not found");const{enableTouchMove:r,disableTouchMove:c}=await Promise.resolve().then(n.bind(n,232)),s="touch-mini-player";e?((0,i.addStyle)(a(),s),r(t)):((0,i.removeStyle)(s),c(t))}},720:(e,t,n)=>{var o=n(955)((function(e){return e[1]}));o.push([e.id,"#bilibili-player.mini-player .drag-bar {\n touch-action: none !important;\n height: 40px !important;\n line-height: 40px !important;\n top: -40px !important;\n}\n#bilibili-player.mini-player .drag-bar i:last-child {\n margin: 10px !important;\n}",""]),e.exports=o},955:e=>{"use strict";
|
||||
// eslint-disable-next-line func-names
|
||||
e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},
|
||||
// eslint-disable-next-line func-names
|
||||
@ -6,4 +6,4 @@ t.i=function(e,n,o){"string"==typeof e&&(
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
e=[[null,e,""]]);var i={};if(o)for(var r=0;r<this.length;r++){
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
var a=this[r][0];null!=a&&(i[a]=!0)}for(var c=0;c<e.length;c++){var s=[].concat(e[c]);o&&i[s[0]]||(n&&(s[2]?s[2]="".concat(n," and ").concat(s[2]):s[2]=n),t.push(s))}},t}},535:(e,t,n)=>{var o=n(719);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()},200:e=>{"use strict";e.exports=coreApis.spinQuery}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var r=t[o]={id:o,exports:{}};return e[o](r,r.exports,n),r.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{"use strict";n.d(o,{component:()=>r});const e=coreApis.componentApis.define,t=coreApis.utils.urls,i=async e=>{if(document.URL.startsWith("https://live.bilibili.com")){const{touchLiveMiniPlayer:t}=await Promise.resolve().then(n.bind(n,43));await t(e)}else{const{touchVideoMiniPlayer:t}=await Promise.resolve().then(n.bind(n,242));await t(e)}},r=(0,e.defineComponentMetadata)({name:"touchMiniPlayer",displayName:"迷你播放器触摸拖动",description:{"zh-CN":"使迷你播放器的拖动条可以触摸拖动."},enabledByDefault:navigator.maxTouchPoints>0,tags:[componentsTags.touch],urlInclude:[...t.videoAndBangumiUrls,...t.liveUrls],entry:()=>i(!0),reload:()=>i(!0),unload:()=>i(!1),options:{touchMoveDistance:{displayName:"拖动触发最小距离",defaultValue:10,hidden:!0}},commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3"})})(),o=o.component})()));
|
||||
var a=this[r][0];null!=a&&(i[a]=!0)}for(var c=0;c<e.length;c++){var s=[].concat(e[c]);o&&i[s[0]]||(n&&(s[2]?s[2]="".concat(n," and ").concat(s[2]):s[2]=n),t.push(s))}},t}},902:(e,t,n)=>{var o=n(720);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()},728:e=>{"use strict";e.exports=coreApis.spinQuery}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var r=t[o]={id:o,exports:{}};return e[o](r,r.exports,n),r.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var o={};return(()=>{"use strict";n.d(o,{component:()=>r});const e=coreApis.componentApis.define,t=coreApis.utils.urls,i=async e=>{if(document.URL.startsWith("https://live.bilibili.com")){const{touchLiveMiniPlayer:t}=await Promise.resolve().then(n.bind(n,124));await t(e)}else{const{touchVideoMiniPlayer:t}=await Promise.resolve().then(n.bind(n,675));await t(e)}},r=(0,e.defineComponentMetadata)({name:"touchMiniPlayer",displayName:"迷你播放器触摸拖动",description:{"zh-CN":"使迷你播放器的拖动条可以触摸拖动."},enabledByDefault:navigator.maxTouchPoints>0,tags:[componentsTags.touch],urlInclude:[...t.videoAndBangumiUrls,...t.liveUrls],entry:()=>i(!0),reload:()=>i(!0),unload:()=>i(!1),options:{touchMoveDistance:{displayName:"拖动触发最小距离",defaultValue:10,hidden:!0}},commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"})})(),o=o.component})()));
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
registry/dist/components/utils/active-video-links.js
vendored
Normal file
1
registry/dist/components/utils/active-video-links.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/active-video-links"]=t():e["utils/active-video-links"]=t()}(globalThis,(()=>(()=>{var e,t,o={642:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=642,e.exports=t},401:e=>{"use strict";e.exports="这个组件会将视频简介中的普通网址转换为可点击的链接,并将<del>被 Bilibili 抛弃</del>已失效的 `acg.tv` 跳转链接修复为 `nicovideo.jp` 链接。\n\n例如: `https://acg.tv/sm37507315` → `https://www.nicovideo.jp/watch/sm37507315`\n\n<i>本组件不会保证目标链接的安全性,因此在点击前请自行验证其是否可信</i>\n"}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var c=n[e]={exports:{}};return o[e](c,c.exports,r),c.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var c=Object.create(null);r.r(c);var i={};e=e||[null,t({}),t([]),t(t)];for(var l=2&n&&o;"object"==typeof l&&!~e.indexOf(l);l=t(l))Object.getOwnPropertyNames(l).forEach((e=>i[e]=()=>o[e]));return i.default=()=>o,r.d(c,i),c},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var c={};return(()=>{"use strict";r.d(c,{component:()=>a});const e=coreApis.componentApis.define,t=coreApis.utils.log,o=coreApis.utils.urls,n=(0,t.useScopedConsole)("activeVideoLinks");let i=null;const l=/(?<!(\>|'|"|\/))(http:\/\/|https:\/\/|www\.)[^(\s,;())]+/g,s=()=>{try{document.querySelectorAll('a[href*="acg.tv"][href*="sm"]').forEach((e=>{const t=e.getAttribute("href");if(t){const o=t.replace("acg.tv","nicovideo.jp/watch");e.setAttribute("href",o),n.log(`Niconico Fix: ${t} → ${o}`)}})),(()=>{const e=document.querySelector(".desc-info-text");if(!e)return;const t=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,{acceptNode:e=>e.parentElement?.closest("a")?NodeFilter.FILTER_REJECT:l.test(e.textContent||"")?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}),o=[];let n=t.nextNode();for(;null!==n;)o.push(n),n=t.nextNode();o.forEach((e=>{const t=document.createDocumentFragment(),o=e.textContent||"";let n,r=0;for(l.lastIndex=0,n=l.exec(o);null!==n;){const e=n.index;r<e&&t.appendChild(document.createTextNode(o.slice(r,e)));const c=n[0],i=c.replace(/^https?:\/\//,"//").replace(/^www\./,"//"),s=document.createElement("a");s.href=i,s.target="_blank",s.textContent=c,t.appendChild(s),r=e+c.length,n=l.exec(o)}r<o.length&&t.appendChild(document.createTextNode(o.slice(r))),e.parentNode?.replaceChild(t,e)}))})(),(()=>{const e=document.querySelector(".desc-info-text");if(!e)return;const t=Array.from(e.querySelectorAll("a"));for(let e=0;e<t.length-1;e++){const o=t[e],r=t[e+1],c=o.getAttribute("href")||"",i=r.textContent?.trim()||"",l=r.getAttribute("href")||"";if(/^(https?:)?\/\/(www\.)?nicovideo\.jp\/watch\/?$/.test(c)&&/^sm\d+$/.test(i)&&l.includes(`/watch/${i}`)){const t=l.replace(/^(https?:)?/,"//"),c=document.createElement("a");c.href=t,c.target="_blank",c.textContent=i,o.replaceWith(c),r.remove(),n.log(`Merged Nico link: ${i}`),e++}}})()}catch(e){n.error("处理链接时遇到 Error:",e)}},d=()=>{n.log("视频链接增强已启用"),s(),i&&i.disconnect(),i=new MutationObserver(s),i.observe(document.documentElement,{childList:!0,subtree:!0}),n.log("已设置 Observer")},a=(0,e.defineComponentMetadata)({name:"activeVideoLinks",displayName:"视频链接增强",tags:[componentsTags.utils],entry:d,reload:d,unload:()=>{i&&(i.disconnect(),i=null)},urlInclude:o.videoUrls,author:{name:"Alan Ye",link:"https://github.com/at-wr"},commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4",description:(()=>{const e=r(642);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,401,17)).then((e=>e.default))}})()})})(),c=c.component})()));
|
||||
11
registry/dist/components/utils/album-time-show.js
vendored
Normal file
11
registry/dist/components/utils/album-time-show.js
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["utils/album-time-show"]=e():t["utils/album-time-show"]=e()}(globalThis,(()=>(()=>{var t,e,o={860:(t,e,o)=>{var n=o(955)((function(t){return t[1]}));n.push([t.id,'@charset "UTF-8";\n/* 保持相簿元素高度 */\n.album-card {\n margin-bottom: 21px;\n}\n\n/* 上移原互动数据 */\n.album-card .album-card__info {\n margin-top: -5px;\n}\n\n/* 相簿发布时间样式 */\n.album-pub-time {\n color: #99a2aa;\n position: absolute;\n margin-top: -5px;\n}\nbody.dark .album-pub-time {\n color: #aaa;\n}',""]),t.exports=n},955:t=>{"use strict";
|
||||
// eslint-disable-next-line func-names
|
||||
t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var o=t(e);return e[2]?"@media ".concat(e[2]," {").concat(o,"}"):o})).join("")},
|
||||
// eslint-disable-next-line func-names
|
||||
e.i=function(t,o,n){"string"==typeof t&&(
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
t=[[null,t,""]]);var r={};if(n)for(var a=0;a<this.length;a++){
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
var i=this[a][0];null!=i&&(r[i]=!0)}for(var c=0;c<t.length;c++){var s=[].concat(t[c]);n&&r[s[0]]||(o&&(s[2]?s[2]="".concat(o," and ").concat(s[2]):s[2]=o),e.push(s))}},e}},709:(t,e,o)=>{var n=o(860);n&&n.__esModule&&(n=n.default),t.exports="string"==typeof n?n:n.toString()},479:t=>{"use strict";t.exports=coreApis.style}},n={};function r(t){var e=n[t];if(void 0!==e)return e.exports;var a=n[t]={id:t,exports:{}};return o[t](a,a.exports,r),a.exports}e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var a=Object.create(null);r.r(a);var i={};t=t||[null,e({}),e([]),e(e)];for(var c=2&n&&o;"object"==typeof c&&!~t.indexOf(c);c=e(c))Object.getOwnPropertyNames(c).forEach((t=>i[t]=()=>o[t]));return i.default=()=>o,r.d(a,i),a},r.d=(t,e)=>{for(var o in e)r.o(e,o)&&!r.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var a={};return(()=>{"use strict";r.d(a,{component:()=>c});const t=coreApis.componentApis.define,e=coreApis.observer,o=coreApis.spinQuery;let n,i;const c=(0,t.defineComponentMetadata)({name:"albumPubTimeShow",author:{name:"Light_Quanta",link:"https://github.com/LightQuanta"},displayName:"相簿发布时间显示",tags:[componentsTags.utils],urlInclude:[/^https:\/\/space\.bilibili\.com/],entry:async()=>{const t=await(0,o.select)(".s-space");(0,e.childList)(t,(async()=>{document.URL.match(/^https:\/\/space\.bilibili\.com\/\d+\/album/)&&(n=await(0,o.select)(".album-list__content"),(async t=>{const[o]=(0,e.attributesSubtree)(t,(()=>{n.querySelectorAll(".album-card").forEach((t=>{const e=t.querySelector(".album-pub-time"),o=t.__vue__.item.ctime;
|
||||
// eslint-disable-next-line no-underscore-dangle
|
||||
void 0!==o&&(null!==e?e.innerHTML=new Date(1e3*o).toLocaleString():t.insertAdjacentHTML("beforeend",`<div class="album-pub-time">${new Date(1e3*o).toLocaleString()}</div>`))}))}));i?.disconnect(),i=o;const{addImportantStyle:a}=await Promise.resolve().then(r.t.bind(r,479,23)),{default:c}=await Promise.resolve().then(r.t.bind(r,709,23));a(c,"album-pub-time-style")})(n))}))},description:{"zh-CN":"在相簿界面显示相簿的发布时间"},commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"})})(),a=a.component})()));
|
||||
17
registry/dist/components/utils/auto-like.js
vendored
17
registry/dist/components/utils/auto-like.js
vendored
File diff suppressed because one or more lines are too long
8
registry/dist/components/utils/black-list.js
vendored
8
registry/dist/components/utils/black-list.js
vendored
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/change-update-urls"]=t():e["utils/change-update-urls"]=t()}(globalThis,(()=>(()=>{"use strict";var e={409:(e,t,o)=>{o.r(t),o.d(t,{default:()=>c});var n=function(){var e=this,t=e.$createElement;return(e._self._c||t)("DefaultWidget",{attrs:{name:"替换更新链接",icon:"mdi-file-replace-outline",disabled:e.busy},on:{click:function(t){return e.replaceBranch()}}})};n._withStripped=!0;const r=coreApis.settings,i=coreApis.toast,s=coreApis.utils.log,l=coreApis.ui;var a=function(e,t,o,n,r,i,s,l){var a,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=o,c._compiled=!0),n&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),s?(a=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},c._ssrRegister=a):r&&(a=l?function(){r.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:r),a)if(c.functional){c._injectStyles=a;var u=c.render;c.render=function(e,t){return a.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,a):[a]}return{exports:e,options:c}}(Vue.extend({components:{DefaultWidget:l.DefaultWidget},data:()=>({busy:!1}),methods:{async replaceBranch(){const e=window.prompt("输入希望替换成的分支名称");if(e){this.busy=!0;try{const{options:t}=(0,r.getComponentSettings)("autoUpdate");Object.values(t.urls).forEach((t=>{Object.values(t).forEach((t=>{const o=/^(https:\/\/github\.com\/.+\/Bilibili-Evolved\/raw\/)(.+?)(\/)/;if(o.test(t.url))return void(t.url=t.url.replace(o,`$1${e}$3`));const n=/^(https:\/\/raw\.githubusercontent\.com\/.+\/Bilibili-Evolved\/)(.+?)(\/)/;if(n.test(t.url))return void(t.url=t.url.replace(n,`$1${e}$3`));const r=/^(https:\/\/cdn\.jsdelivr\.net\/gh\/.+\/Bilibili-Evolved@)(.+?)(\/)/;r.test(t.url)?t.url=t.url.replace(r,`$1${e}$3`):console.log("skip record",t)}))})),i.Toast.info("替换完成","替换更新链接",3e3)}catch(e){(0,s.logError)(e)}finally{this.busy=!1}}}}}),n,[],!1,null,null,null);a.options.__file="registry/lib/components/utils/change-update-urls/Widget.vue";const c=a.exports}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{o.d(n,{component:()=>e});const e=(0,coreApis.componentApis.define.defineComponentMetadata)({name:"changeUpdateUrls",displayName:"更新链接替换",description:"批量更换已安装功能的更新链接的分支, 对本地安装的功能无效.",entry:none,tags:[componentsTags.utils],widget:{component:()=>Promise.resolve().then(o.bind(o,409)).then((e=>e.default))},commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3"})})(),n=n.component})()));
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/change-update-urls"]=t():e["utils/change-update-urls"]=t()}(globalThis,(()=>(()=>{"use strict";var e={492:(e,t,o)=>{o.r(t),o.d(t,{default:()=>c});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("DefaultWidget",{attrs:{name:"替换更新链接",icon:"mdi-file-replace-outline",disabled:e.busy},on:{click:function(t){return e.replaceBranch()}}})};n._withStripped=!0;const r=coreApis.settings,i=coreApis.toast,s=coreApis.utils.log,l=coreApis.ui;var a=function(e,t,o,n,r,i,s,l){var a,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=o,c._compiled=!0),n&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),s?(a=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},c._ssrRegister=a):r&&(a=l?function(){r.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:r),a)if(c.functional){c._injectStyles=a;var u=c.render;c.render=function(e,t){return a.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,a):[a]}return{exports:e,options:c}}(Vue.extend({components:{DefaultWidget:l.DefaultWidget},data:()=>({busy:!1}),methods:{async replaceBranch(){const e=window.prompt("输入希望替换成的分支名称");if(e){this.busy=!0;try{const{options:t}=(0,r.getComponentSettings)("autoUpdate");Object.values(t.urls).forEach((t=>{Object.values(t).forEach((t=>{const o=/^(https:\/\/github\.com\/.+\/Bilibili-Evolved\/raw\/)(.+?)(\/)/;if(o.test(t.url))return void(t.url=t.url.replace(o,`$1${e}$3`));const n=/^(https:\/\/raw\.githubusercontent\.com\/.+\/Bilibili-Evolved\/)(.+?)(\/)/;if(n.test(t.url))return void(t.url=t.url.replace(n,`$1${e}$3`));const r=/^(https:\/\/cdn\.jsdelivr\.net\/gh\/.+\/Bilibili-Evolved@)(.+?)(\/)/;r.test(t.url)?t.url=t.url.replace(r,`$1${e}$3`):console.log("skip record",t)}))})),i.Toast.info("替换完成","替换更新链接",3e3)}catch(e){(0,s.logError)(e)}finally{this.busy=!1}}}}}),n,[],!1,null,null,null);const c=a.exports}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};o.d(n,{component:()=>r});const r=(0,coreApis.componentApis.define.defineComponentMetadata)({name:"changeUpdateUrls",displayName:"更新链接替换",description:"批量更换已安装功能的更新链接的分支, 对本地安装的功能无效.",entry:none,tags:[componentsTags.utils],widget:{component:()=>Promise.resolve().then(o.bind(o,492)).then((e=>e.default))},commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"});return n=n.component})()));
|
||||
@ -1 +1 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/check-in-center"]=t():e["utils/check-in-center"]=t()}(globalThis,(()=>(()=>{"use strict";var e={700:(e,t,n)=>{n.r(t),n.d(t,{default:()=>u});var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"multiple-widgets"},e._l(e.items,(function(t){return n("DefaultWidget",{key:t.name,attrs:{disabled:t.disabled,"data-name":t.name,name:t.displayName,icon:t.icon},on:{click:function(n){return e.runItemAction(t,n)}}})})),1)};o._withStripped=!0;const i=coreApis.ui,s=coreApis.ajax,a=coreApis.toast;var r=n(605);const c=coreApis.pluginApis.data,l=[{name:"seeds-to-coins",displayName:"瓜子换硬币",icon:"mdi-seed-outline",action:async()=>{const e=await(0,s.postTextWithCredentials)("https://api.live.bilibili.com/xlive/revenue/v1/wallet/silver2coin",(0,r.formData)({csrf:(0,r.getCsrf)(),csrf_token:(0,r.getCsrf)()})),t=JSON.parse(e);0!==t.code?a.Toast.info(t.message,"瓜子换硬币",3e3):a.Toast.success(`${t.message}\n剩余银瓜子:${t.data.silver}`,"瓜子换硬币",3e3)}},{name:"live-check-in",displayName:"直播间签到",icon:"mdi-calendar-check",action:async()=>{const e=await(0,s.getJsonWithCredentials)("https://api.live.bilibili.com/xlive/web-ucenter/v1/sign/DoSign");if(0!==e.code)a.Toast.info(e.message,"直播间签到",3e3);else{const{text:t,specialText:n,allDays:o,hadSignDays:i}=e.data,s=`签到成功, 获得了${t} ${n}\n本月进度: ${i} / ${o}`;a.Toast.success(s,"直播间签到",3e3)}}}],[d]=(0,c.registerAndGetData)("checkInCenter.items",l);var p=function(e,t,n,o,i,s,a,r){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),o&&(l.functional=!0),s&&(l._scopeId="data-v-"+s),a?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=c):i&&(c=r?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(l.functional){l._injectStyles=c;var d=l.render;l.render=function(e,t){return c.call(t),d(e,t)}}else{var p=l.beforeCreate;l.beforeCreate=p?[].concat(p,c):[c]}return{exports:e,options:l}}(Vue.extend({components:{DefaultWidget:i.DefaultWidget},data:()=>({items:d}),methods:{async runItemAction(e,t){try{this.$set(e,"disabled",!0);const n=this.$el.querySelector(`[data-name='${e.name}']`);await e.action(n,t)}finally{e.disabled=!1}}}}),o,[],!1,null,null,null);p.options.__file="registry/lib/components/utils/check-in-center/Widget.vue";const u=p.exports},605:e=>{e.exports=coreApis.utils}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var s=t[o]={exports:{}};return e[o](s,s.exports,n),s.exports}n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{n.d(o,{component:()=>i});const e=coreApis.componentApis.define;var t=n(605);const i=(0,e.defineComponentMetadata)({name:"checkInCenter",displayName:"签到助手",description:{"zh-CN":"在功能面板中提供一些可以每日进行的操作."},tags:[componentsTags.utils],entry:none,widget:{component:()=>Promise.resolve().then(n.bind(n,700)).then((e=>e.default)),condition:()=>Boolean((0,t.getUID)())},commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3"})})(),o=o.component})()));
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/check-in-center"]=t():e["utils/check-in-center"]=t()}(globalThis,(()=>(()=>{"use strict";var e={534:(e,t,n)=>{n.r(t),n.d(t,{default:()=>u});var o=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"multiple-widgets"},e._l(e.items,(function(n){return t("DefaultWidget",{key:n.name,attrs:{disabled:n.disabled,"data-name":n.name,name:n.displayName,icon:n.icon},on:{click:function(t){return e.runItemAction(n,t)}}})})),1)};o._withStripped=!0;const i=coreApis.ui,s=coreApis.ajax,r=coreApis.toast;var a=n(847);const c=coreApis.pluginApis.data,d=[{name:"seeds-to-coins",displayName:"瓜子换硬币",icon:"mdi-seed-outline",action:async()=>{const e=await(0,s.postTextWithCredentials)("https://api.live.bilibili.com/xlive/revenue/v1/wallet/silver2coin",new URLSearchParams({csrf:(0,a.getCsrf)(),csrf_token:(0,a.getCsrf)()})),t=JSON.parse(e);0!==t.code?r.Toast.info(t.message,"瓜子换硬币",3e3):r.Toast.success(`${t.message}\n剩余银瓜子:${t.data.silver}`,"瓜子换硬币",3e3)}}],[l]=(0,c.registerAndGetData)("checkInCenter.items",d);var p=function(e,t,n,o,i,s,r,a){var c,d="function"==typeof e?e.options:e;if(t&&(d.render=t,d.staticRenderFns=n,d._compiled=!0),o&&(d.functional=!0),s&&(d._scopeId="data-v-"+s),r?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},d._ssrRegister=c):i&&(c=a?function(){i.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(d.functional){d._injectStyles=c;var l=d.render;d.render=function(e,t){return c.call(t),l(e,t)}}else{var p=d.beforeCreate;d.beforeCreate=p?[].concat(p,c):[c]}return{exports:e,options:d}}(Vue.extend({components:{DefaultWidget:i.DefaultWidget},data:()=>({items:l}),methods:{async runItemAction(e,t){try{this.$set(e,"disabled",!0);const n=this.$el.querySelector(`[data-name='${e.name}']`);await e.action(n,t)}finally{e.disabled=!1}}}}),o,[],!1,null,null,null);const u=p.exports},847:e=>{e.exports=coreApis.utils}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var s=t[o]={exports:{}};return e[o](s,s.exports,n),s.exports}n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};n.d(o,{component:()=>r});const i=coreApis.componentApis.define;var s=n(847);const r=(0,i.defineComponentMetadata)({name:"checkInCenter",displayName:"签到助手",description:{"zh-CN":"在功能面板中提供一些可以每日进行的操作."},tags:[componentsTags.utils],entry:none,widget:{component:()=>Promise.resolve().then(n.bind(n,534)).then((e=>e.default)),condition:()=>Boolean((0,s.getUID)())},commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"});return o=o.component})()));
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user