Compare commits

...

408 Commits

Author SHA1 Message Date
github-actions[bot]
c0d915e3da CI build
Some checks failed
Build / build (push) Has been cancelled
2025-09-11 01:38:19 +00:00
the1812
f8d9b5665f Merge branch 'preview-fixes' 2025-09-11 09:36:09 +08:00
the1812
3576c95ad6 Update changelog 2025-09-11 09:25:43 +08:00
the1812
6451118b09 Update docs 2025-09-11 09:21:08 +08:00
the1812
d42f0221ee Update donate history 2025-09-11 09:19:06 +08:00
the1812
5c11125431 Update version number 2025-09-11 09:11:08 +08:00
the1812
22c77e2d8b Update changelog 2025-09-11 09:10:51 +08:00
ImAyx
053c478cc2 Update dark mode excludes (fix #5353) 2025-09-09 21:53:33 +08:00
github-actions[bot]
4c530118a5 CI build
Some checks are pending
Build / build (push) Waiting to run
2025-09-09 13:53:01 +00:00
Grant Howard
2c87b1facc
Merge pull request #5354 from Ayx03/patch-1
Update dark mode excludes (fix #5353)
2025-09-09 21:50:47 +08:00
ImAyx
b8d47152de
Update dark mode excludes (fix #5353) 2025-09-06 14:46:35 +08:00
the1812
5e80b054d2 Fix reply content not replaced (fix #4843) 2025-09-02 09:00:21 +08:00
the1812
95ee56b53a Merge branch 'preview-fixes' of https://github.com/the1812/Bilibili-Evolved into preview-fixes 2025-08-29 08:26:33 +08:00
the1812
300d535b0a Fix live url (fix #5306) 2025-08-29 08:25:10 +08:00
the1812
6aded9e0e8 Fix season type (fix #5292) 2025-08-29 08:21:43 +08:00
Grant Howard
1573b86d50
Merge pull request #5325 from pencilqaq/preview-fixes
Preview-fixes
2025-08-17 20:57:43 +08:00
Grant Howard
2b97931ea0
Merge pull request #5328 from kkkkkkkk566/preview-fixes
获取room_id兼容blanc原版直播间
2025-08-17 20:54:25 +08:00
Pencilqaq
32fe44ba00 - 移除 Widget.vue 中未使用的 midRegex 正则
- 改用 src/core/utils/urls
2025-08-14 01:58:15 +08:00
xiezibuyongbi
d73be3ec7c
ES lint 2025-08-13 09:08:31 +08:00
xiezibuyongbi
8046b36bd0
Merge branch 'the1812:preview-fixes' into preview-fixes 2025-08-13 09:07:21 +08:00
the1812
9e16d64d0b Merge branch 'preview-fixes' of https://github.com/the1812/Bilibili-Evolved into preview-fixes 2025-08-13 08:59:38 +08:00
Grant Howard
f3b8fe5e13
Merge pull request #5327 from WakelessSloth56/preview-fixes
[组件 - 隐藏用户信息卡片] 修复以适配新版评论区
2025-08-13 08:55:21 +08:00
the1812
5f243a666a Update ad rules (fix #5160) 2025-08-13 08:54:46 +08:00
xiezibuyongbi
992b24a5e2
获取room_id兼容blanc原版直播间 2025-08-11 22:08:32 +08:00
WakelessSloth56
c4fab85054
fix: fix component hideUserCard 2025-08-11 16:54:28 +08:00
Pencilqaq
8edbdbf754 fix:表情包下载失效
Fixes #5320
2025-08-10 03:05:45 +08:00
the1812
4840c2f83d Merge branch 'preview-fixes' of https://github.com/the1812/Bilibili-Evolved into preview-fixes 2025-08-01 08:48:00 +08:00
the1812
23a97e7bfa Update main site urls 2025-08-01 08:47:49 +08:00
Grant Howard
4f60b001c8
Merge pull request #5309 from wsgh0202/feat-removePromotions
【新增功能】删除广告组件新增移除占位选项
2025-07-31 22:51:35 +08:00
wsgh0202
d46ab3500b
feat: 添加移除占位选项 2025-07-26 00:32:57 +08:00
wsgh0202
b08f444fdc
refactor: 修改选项为switch方式 2025-07-25 23:49:44 +08:00
Grant Howard
27f41b0370
Merge pull request #5307 from wsgh0202/fix-removePromotions
【修复】删除广告组件部分广告屏蔽失效
2025-07-25 20:18:21 +08:00
wsgh0202
5ee2af14bb
docs: 更新选项名称 2025-07-25 20:15:20 +08:00
wsgh0202
c0407d0fbc
Update registry/lib/components/utils/remove-promotions/index.md
Co-authored-by: Grant Howard <the1812@outlook.com>
2025-07-25 20:02:52 +08:00
wsgh0202
090dc7c069
fix: 修复视频搜索页广告没有屏蔽(#5160) 2025-07-25 19:26:59 +08:00
wsgh0202
4ec6faec2b
feat: 添加debug选项 2025-07-25 19:26:53 +08:00
wsgh0202
6fe8acfe1f
fix: 修复占位文本不显示
- 使用类名定位广告卡片而不是属性
  - 参考 #5160,广告链接不只一种模式
  - 理论上能提高些许性能
- 使用css实现占位文本
2025-07-25 19:26:48 +08:00
wsgh0202
8e1ea3581b
fix: 换一换区域广告没有占位 2025-07-25 19:26:43 +08:00
wsgh0202
8656dbfd57
fix: 修复小程序广告没有屏蔽 2025-07-25 19:26:34 +08:00
github-actions[bot]
9ce5fa256b CI build
Some checks failed
Build / build (push) Has been cancelled
2025-07-23 12:16:39 +00:00
the1812
0d7fac9836 Merge branch 'preview-fixes' 2025-07-23 20:14:25 +08:00
the1812
6bb378ec3b Update changelog 2025-07-23 20:14:05 +08:00
Grant Howard
ebf87b7ed5 Merge pull request #5287 from wsgh0202/fix-hide-home-carousel
fix: 隐藏首页轮播图失效
2025-07-23 20:13:06 +08:00
the1812
f136369e4f Update changelog 2025-07-23 20:11:10 +08:00
the1812
f8b5092e55 Update changelog 2025-07-23 08:41:04 +08:00
github-actions[bot]
ab048b3e66 CI build
Some checks are pending
Build / build (push) Waiting to run
2025-07-22 15:52:11 +00:00
the1812
4b3a1a3870 Merge branch 'preview-fixes' 2025-07-22 23:49:59 +08:00
the1812
acac416455 Fix type error 2025-07-22 23:38:27 +08:00
the1812
c85fc06e51 Update docs 2025-07-22 23:10:14 +08:00
the1812
076dc47b55 Update donate history 2025-07-22 23:08:59 +08:00
the1812
993b726d97 Update version number 2025-07-22 09:34:40 +08:00
the1812
afa034db9a Merge tag 'v2.10.2-preview' into preview-fixes 2025-07-22 09:33:51 +08:00
the1812
3cba41aec6 Update changelog 2025-07-22 09:33:43 +08:00
Grant Howard
921493aceb
Merge pull request #5285 from CNOCM/fix/subscribeTimeShow
refactor(subscribeTimeShow): 优化
2025-07-18 09:02:44 +08:00
CNOCM
b8c8485671
Update index.ts 2025-07-03 14:42:34 +08:00
CNOCM
527b45e299 refactor(subscribeTimeShow): 优化 2025-06-30 11:31:17 +08:00
github-actions[bot]
0b52ee020d CI build
Some checks failed
Build / build (push) Has been cancelled
2025-06-29 03:41:09 +00:00
the1812
0b9c618b22 Merge branch 'preview-fixes' 2025-06-29 11:38:51 +08:00
Grant Howard
044f27bde5
Merge pull request #5282 from CNOCM/fix/subscribeTimeShow
fix(subscribeTimeShow): 修复关注时间显示逻辑
2025-06-26 23:50:03 +08:00
CNOCM
774a39527a feat(subscribeTimeShow): 增强关注时间显示功能 2025-06-26 23:33:34 +08:00
CNOCM
94ee786613 fix(subscribeTimeShow): 修复关注时间显示逻辑 2025-06-26 15:29:19 +08:00
Grant Howard
6f2012b551
Merge pull request #5276 from RtYkk/fix-hot-search
feat: adapt filter for new bilibili search-trendings section
2025-06-24 08:27:20 +08:00
Whalko
809e74cda0
feat: add search-trendings in sidebar filter options 2025-06-22 10:40:19 +08:00
Whalko
0e53afcf15
feat: add search-trendings filter for new bilibili hot search section 2025-06-22 10:38:22 +08:00
Grant Howard
b49716eaea
Merge pull request #5266 from wisokey/preview-fixes
显示视频投稿时间适配合集类页面
2025-06-15 10:45:20 +08:00
wisokey
426156f51b 显示视频投稿时间适配合集类页面 2025-06-14 11:58:04 +08:00
Grant Howard
cd57a036e2
Merge pull request #5241 from sunfkny/fix-auto-remove-watchlater
[组件-自动移出稍后再看] 优化事件监听逻辑,防止重复监听导致重复调用接口
2025-06-14 10:14:49 +08:00
hyrious
4c3ee2da53 Fix icon colors in dark theme in home page 2025-06-11 20:13:56 +08:00
github-actions[bot]
b081a28720 CI build
Some checks failed
Build / build (push) Has been cancelled
2025-06-11 05:02:33 +00:00
Grant Howard
744ee19a27
Merge pull request #5240 from hyrious/patch-1 2025-06-11 13:00:24 +08:00
sunfkny
304b1aaa9c [组件-自动移出稍后再看] 优化事件监听逻辑,防止重复监听导致重复调用接口 2025-06-01 22:47:13 +08:00
hyrious
29bb743eec
Fix icon colors in dark theme in home page 2025-06-01 17:59:07 +08:00
github-actions[bot]
3bfd9f5831 CI build
Some checks failed
Build / build (push) Has been cancelled
2025-05-30 14:29:35 +00:00
the1812
e4dd22d0dc Merge branch 'master' of https://github.com/the1812/Bilibili-Evolved 2025-05-30 22:27:06 +08:00
the1812
b9c6c8f4b9 Merge branch 'preview-fixes' 2025-05-30 22:27:02 +08:00
the1812
716f7b4ed9 Merge branch 'preview-fixes' into preview-features 2025-05-30 22:13:24 +08:00
the1812
722123937b Update docs 2025-05-30 22:13:02 +08:00
the1812
374c7da873 Update donate history 2025-05-30 22:10:54 +08:00
the1812
dd22dbb607 Upgrade csv parser and fix outdated lockfile 2025-05-30 22:08:30 +08:00
the1812
e4beae71c7 Update version number 2025-05-30 08:26:41 +08:00
the1812
4c1e21014b Update changelog 2025-05-30 08:26:13 +08:00
the1812
7b7e0c3dfa Revert disableSpecialDanmaku options 2025-05-30 07:58:55 +08:00
the1812
ac09466bfd Add option for deleted list 2025-05-29 22:32:05 +08:00
the1812
a2eabc3ae5 Merge branch 'preview-fixes' into preview-features 2025-05-29 22:26:37 +08:00
the1812
99da661f3e Update dark styles 2025-05-29 22:25:09 +08:00
the1812
062b6a465e Update dark styles 2025-05-29 08:32:14 +08:00
the1812
4a0a14cbec Merge branch 'preview-features' of https://github.com/the1812/Bilibili-Evolved into preview-features 2025-05-28 22:50:10 +08:00
the1812
c9de7dbfae Merge branch 'preview-fixes' into preview-features 2025-05-28 22:48:49 +08:00
the1812
953f480de9 Fix empty recommend items 2025-05-28 21:24:14 +08:00
the1812
1d10e48edb Add pinned and hidden list options 2025-05-28 19:58:05 +08:00
the1812
f2a1525d06 Prevent infinite loop 2025-05-28 09:32:41 +08:00
the1812
e8d9e711dd Update component detail styles 2025-05-28 09:32:19 +08:00
the1812
4f13240007 Update player popup styles 2025-05-25 14:41:11 +08:00
the1812
9b3c3576fc Fix array option not updated 2025-05-24 20:10:16 +08:00
the1812
9960908cc7 Refactor to Vue 3 syntax 2025-05-23 21:01:04 +08:00
the1812
779bf88e24 Fix video cover aspect ratio 2025-05-17 14:02:09 +08:00
the1812
7170600900 Update rank data for freshHome (fix #5211) 2025-05-15 09:38:30 +08:00
the1812
739e0d3912 Update history link (#5218) 2025-05-14 09:08:09 +08:00
the1812
cd5329f11c Ignore focus by default (fix #5225) 2025-05-14 09:05:51 +08:00
the1812
fa060550f1 Merge branch 'preview-fixes' of https://github.com/the1812/Bilibili-Evolved into preview-fixes 2025-05-14 08:42:23 +08:00
the1812
7ffb224774 Fix self-repost option (#5229) 2025-05-13 23:02:17 +08:00
Grant Howard
732364962e
Merge pull request #5222 from CrazyboyQCD/preview-fixes
fix: 自动点赞忽略黑名单的问题
2025-05-12 23:21:09 +08:00
CrazyboyQCD
5d49d33c14 fix: 自动点赞忽略黑名单的问题 2025-05-03 20:30:25 +08:00
Grant Howard
406b2f6318
Merge pull request #5217 from OharaRinneY/dev
添加根据关注分组筛选动态功能
2025-04-28 20:47:59 +08:00
Rinne
0443ba68f3 optimize import 2025-04-28 11:59:58 +08:00
Rinne
c69e309472 优化 responsiveGetPages,避免频繁请求被风控 2025-04-28 11:55:57 +08:00
Rinne
777e2d3d9b 将 responsiveGetPages 更改为并行的 2025-04-28 11:48:57 +08:00
Rinne
46710c8f42 优化变量名,修改组件name,优化api调用 2025-04-28 10:13:25 +08:00
Grant Howard
9608d90a69
Merge pull request #5215 from at-wr/preview-features
fix(active-video-links): nicovideo url fix (#5214)
2025-04-28 07:52:52 +08:00
Rinne
435e1a88ad fix bug 2025-04-28 03:03:17 +08:00
Rinne
fb1b2c0cfb 添加根据关注分组筛选动态功能 2025-04-28 00:16:02 +08:00
Alan Ye
9db33360a9
fix(eslint): make eslint happy 2025-04-27 22:49:47 +08:00
Alan Ye
a006bdaef2
style(active-video-links): obey eslint format 2025-04-27 22:37:57 +08:00
Alan Ye
6e8780a9c2
fix(active-video-links): nicovideo url fix 2025-04-27 22:31:12 +08:00
Grant Howard
b3189a328c
Merge pull request #5207 from magicFeirl/preview-features-trending-search-liveroom
[功能 - 组件 - 隐藏热搜] 添加直播间搜索框的热搜隐藏功能
2025-04-12 13:38:15 +08:00
magicFeirl
82f0e97a1a fix: 类型注解 2025-04-12 13:24:31 +08:00
the1812
20b9a0c3f9 Fix vip danmaku styles (fix #5208) 2025-04-11 19:45:27 +08:00
Grant Howard
c4ba3edcd1
Merge pull request #5205 from magicFeirl/preview-features-watchlater-page-redirect
feat: 添加稍后再看页面重定向组件
2025-04-10 22:46:46 +08:00
magicFeirl
1616061f65 feat: 隐藏直播间热搜 2025-04-10 21:50:26 +08:00
magicFeirl
5c885dcf48 chore: add author info 2025-04-10 21:18:26 +08:00
the1812
5cffe994fa Update blocker styles (#5135) 2025-04-10 21:11:33 +08:00
the1812
1dae00e324 Update courses type in feeds (#5135) 2025-04-10 21:11:19 +08:00
github-actions[bot]
3fdabaa64c CI build
Some checks failed
Build / build (push) Has been cancelled
2025-04-09 11:40:02 +00:00
the1812
8c9c89e753 Merge branch 'preview-fixes' 2025-04-09 19:37:49 +08:00
the1812
50c55f353c Improve pointer events for navbar popup (fix #5189) 2025-04-09 19:37:30 +08:00
magicFeirl
fbbe32fc35 feat: 添加稍后再看页面重定向组件 2025-04-09 13:54:14 +08:00
github-actions[bot]
78fbebad3a CI build
Some checks are pending
Build / build (push) Waiting to run
2025-04-09 01:02:05 +00:00
the1812
95fd680f29 Merge branch 'preview-fixes' 2025-04-09 08:59:50 +08:00
the1812
4e8221f089 Update docs 2025-04-09 08:53:09 +08:00
the1812
e9e58f08c9 Merge branch 'preview-fixes' into preview-features 2025-04-09 08:51:57 +08:00
the1812
f73c0c9c8f Update changelog 2025-04-09 08:43:00 +08:00
the1812
dffe270a43 Update docs 2025-04-09 08:41:58 +08:00
the1812
926061a489 Update version number 2025-04-09 08:35:24 +08:00
the1812
985da1b7de Update changelog 2025-04-09 08:35:10 +08:00
the1812
494be26889 Merge tag 'v2.10.0-preview' into preview-fixes 2025-04-09 07:46:21 +08:00
the1812
628727fa5b Improve pointer events for navbar popup (fix #5189) 2025-04-09 07:45:35 +08:00
the1812
b8ed71a90e Remove unused import 2025-04-09 07:38:34 +08:00
the1812
90b6af37f5 Merge branch 'preview-fixes' into preview-features 2025-04-08 22:44:40 +08:00
the1812
e556982770 Update feeds card types (#5135) 2025-04-08 22:40:18 +08:00
the1812
6c5154fb74 Merge branch 'preview-features' of https://github.com/the1812/Bilibili-Evolved into preview-features 2025-04-08 09:16:33 +08:00
the1812
4bde283ef2 Add match status 2025-04-08 09:16:18 +08:00
the1812
beb17e1ece Improve styles 2025-04-08 09:11:25 +08:00
the1812
5619761be4 Add match popup (#5055) 2025-04-08 09:00:01 +08:00
Grant Howard
89ee0d9d30
Merge pull request #5197 from at-wr/preview-features
Re: [新增组件-视频链接增强] feat(components): Active Video Links
2025-04-06 20:37:01 +08:00
Alan Ye
68ce22291f
docs(components): remove duplicate descripiton in index.ts 2025-04-06 20:32:51 +08:00
Alan Ye
ec77980db8
fix(components): use protocol-relative URLs 2025-04-06 13:04:29 +08:00
Alan Ye
c0d23af500
fix(components): use protocol-relative URLs 2025-04-06 00:40:52 +08:00
Alan Ye
896f5f8c53
feat(components): Active Video Links 2025-04-06 00:23:58 +08:00
the1812
fd02464c5e Improve styles 2025-04-04 11:49:08 +08:00
the1812
9d5f1cb02e Add manga cover preview 2025-04-03 21:35:06 +08:00
the1812
bd46496365 Fix href 2025-04-03 21:11:49 +08:00
the1812
05b6edb6e9 Add manga popup (#5055) 2025-04-03 17:48:05 +08:00
the1812
7e61d3f283 Remove deprecated live iframe (#5055) 2025-04-03 09:07:14 +08:00
the1812
81ef584251 Add games popup (#5055) 2025-04-03 08:56:05 +08:00
the1812
1d1246eb4a Add theme logo option (#4996) 2025-04-01 08:47:28 +08:00
the1812
5b199169b9 Merge branch 'preview-fixes' into preview-features 2025-04-01 08:36:34 +08:00
the1812
a4a4c066c2 Fix ignoreTyping config (fix #5174) 2025-04-01 08:34:00 +08:00
the1812
19e899dcef Update keymap docs (fix #5168) 2025-03-31 23:37:02 +08:00
the1812
82f0713fa7 Fix ad block in search result (fix #5032) 2025-03-31 23:26:26 +08:00
the1812
4cac416c94 Add disableDoubleClickFullscreen (#5095) 2025-03-31 23:07:49 +08:00
Grant Howard
373fd29b02
Merge pull request #5176 from pencilqaq/preview-features
feat(components): 添加下载up主专属表情包功能
2025-03-30 21:10:38 +08:00
Grant Howard
2aea045250
Merge pull request #5171 from magicFeirl/preview-features-medal
[组件 - 直播 - 添加粉丝勋章点亮功能]
2025-03-30 20:25:22 +08:00
magicFeirl
0280316f90 fix: lint 2025-03-22 13:38:29 +08:00
pencilqaq
72cef751bd 更改表情包筛选方式,修复文本错误,删除无用注释 2025-03-21 20:50:40 +08:00
magicFeirl
2fcbd4f9e6 chore: 补充作者信息 2025-03-21 14:06:17 +08:00
pencilqaq
7099bf9c06 feat(components): 添加下载up主专属表情包功能 2025-03-21 07:56:09 +08:00
Grant Howard
578215629d
Merge pull request #5173 from pencilqaq/preview-fixes
fix: 夜间模式二维码扫码登录困难 #5163
2025-03-20 22:21:24 +08:00
pencilqaq
0fda616533 fix: 夜间模式二维码扫码登录困难 #5163
和[本页面](https://passport.bilibili.com/login)其他未适配的元素
2025-03-17 21:24:37 +08:00
magicFeirl
3b1d1b087e fix: lint相关问题修复 2025-03-16 14:20:19 +08:00
magicFeirl
f7e57f2dde feat: 添加粉丝勋章点亮功能 2025-03-15 16:00:26 +08:00
github-actions[bot]
6afdbff8a0 CI build
Some checks failed
Build / build (push) Has been cancelled
2025-03-12 00:30:54 +00:00
the1812
2c74f4fe19 Merge branch 'preview-fixes' 2025-03-12 08:28:18 +08:00
the1812
189f535840 Merge branch 'preview-fixes' into preview-features 2025-03-12 08:27:51 +08:00
the1812
f9afbaa7da Fix duplicate images for Firefox (fix #5166) 2025-03-11 23:13:00 +08:00
the1812
91cad58d51 Fix list with same names (fix #5151) 2025-03-10 23:48:55 +08:00
github-actions[bot]
1ab4c3fd6f CI build
Some checks failed
Build / build (push) Has been cancelled
2025-02-28 01:12:49 +00:00
the1812
5371e1df08 Merge branch 'preview-fixes' into preview-features 2025-02-28 09:11:17 +08:00
the1812
ce4ee6223b Merge branch 'preview-fixes' 2025-02-28 09:10:37 +08:00
the1812
da6c829296 Fix video focus for Firefox (fix #5153) 2025-02-28 08:53:42 +08:00
github-actions[bot]
edee07bd95 CI build
Some checks failed
Build / build (push) Has been cancelled
2025-02-26 15:15:53 +00:00
the1812
5afe3037e3 Merge branch 'preview-fixes' 2025-02-26 23:13:27 +08:00
the1812
fad450b354 Merge branch 'preview-fixes' into preview-features 2025-02-26 23:09:44 +08:00
the1812
46c6d59350 Fix ignoreTyping for focused element (#5150) 2025-02-26 23:09:17 +08:00
github-actions[bot]
7eb3397cfa CI build
Some checks failed
Build / build (push) Has been cancelled
2025-02-25 15:26:32 +00:00
the1812
7d2bf04d22 Merge branch 'master' of https://github.com/the1812/Bilibili-Evolved 2025-02-25 23:24:11 +08:00
the1812
0a6f5d3b08 Merge branch 'preview-fixes' 2025-02-25 23:23:57 +08:00
the1812
16d249ba97 Merge branch 'preview-fixes' into preview-features 2025-02-25 23:07:06 +08:00
the1812
ce19b659bc Update changelog 2025-02-25 23:06:57 +08:00
the1812
82248e0cbf Update docs 2025-02-25 23:03:21 +08:00
the1812
8959ff9fa2 Merge branch 'preview-fixes' into preview-features 2025-02-25 23:00:00 +08:00
the1812
7dbd9f95cd Update docs 2025-02-25 22:59:42 +08:00
the1812
8215e7748c Update donate history 2025-02-25 22:57:29 +08:00
the1812
f62d1364ee Update version number 2025-02-25 09:03:45 +08:00
the1812
e5359aa27e Update changelog 2025-02-25 09:03:30 +08:00
the1812
18b4223b4e Merge branch 'preview-fixes' into preview-features 2025-02-24 22:55:10 +08:00
the1812
afa914adb7 Fix video control bar not working 2025-02-24 22:54:49 +08:00
the1812
8c3ed109f1 Skip redirected cards 2025-02-24 22:23:36 +08:00
the1812
5aa8b4ed38 Improve navbar animations (#4949) 2025-02-22 21:03:18 +08:00
the1812
b50a6796bf Remove unwanted transitions 2025-02-22 18:09:47 +08:00
the1812
e2ec33f1f4 Add scroll animations for transparent mode (#4996) 2025-02-22 17:56:21 +08:00
the1812
c9a8694df8 Fix settings layout on reload 2025-02-21 08:55:25 +08:00
the1812
c1d1b85bf5 Merge branch 'preview-features' of https://github.com/the1812/Bilibili-Evolved into preview-features 2025-02-19 08:31:51 +08:00
the1812
a5283105b0 Restore double click fullscreen (#5095) 2025-02-19 08:31:35 +08:00
the1812
24714b77a7 Merge branch 'preview-fixes' into preview-features 2025-02-19 08:23:55 +08:00
the1812
1ce2da6a62 Fix orders of login-required items (fix #5099) 2025-02-19 08:07:38 +08:00
the1812
f0b40d4da1 Fix redirect on mutations 2025-02-17 22:39:47 +08:00
the1812
fdc9274b72 Add new watchlater support (fix #4951) 2025-02-14 08:36:32 +08:00
the1812
eb767a311e Fix styles on watchlater page 2025-02-14 08:17:00 +08:00
the1812
cbf8cbdef9 Add new space support (fix #5112) 2025-02-13 23:53:37 +08:00
the1812
65850d31b5 Update dark styles (fix #5121) 2025-02-13 23:36:18 +08:00
the1812
234d786dcc Adjust scale level (fix #5103) 2025-02-13 23:33:14 +08:00
the1812
8ba05d58af Fix key binding trigger at focused element (fix #5119) 2025-02-12 22:42:33 +08:00
the1812
89f9c541d1 Fix video card ad (fix #5110) 2025-02-12 22:32:14 +08:00
the1812
77e2de99f6 Fix image export for feeds (#5098) 2025-02-12 22:24:37 +08:00
Grant Howard
2cd6c63eb7
Merge pull request #5131 from magicFeirl/preview-features-trending-search
[组件 - 隐藏热搜] feat: 优化隐藏热搜的显示效果
2025-02-12 19:25:28 +08:00
magicFeirl
d517d5860d fix: lint 2025-02-12 15:23:15 +08:00
the1812
853c286799 Improve bangumi names (#5087) 2025-02-12 09:21:38 +08:00
the1812
b534c7e627 Fix ESlint server crash 2025-02-12 09:21:09 +08:00
the1812
a92863ec8c Remove deprecated item 2025-02-12 08:29:06 +08:00
the1812
67b720ed62 Upgrade to pnpm v10 2025-02-11 23:56:12 +08:00
the1812
2606b44508 Enable corepack 2025-02-11 23:48:10 +08:00
github-actions[bot]
2cb9c93789 CI build
Some checks failed
Build / build (push) Has been cancelled
2025-02-11 15:20:06 +00:00
the1812
1ba4d2b2bf Merge branch 'preview-fixes' 2025-02-11 23:17:35 +08:00
the1812
128992f387 Merge branch 'preview-fixes' into preview-features 2025-02-11 23:15:09 +08:00
the1812
65143cbaac Update docs (#5130) 2025-02-11 23:14:44 +08:00
magicFeirl
9069c3a8e6 feat: 优化搜索框样式 2025-02-11 22:50:44 +08:00
magicFeirl
1ee5b56127 feat: 优化热搜输入框的显示 2025-02-11 21:56:28 +08:00
Grant Howard
5dad867e79
Merge pull request #5130 from magicFeirl/preview-fixes-CONTRIBUTING.md
docs: 优化启动 dev-server 的文档
2025-02-11 20:51:32 +08:00
magicFeirl
a8cccbce32 docs: 优化启动 dev-server 的文档 2025-02-11 20:16:03 +08:00
magicFeirl
cac4b15655 docs: 优化启动 dev-server 的文档 2025-02-11 20:13:39 +08:00
the1812
813f40804a Merge branch 'preview-fixes' of https://github.com/the1812/Bilibili-Evolved into preview-fixes 2025-02-06 23:04:36 +08:00
Grant Howard
5e8259de4e
Merge pull request #5116 from pencilqaq/preview-fixes
夜间模式适配
2025-02-06 22:51:43 +08:00
Grant Howard
24e2304354
Merge pull request #5102 from WakelessSloth56/preview-features
[插件 - 下载视频 - WASM 混流输出] 超过 4GB 时抛出错误
2025-02-06 22:33:16 +08:00
the1812
ec32924853 Merge branch 'preview-fixes' into preview-features 2025-02-06 22:27:54 +08:00
the1812
560e3b63b3 Fix eslint issue 2025-02-06 22:27:45 +08:00
Pencilqaq
ce4c2835ad 夜间模式适配 #5115 2025-01-29 20:48:37 +08:00
WakelessSloth56
9243994c59
feat: wasm plugin throws error if file size over 4GB
#5097
2025-01-11 11:59:59 +08:00
github-actions[bot]
de5ff3c655 CI build
Some checks failed
Build / build (push) Has been cancelled
2025-01-07 15:10:30 +00:00
the1812
12b98683e1 Merge branch 'preview-fixes' into preview-features 2025-01-07 23:08:43 +08:00
the1812
8ac161b8db Merge branch 'preview-fixes' 2025-01-07 23:07:52 +08:00
the1812
98f8264598 Fix duplicated buttons (#5087) 2025-01-07 23:02:39 +08:00
github-actions[bot]
141aa8f1fa CI build 2024-12-28 03:32:52 +00:00
the1812
55fb3f2157 Merge branch 'master' of https://github.com/the1812/Bilibili-Evolved 2024-12-28 11:30:35 +08:00
the1812
e9d1d3ac00 Merge branch 'preview-fixes' 2024-12-28 11:30:30 +08:00
the1812
11dd64f965 Update docs 2024-12-28 11:28:44 +08:00
the1812
15648f2594 Merge branch 'preview-fixes' into preview-features 2024-12-28 11:27:16 +08:00
the1812
df1e646809 Update docs 2024-12-28 11:24:57 +08:00
the1812
88a4327531 Update donate history 2024-12-28 10:59:15 +08:00
the1812
c4a3e08fcb Update version number 2024-12-28 10:49:08 +08:00
the1812
94c86bff2c Update changelog 2024-12-28 10:48:40 +08:00
the1812
95348dee39 Merge tag 'v2.9.5-preview' into preview-fixes 2024-12-28 10:30:54 +08:00
the1812
78805b7011 Fix styles for new space (#5011) 2024-12-28 10:26:15 +08:00
the1812
1a02068bcb Add confirm when screenshots are not empty (#5066) 2024-12-24 23:25:16 +08:00
the1812
63b0e74949 Merge branch 'preview-fixes' into preview-features 2024-12-24 23:20:43 +08:00
the1812
5be4fab2e2 Add PGC navbar items plugin (#5045) 2024-12-24 23:17:43 +08:00
the1812
3bd053df66 Update dark styles (fix #5075) 2024-12-23 23:56:11 +08:00
the1812
2ba324b27a Revert "Merge pull request #4964 from oxygenkun/preview-features"
This reverts commit a7048799b9, reversing
changes made to 315826f038.
2024-12-23 23:22:44 +08:00
the1812
d8645fb2f1 Add hideHomeCarousel (#5038) 2024-12-23 23:20:10 +08:00
the1812
92a05a71a9 Add refresh button (#4948) 2024-12-22 21:21:59 +08:00
the1812
04ee3bcdce Update categories (#1511) 2024-12-22 21:17:15 +08:00
the1812
0f2dcaaaa7 Add DASH fallback codec (fix #5080) 2024-12-22 20:51:24 +08:00
the1812
7515dfe321 Fix conflict class (fix #5073) 2024-12-22 20:26:08 +08:00
the1812
a31cc26f6e Rename subscriptions (#4777) 2024-12-22 18:28:52 +08:00
the1812
42bdcbc722 Fix audio link (fix #5069) 2024-12-22 18:21:25 +08:00
the1812
f39520bac7 Add bangumi support (fix #5607) 2024-12-22 18:04:50 +08:00
the1812
48f2afffa1 Fix wheel event not working on Firefox (fix #5047) 2024-12-22 17:18:40 +08:00
the1812
746696d53c Update description (fix #5062) 2024-12-21 21:27:50 +08:00
the1812
648b94a63e Fix reorder section when not logged in (#5051) 2024-12-21 21:26:15 +08:00
the1812
96d2048395 Update music center url (#5056) 2024-12-21 21:05:25 +08:00
the1812
8c0e0f7858 Fix home mute always executed (fix #5045) 2024-12-21 20:58:51 +08:00
the1812
d76293ef0a Fix focus lost (fix #4732) 2024-12-21 20:51:14 +08:00
the1812
fdec2d8dd6 Fix non-face picture (fix #5040) 2024-12-21 20:36:31 +08:00
the1812
b3f778f45b Update global fixed exclude (#5039) 2024-12-21 20:24:21 +08:00
github-actions[bot]
7d0b5b3cbe CI build
Some checks failed
Build / build (push) Has been cancelled
2024-11-13 11:56:20 +00:00
the1812
16bd4cfe81 Merge branch 'preview-fixes' into preview-features 2024-11-13 19:54:25 +08:00
the1812
7e5167c8b2 Merge branch 'preview-fixes' 2024-11-13 19:53:54 +08:00
the1812
7f7612041b Update ad blocks (fix #5027) 2024-11-13 19:43:25 +08:00
github-actions[bot]
71157b54f9 CI build
Some checks are pending
Build / build (push) Waiting to run
2024-11-12 08:39:53 +00:00
the1812
048e26a46d Merge branch 'master' of https://github.com/the1812/Bilibili-Evolved 2024-11-12 16:37:23 +08:00
the1812
cdec6f1f41 Merge branch 'preview-fixes' 2024-11-12 16:36:55 +08:00
the1812
07bfb8166a Merge branch 'preview-fixes' into preview-features 2024-11-12 10:00:08 +08:00
the1812
7f68ff5b60 Update changelog 2024-11-12 09:59:48 +08:00
the1812
0d9eaeb367 Merge branch 'preview-features' of https://github.com/the1812/Bilibili-Evolved into preview-fixes 2024-11-12 09:59:30 +08:00
the1812
080b46003d Update changelog 2024-11-12 09:53:04 +08:00
the1812
715579bdd7 Merge branch 'preview-features' of https://github.com/the1812/Bilibili-Evolved into preview-features 2024-11-12 09:52:08 +08:00
the1812
70935b4a7c Add refresh history button (#4948) 2024-11-12 09:51:12 +08:00
the1812
7e7caf6b78 Update docs 2024-11-12 09:42:54 +08:00
the1812
b1155a05d3 Remove deprecated components in packages 2024-11-12 09:41:48 +08:00
the1812
b914d10224 Fix justify-content value 2024-11-12 09:37:47 +08:00
the1812
b99c7bb8c1 Update donate history 2024-11-11 23:40:05 +08:00
the1812
7e1f172a68 Update version number 2024-11-11 23:23:53 +08:00
the1812
e8feba46cf Update changelog 2024-11-11 23:21:55 +08:00
the1812
ce09c6b2b3 Merge branch 'preview-features' into preview-fixes 2024-11-11 23:21:43 +08:00
the1812
49e4d1020e Deprecate simplify home 2024-11-11 22:58:54 +08:00
the1812
923382fa4e Update recommended projects 2024-11-11 22:57:02 +08:00
the1812
2a79e6cd18 Fix heading styles in markdown (fix #4995) 2024-11-10 23:37:14 +08:00
the1812
d90f47e5da Remove logs 2024-11-10 19:20:04 +08:00
the1812
5ca4c8b95e Inline akari image 2024-11-10 19:19:16 +08:00
the1812
f86940427e Fix url params in search page (fix #5009) 2024-11-10 16:46:39 +08:00
the1812
bf3928a3b3 Update ad blocks (fix #5001) 2024-11-10 16:23:27 +08:00
the1812
7f7ba9661f Fix incorrect feed card block (fix #5003) 2024-11-10 16:20:21 +08:00
the1812
4c42802a36 Remove deprecated entry (#4987) 2024-11-10 16:12:36 +08:00
the1812
2108ec3ab7 Update dark mode excludes (fix #4981) 2024-11-10 16:11:42 +08:00
the1812
1bebac0e88 Fix addMenuItem not work (fix #4976) 2024-11-10 16:10:24 +08:00
the1812
beb4e3eedf Add history pages display (#1866) 2024-11-10 15:46:03 +08:00
the1812
b2ed78d5f2 Fix gift panel block (fix #4968) 2024-11-10 15:29:18 +08:00
the1812
94a7f6fc28 Add support for new page list container (fix #4955, #4958, fix #4952) 2024-11-10 15:19:09 +08:00
the1812
f26495c63b Improve search and empty state (#4975, #4973) 2024-11-10 14:03:04 +08:00
github-actions[bot]
cd3ba7d329 CI build
Some checks failed
Build / build (push) Has been cancelled
2024-11-05 14:20:53 +00:00
Grant Howard
fbf72b3bfd
Merge pull request #4992 from iamCristYe/patch-1
Update related-videos.scss
2024-11-05 22:18:38 +08:00
Grant Howard
e27816a91d
Merge pull request #4984 from WakelessSloth56/preview-features
[插件 - 下载视频 - WASM 混流输出] 修复写入元数据选项,  新增混流进度, 优化多集下载
2024-11-05 22:15:15 +08:00
Grant Howard
9658f6346f
Merge pull request #4980 from sunfkny/fix-disable-details
[组件-禁止跳转动态详情] fix: 修复带图转发动态二次转发后,`查看图片` 失效
2024-10-31 23:22:23 +08:00
Grant Howard
21e44f7d74
Merge pull request #4972 from sunfkny/preview-features
Fix deleteFeeds
2024-10-31 23:21:03 +08:00
Crist Ye
8bdeed822f
Update related-videos.scss 2024-10-29 18:32:13 +08:00
WakelessSloth56
30ec155fa8
feat: wasm plugin progress event 2024-10-27 10:42:22 +08:00
WakelessSloth56
cb7df01bdf
feat: wasm plugin deleteFile message 2024-10-27 10:41:38 +08:00
WakelessSloth56
cf950a81f7
fix: fix wasm plugin option muxWithMetadata 2024-10-27 10:03:20 +08:00
sunfkny
09afe49541 [组件-禁止跳转动态详情] fix: 修复带图转发动态二次转发后,查看图片 失效 2024-10-24 19:51:16 +08:00
sunfkny
8a90a70648 Fix deleteFeeds 2024-10-22 11:24:12 +08:00
github-actions[bot]
dbd813b100 CI build 2024-10-22 00:32:40 +00:00
the1812
7c8d2d25a7 Merge branch 'preview-fixes' 2024-10-22 08:30:23 +08:00
the1812
32b64401ea Update docs 2024-10-22 08:21:17 +08:00
the1812
5a48fe3300 Merge branch 'preview-fixes' into preview-features 2024-10-22 08:19:40 +08:00
the1812
64279b611a Merge branch 'preview-fixes' of https://github.com/the1812/Bilibili-Evolved into preview-fixes 2024-10-22 08:19:00 +08:00
the1812
46c301f230 Update donate history 2024-10-22 08:16:10 +08:00
the1812
30f84b090f Merge branch 'preview-features' of https://github.com/the1812/Bilibili-Evolved into preview-features 2024-10-22 07:49:34 +08:00
Grant Howard
a7048799b9
Merge pull request #4964 from oxygenkun/preview-features
[动态-直播信息扩充] 更新API接口,简化获取逻辑
2024-10-22 07:49:26 +08:00
the1812
7668bd0f05 Fix pendent styles 2024-10-21 21:53:40 +08:00
oxygenkun
c856bf9cce [feat] 直播列表用新的url,简化逻辑 2024-10-20 14:46:27 +08:00
the1812
315826f038 Add CommentContentReplaceContext, improve namings 2024-10-20 11:40:58 +08:00
the1812
13d8e87085 Ignore invalid keyword 2024-10-20 11:20:57 +08:00
the1812
bb4914d1d1 Update descriptions 2024-10-20 11:17:45 +08:00
the1812
437b7ad2a2 Add CommentContentReplaceMap plugin data 2024-10-20 11:15:31 +08:00
the1812
83f70e949b Allow remove emoticon 2024-10-20 11:15:14 +08:00
the1812
710e6bec56 Fix Vue typing 2024-10-20 10:45:29 +08:00
the1812
ecb93e149e Refactor files 2024-10-20 10:45:21 +08:00
the1812
a858410a15 Add commentContentReplace (#4072) 2024-10-19 20:10:43 +08:00
Grant Howard
c00615306e
Merge pull request #4960 from wisokey/preview-fixes
显示视频投稿时间适配新版推荐列表
2024-10-19 16:23:09 +08:00
wisokey
ebe4b353a0 显示视频投稿时间适配新版推荐列表 2024-10-17 16:59:46 +00:00
the1812
4f7b760c1d Fix avatar size 2024-10-15 22:35:33 +08:00
the1812
f0d5f17aca Add downloadDanmaku speed option (fix #4824) 2024-10-14 23:14:22 +08:00
the1812
866ef53da0 Fix danmaku settings not read (#4824) 2024-10-14 23:10:47 +08:00
the1812
f3f61287d8 Improve search accuracy (fix #4833) 2024-10-14 23:04:02 +08:00
the1812
c6fe03cb71 Add hideLivePlayerBlur (#4634) 2024-10-14 22:33:16 +08:00
the1812
43349db0fc Merge branch 'preview-features' of https://github.com/the1812/Bilibili-Evolved into preview-features 2024-10-13 19:32:43 +08:00
the1812
b6457feabd Add hideUserPendent 2024-10-13 19:28:38 +08:00
the1812
72133c78b2 Merge branch 'preview-fixes' into preview-features 2024-10-13 16:44:31 +08:00
Grant Howard
fd4875fbd7
Merge pull request #4943 from WakelessSloth56/preview-features
[组件 - 保存视频元数据] FFMETADATA 字段选项
2024-10-13 15:52:45 +08:00
WakelessSloth56
5626e3343d
feat: saveVideoMetadata - ffmetadata fields mode option 2024-09-30 11:43:51 +08:00
the1812
c973a25ad8 Merge branch 'preview-features' of https://github.com/the1812/Bilibili-Evolved into preview-features 2024-09-22 21:27:25 +08:00
the1812
cb07fd0b95 Merge branch 'preview-fixes' into preview-features 2024-09-22 21:27:20 +08:00
Grant Howard
901e2834ad
Merge pull request #4915 from gouzil/feat/add_del_feeds_2
feat: add del self feeds
2024-09-19 23:25:46 +08:00
gouzi
3519f5b462 rename 2024-09-19 22:43:44 +08:00
gouzi
00723a9845 feat: add del self feeds 2024-09-17 10:07:50 +08:00
github-actions[bot]
77ada2305f CI build 2024-09-15 02:19:08 +00:00
the1812
9e5159f7d2 Merge branch 'preview-fixes' 2024-09-15 10:16:47 +08:00
the1812
2735b872d7 Merge branch 'preview-fixes' into preview-features 2024-09-15 09:57:05 +08:00
the1812
36eb12574a Update version number 2024-09-15 09:51:54 +08:00
the1812
26a219b45f Update changelog 2024-09-15 09:51:43 +08:00
the1812
14066617fc Improve UI and code styles 2024-09-14 22:44:55 +08:00
the1812
7dd99f7115 Merge branch 'preview-fixes' into preview-features 2024-09-14 22:07:25 +08:00
the1812
d6f4d244d9 Fix fold comment not work for CommentAreaV2 (fix #4905) 2024-09-10 23:03:40 +08:00
the1812
91329e21a4 Fix medal style (#4895) 2024-09-10 22:48:31 +08:00
github-actions[bot]
cb55fc2669 CI build 2024-09-08 15:29:46 +00:00
the1812
99743eecf8 Merge branch 'preview-fixes' 2024-09-08 23:27:29 +08:00
github-actions[bot]
7426b284e5 CI build 2024-08-15 15:36:51 +00:00
the1812
7e9a93368e Merge branch 'preview-fixes' 2024-08-15 23:34:08 +08:00
github-actions[bot]
fc4fe13a7a CI build 2024-07-30 13:49:37 +00:00
the1812
6018100079 Merge branch 'preview-fixes' 2024-07-30 21:47:11 +08:00
github-actions[bot]
a7fe2ebc28 CI build 2024-07-19 15:01:56 +00:00
the1812
3454438f1d Merge branch 'preview-fixes' 2024-07-19 22:59:32 +08:00
github-actions[bot]
7800adbb02 CI build 2024-05-16 01:17:24 +00:00
the1812
f539020624 Merge branch 'preview-fixes' 2024-05-16 09:14:45 +08:00
github-actions[bot]
1f59cbe330 CI build 2024-05-14 01:39:04 +00:00
the1812
66ede2a74c Merge branch 'preview-fixes' 2024-05-14 09:36:02 +08:00
github-actions[bot]
d4b6ea0c96 CI build 2024-04-23 15:28:24 +00:00
the1812
e998998fc0 Merge branch 'preview-fixes' 2024-04-23 23:26:01 +08:00
github-actions[bot]
8a4e422612 CI build 2024-03-11 13:37:10 +00:00
the1812
29059634f0 Merge branch 'preview-fixes' 2024-03-11 21:34:31 +08:00
github-actions[bot]
0b5a74ff1f CI build 2024-03-09 13:01:49 +00:00
the1812
d2a3aa2873 Merge branch 'preview-fixes' 2024-03-09 20:59:23 +08:00
github-actions[bot]
5c95cd605a CI build 2024-02-20 00:24:37 +00:00
the1812
c5852f8b91 Merge branch 'preview-fixes' 2024-02-20 08:21:41 +08:00
github-actions[bot]
fdc05db08b CI build 2024-01-18 01:36:01 +00:00
the1812
3981ed7b68 Merge branch 'preview-fixes' 2024-01-18 09:28:57 +08:00
github-actions[bot]
f945463524 CI build 2024-01-14 08:03:09 +00:00
Grant Howard
47832830d0
Merge pull request #4602 from Shen-Linwood/patch-1
feat(README.md):微调文档格式
2024-01-14 16:00:47 +08:00
Shen-Linwood
716aeb07fa
微调文档格式
微调文档格式,在西文字符与汉字之间添加空格
2024-01-11 19:50:58 +08:00
github-actions[bot]
e7dba14fc8 CI build 2023-11-24 01:11:52 +00:00
the1812
8dcba987d3 Merge branch 'preview-fixes' 2023-11-24 09:09:12 +08:00
github-actions[bot]
51033d9dee CI build 2023-11-23 00:39:40 +00:00
the1812
c5a6335fcb Merge branch 'preview-fixes' 2023-11-23 08:37:14 +08:00
github-actions[bot]
f624aaf38c CI build 2023-11-22 13:27:16 +00:00
the1812
9755a9a606 Merge branch 'preview-fixes' 2023-11-22 21:24:28 +08:00
github-actions[bot]
d0625315bf CI build 2023-09-24 12:39:54 +00:00
the1812
3d78bf7c9e Merge branch 'preview-fixes' 2023-09-24 20:36:26 +08:00
github-actions[bot]
602a80dd00 CI build 2023-09-14 15:48:03 +00:00
Grant Howard
90b4192e1e
Merge pull request #4411 from Silence-dream/preview-fixes
fix: 直播推流背景发白
2023-09-14 23:44:36 +08:00
github-actions[bot]
a262fd8bee CI build 2023-09-08 16:10:24 +00:00
the1812
881ccf2f0e Merge branch 'preview-fixes' 2023-09-09 00:06:02 +08:00
github-actions[bot]
57c0200b3b CI build 2023-09-07 13:59:32 +00:00
the1812
862ff40322 Merge branch 'preview-fixes' 2023-09-07 21:56:00 +08:00
Silence-dream
1f4e2d8865 fix: 直播推流背景发白 (close #4410) 2023-09-06 17:55:55 +08:00
github-actions[bot]
c14a233224 CI build 2023-08-26 04:57:45 +00:00
the1812
2daca2959a Merge branch 'preview-fixes' 2023-08-26 12:53:58 +08:00
the1812
7797af6344 Merge branch 'preview-fixes' 2023-08-26 12:44:35 +08:00
github-actions[bot]
8bb8b345b8 CI build 2023-07-16 02:37:15 +00:00
the1812
997218e884 Update version number 2023-07-16 10:25:38 +08:00
382 changed files with 14395 additions and 6605 deletions

View File

@ -28,7 +28,6 @@
"name": "Install dependencies",
"uses": "pnpm/action-setup@v4",
"with": {
"version": "8.12.1",
"run_install": true
}
},

View File

@ -17,7 +17,6 @@
"name": "Install dependencies",
"uses": "pnpm/action-setup@v4",
"with": {
"version": "8.12.1",
"run_install": true
}
},

View File

@ -22,7 +22,6 @@ jobs:
- name: Install dependencies
uses: pnpm/action-setup@v4
with:
version: 8.12.1
run_install: true
- name: Type check
run: pnpm run type

View File

@ -11,7 +11,6 @@ jobs:
- name: Install dependencies
uses: pnpm/action-setup@v4
with:
version: 8.12.1
run_install: true
- name: Type check
run: pnpm run type

View File

@ -16,6 +16,7 @@
"cSpell.words": [
"afterbegin",
"afterend",
"akari",
"BALH",
"Bangumi",
"bevo",
@ -27,6 +28,7 @@
"bofqi",
"BVID",
"camelcase",
"cascader",
"clipboardy",
"cntr",
"compositionend",
@ -49,6 +51,7 @@
"Fullscreen",
"githubusercontent",
"Greasemonkey",
"guochuang",
"haruna",
"hdslb",
"HEVC",
@ -96,6 +99,7 @@
"superchat",
"Swiper",
"tabindex",
"tagid",
"Tampermonkey",
"Touhou",
"truetype",

View File

@ -1,6 +1,322 @@
<!-- 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`

View File

@ -30,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. 新建脚本
@ -81,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`
@ -91,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` 的缓存文件后刷新生效.

View File

@ -32,7 +32,7 @@
**注意事项**
- **⚠ 使用正式版 (GitHub 源) 和预览版须翻墙.**
- 默认不预装任何组件, 需要在按[设置](#设置)中的说明添加感兴趣的功能; 默认会屏蔽双击全屏, 如有需要可以安装 `双击全屏` 组件来恢复.
- 默认不预装任何组件, 需要在按[设置](#设置)中的说明添加感兴趣的功能.
- 这个是一个综合性的脚本, 如果只是想下载视频建议去 [GreasyFork](https://greasyfork.org/zh-CN/scripts/by-site/bilibili.com) 找个更专业的.
- 对性能有较大影响, 详见[配置要求](#配置).
- 默认不对未登录的状态做适配.
@ -152,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)

View File

@ -21,7 +21,7 @@ export const defaultWatcherHandler = (
assets: false,
modules: false,
chunks: false,
color: true,
colors: true,
}),
)
}

View File

@ -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)
}

View File

@ -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"
]
}
}

View File

@ -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: {}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -6,7 +6,7 @@
## 爱发电
<a href="https://afdian.net/a/the1812" target="_blank">
<a href="https://afdian.com/a/the1812" target="_blank">
<img alt="爱发电" src="../images/compressed/afdian.jpg" width="400">
</a>
@ -30,6 +30,37 @@ https://afdian.com/a/the1812?tab=sponsor
| 时间 | 用户名 | 单号后4位 | 金额 |
| ------------------- | --------------------- | --------- | ------- |
| 2025.09.03 03:46:27 | j*c | 0452 | ¥10.00 |
| 2025.08.13 12:45:58 | *餮 | 9658 | ¥5.00 |
| 2025.07.23 19:29:44 | 匿名 | 3850 | ¥23.33 |
| 2025.07.12 16:44:24 | 爱音allin | 3957 | ¥5.00 |
| 2025.06.29 10:53:44 | f*x | 9352 | ¥10.00 |
| 2025.06.10 01:22:23 | *匆 | 5332 | ¥5.00 |
| 2025.05.21 19:55:02 | mobmaster69 | 7644 | ¥5.00 |
| 2025.05.20 02:38:45 | Duane | 3937 | ¥5.00 |
| 2025.05.15 22:12:22 | 匿名 | 3901 | ¥23.33 |
| 2025.05.10 22:50:07 | 匿名 | 6026 | ¥1.00 |
| 2025.02.23 22:55:32 | A*t | 3204 | ¥20.00 |
| 2025.02.21 13:23:00 | 匿名 | 8021 | ¥10.00 |
| 2025.02.17 09:27:14 | *东 | 1819 | ¥5.00 |
| 2025.02.16 05:50:33 | 匿名 | 5002 | ¥10.00 |
| 2025.02.13 09:19:25 | 匿名 | 4849 | ¥5.00 |
| 2025.01.20 14:56:23 | 阿卡林 | 9250 | ¥20.00 |
| 2024.12.30 09:42:01 | *晓 | 2324 | ¥10.00 |
| 2024.12.28 23:09:42 | 匿名 | 4190 | ¥5.00 |
| 2024.12.27 11:01:16 | *o | 2835 | ¥5.00 |
| 2024.12.20 18:05:09 | *言 | 6840 | ¥3.00 |
| 2024.12.17 18:30:53 | x*x | 3632 | ¥10.00 |
| 2024.12.10 12:20:10 | *吗 | 8875 | ¥5.00 |
| 2024.12.06 14:33:35 | 匿名 | 8998 | ¥5.00 |
| 2024.11.17 05:46:36 | *树 | 0442 | ¥20.00 |
| 2024.10.24 19:59:56 | 匿名 | 5126 | ¥20.00 |
| 2024.10.24 03:07:40 | S*a | 8703 | ¥20.00 |
| 2024.10.11 11:19:52 | 匿名 | 8738 | ¥100.00 |
| 2024.09.28 22:43:29 | 匿名 | 7519 | ¥20.00 |
| 2024.09.28 17:45:29 | *天 | 7998 | ¥20.00 |
| 2024.09.23 14:19:17 | 匿名 | 1799 | ¥2.33 |
| 2024.09.10 00:19:41 | 匿名 | 1484 | ¥20.00 |
| 2024.09.06 16:05:23 | 匿名 | 0752 | ¥5.00 |
| 2024.09.03 23:08:43 | *根 | 3956 | ¥20.00 |
| 2024.08.25 16:55:07 | 匿名 | 6595 | ¥10.00 |

View File

@ -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",
@ -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",
@ -103,6 +119,14 @@
"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",
@ -135,6 +159,14 @@
"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",
@ -279,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",
@ -295,6 +335,14 @@
"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",
@ -407,14 +455,6 @@
"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",
@ -427,7 +467,7 @@
"type": "component",
"name": "disableSpecialDanmaku",
"displayName": "禁用特殊弹幕样式",
"description": "移除高弹幕或 UP 主弹幕的特殊样式, 弹幕内容不会移除.\r\n",
"description": "移除高弹幕或 UP 主弹幕的特殊样式, 弹幕内容不会移除.",
"fullRelativePath": "../../registry/dist/components/style/special-danmaku.js",
"fullAbsolutePath": "registry/dist/components/style/special-danmaku.js"
},
@ -451,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"
},
@ -479,6 +519,14 @@
"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",
@ -527,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",
@ -559,6 +615,14 @@
"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",
@ -571,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"
},
@ -603,7 +667,7 @@
"type": "component",
"name": "removePromotions",
"displayName": "删除广告",
"description": "删除站内的各种广告. 包括首页的推广模块, 手机 app 推荐, 视频页面右侧的广告等. 注意: 首页推广模块删除后留下空白区域是正常现象, 如果觉得怪可以开启 \\`占位文本\\` 选项.\r\n\r\n- \\`占位文本\\`: 删除首页推广模块的广告后显示\"🚫已屏蔽广告\"来替代空白区域.\r\n- \\`保留活动横幅\\`: 保留视频页面的活动横幅.\r\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"
},
@ -611,7 +675,7 @@
"type": "component",
"name": "subscribeTimeShow",
"displayName": "关注时间显示",
"description": "by [@Light_Quanta](https://github.com/LightQuanta)\n\n在粉丝/关注列表显示关注的具体时间",
"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"
},
@ -639,6 +703,14 @@
"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",
@ -739,7 +811,7 @@
"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"
},
@ -783,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",
@ -791,14 +871,6 @@
"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",
@ -1024,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",
@ -1092,7 +1172,7 @@
"type": "plugin",
"name": "downloadVideo.outputs.idm",
"displayName": "下载视频 - IDM 输出支持",
"description": "为下载视频增加 IDM 输出支持,建议配合 [ef2.exe](https://github.com/MotooriKashin/ef2) 以简化操作、保留文件名.",
"description": "为下载视频增加 IDM 输出支持.",
"fullRelativePath": "../../registry/dist/plugins/video/download/idm-output.js",
"fullAbsolutePath": "registry/dist/plugins/video/download/idm-output.js"
},

View File

@ -11,6 +11,15 @@
开启后, 可在每条动态的菜单中选择复制链接.
### [删除动态](../../registry/dist/components/feeds/del-feeds.js)
`deleteFeeds`
**jsDelivr:** [`Stable`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@master/registry/dist/components/feeds/del-feeds.js) / [`Preview`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@preview/registry/dist/components/feeds/del-feeds.js)
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/feeds/del-feeds.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/feeds/del-feeds.js)
删除动态, 可选转发抽奖, 和全部删除.
### [禁止跳转动态详情](../../registry/dist/components/feeds/disable-details.js)
`disableFeedsDetails`
@ -76,6 +85,17 @@
在顶栏的视频动态中, 无论标题多长总是完全展开.
### [动态分组过滤](../../registry/dist/components/feeds/group-filter.js)
`feedsGroupFilter`
**jsDelivr:** [`Stable`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@master/registry/dist/components/feeds/group-filter.js) / [`Preview`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@preview/registry/dist/components/feeds/group-filter.js)
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/feeds/group-filter.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/feeds/group-filter.js)
by [@Rinne](https://github.com/OharaRinneY)
按照关注分组筛选动态
### [隐藏动态评论预览](../../registry/dist/components/feeds/hide-comment-preview.js)
`hideFeedsCommentPreview`
@ -127,6 +147,17 @@
在直播区中, 可从功能面板中直接切换勋章和头衔. 默认显示 256 个 (同时也是上限), 可在选项中修改.
### [一键点亮直播间粉丝勋章](../../registry/dist/components/live/badge-keepalive.js)
`badgeKeepalive`
**jsDelivr:** [`Stable`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@master/registry/dist/components/live/badge-keepalive.js) / [`Preview`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@preview/registry/dist/components/live/badge-keepalive.js)
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/live/badge-keepalive.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/live/badge-keepalive.js)
by [@magicFeirl](https://github.com/magicFeirl)
在直播间页面的功能面板添加一键点亮粉丝勋章功能,仅适用于有粉丝勋章且正在直播的直播间。原理:发送一个 300 次点赞的请求点亮粉丝勋章。
### [直播间网页全屏自适应](../../registry/dist/components/live/chat-panel-fit.js)
`liveChatPanelFit`
@ -170,6 +201,15 @@ by [@TimmyOVO](https://github.com/TimmyOVO)
移除全屏观看直播时的底部礼物栏
### [隐藏直播马赛克](../../registry/dist/components/live/hide-player-blur.js)
`hideLivePlayerBlur`
**jsDelivr:** [`Stable`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@master/registry/dist/components/live/hide-player-blur.js) / [`Preview`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@preview/registry/dist/components/live/hide-player-blur.js)
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/live/hide-player-blur.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/live/hide-player-blur.js)
移除直播画面中的马赛克区域.
### [直播首页静音](../../registry/dist/components/live/home-mute.js)
`liveHomeMute`
@ -369,6 +409,28 @@ by [@Tinhone](https://github.com/Tinhone)
隐藏首页顶部横幅.
### [隐藏首页轮播图](../../registry/dist/components/style/hide/home-carousel.js)
`hideHomeCarousel`
**jsDelivr:** [`Stable`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@master/registry/dist/components/style/hide/home-carousel.js) / [`Preview`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@preview/registry/dist/components/style/hide/home-carousel.js)
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/hide/home-carousel.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/style/hide/home-carousel.js)
隐藏首页的轮播图区域
选项说明:
- `禁用轮播`:禁用图片轮播,可以手动切换
- `图片模糊`模糊轮播图片为0时不模糊
- `样式开关`
- `隐藏轮播区域占位`:完全隐藏整个轮播区域
- `透明化轮播区域`:完全透明化整个轮播区域,同时禁止点击打开链接
- `隐藏轮播图片`:隐藏轮播图片,同时禁止点击图片打开链接
- `隐藏图片标题`:隐藏图片标题,同时禁止点击标题打开链接
> 注:样式开关可以同时启用,但是最终显示效果以作用范围大的为准
> 例如启用 `隐藏轮播区域占位`,由于整个区域都被隐藏,不管 `隐藏轮播图片`、`隐藏图片标题` 等选项是否启用都已经看不见了
### [隐藏热搜](../../registry/dist/components/style/hide/trending-search.js)
`hideTrendingSearch`
@ -389,6 +451,15 @@ by [@WakelessSloth56](https://github.com/WakelessSloth56)
隐藏鼠标指向用户名或用户头像时弹出的浮动用户信息卡片
### [隐藏头像框](../../registry/dist/components/style/hide/user-pendent.js)
`hideUserPendent`
**jsDelivr:** [`Stable`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@master/registry/dist/components/style/hide/user-pendent.js) / [`Preview`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@preview/registry/dist/components/style/hide/user-pendent.js)
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/hide/user-pendent.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/style/hide/user-pendent.js)
隐藏页面中用户的头像框 (包括角标), 目前支持动态和视频页面.
### [隐藏记笔记](../../registry/dist/components/style/hide/video/notes.js)
`hideVideoNotes`
@ -545,15 +616,6 @@ by [@RieN7](https://github.com/rien7),[@ZiuChen](https://github.com/ZiuChen),[@L
- `粉丝勋章`: 隐藏用户的粉丝勋章.
- `小喇叭横幅`: 隐藏评论区顶部的小喇叭横幅
### [简化首页](../../registry/dist/components/style/simplify/home.js)
`simplifyHome`
**jsDelivr:** [`Stable`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@master/registry/dist/components/style/simplify/home.js) / [`Preview`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@preview/registry/dist/components/style/simplify/home.js)
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/simplify/home.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/style/simplify/home.js)
隐藏原版首页不需要的元素 / 分区.
### [简化直播间](../../registry/dist/components/style/simplify/live.js)
`simplifyLiveroom`
@ -570,7 +632,7 @@ by [@RieN7](https://github.com/rien7),[@ZiuChen](https://github.com/ZiuChen),[@L
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/special-danmaku.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/style/special-danmaku.js)
移除高弹幕或 UP 主弹幕的特殊样式, 弹幕内容不会移除.
移除高弹幕或 UP 主弹幕的特殊样式, 弹幕内容不会移除.
### [v1 风格设置面板](../../registry/dist/components/style/v1-panel.js)
`v1PanelStyle`
@ -597,7 +659,7 @@ by [@RieN7](https://github.com/rien7),[@ZiuChen](https://github.com/ZiuChen),[@L
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/touch/double-click-control.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/touch/double-click-control.js)
将视频播放器的操作方式更改为: 单击显示 / 隐藏控制栏, 双击播放 / 暂停. 请注意不能和 `双击全屏` 一同使用.
将视频播放器的操作方式更改为: 单击显示 / 隐藏控制栏, 双击播放 / 暂停.
### [迷你播放器触摸拖动](../../registry/dist/components/touch/mini-player.js)
`touchMiniPlayer`
@ -630,6 +692,21 @@ by [@RieN7](https://github.com/rien7),[@ZiuChen](https://github.com/ZiuChen),[@L
- 进度调整可在左上角和右上角取消
- 进度调整时在不同位置滑动, 可以使用3档不同的灵敏度.
### [视频链接增强](../../registry/dist/components/utils/active-video-links.js)
`activeVideoLinks`
**jsDelivr:** [`Stable`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@master/registry/dist/components/utils/active-video-links.js) / [`Preview`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@preview/registry/dist/components/utils/active-video-links.js)
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/utils/active-video-links.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/utils/active-video-links.js)
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>
### [相簿发布时间显示](../../registry/dist/components/utils/album-time-show.js)
`albumPubTimeShow`
@ -695,6 +772,17 @@ by [@snowraincloud](https://github.com/snowraincloud)
避免专栏的文字复制后在最后带上出处信息, 更贴近原生的复制行为.
### [评论内容替换](../../registry/dist/components/utils/comments/content-replace.js)
`commentContentReplace`
**jsDelivr:** [`Stable`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@master/registry/dist/components/utils/comments/content-replace.js) / [`Preview`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@preview/registry/dist/components/utils/comments/content-replace.js)
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/utils/comments/content-replace.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/utils/comments/content-replace.js)
替换评论中的内容.
可以添加多个替换配置, 每项配置可将一个关键词替换为其他文本. 若替换的目标是一个链接, 则视作替换为表情, 留空则会移除命中的关键词.
### [复制评论链接](../../registry/dist/components/utils/comments/copy-link.js)
`copyCommentsLink`
@ -745,6 +833,19 @@ by [@snowraincloud](https://github.com/snowraincloud)
> 需要进入音频的详细信息页面才能下载, 在其他页面中此按钮将不可点击.
### [下载表情](../../registry/dist/components/utils/download-emoticons.js)
`downloadEmoticons`
**jsDelivr:** [`Stable`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@master/registry/dist/components/utils/download-emoticons.js) / [`Preview`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@preview/registry/dist/components/utils/download-emoticons.js)
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/utils/download-emoticons.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/utils/download-emoticons.js)
by [@Pencilqaq](https://github.com/pencilqaq)
## 下载up主专属表情包
支持下载up主专属表情包处于任意直播间页面时下载按钮会在`功能`面板显示,以压缩包形式保存。
### [图片批量导出](../../registry/dist/components/utils/image-exporter.js)
`imageExporter`
@ -800,7 +901,13 @@ by [@snowraincloud](https://github.com/snowraincloud)
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/utils/image-resolution.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/utils/image-resolution.js)
根据屏幕 DPI 请求更高分辨率的图片, 例如 DPI 缩放 200% 则请求 2 倍的分辨率, 加载时间也会相应变长一些. (也会导致某些浏览器里出现图片闪动, 因为本质上是更换了图片源)
对 200% 以上的屏幕 DPI 缩放请求更高分辨率的图片, 加载时间也会相应变长一些. (也会导致某些浏览器里出现图片闪动, 因为本质上是更换了图片源)
由于 b 站在很多地方没有设置图片维持原比例, 如果计算后的图片尺寸超出原图尺寸则会产生错误的比例, 可以考虑在选项中手动降低缩放级别.
`缩放级别` 选项:
- `auto`: 根据 DPI 缩放超出 200% 的比例自动计算, 例如 250% 的缩放下会请求 1.5 倍尺寸的图片.
- `数字`: 自定义尺寸的缩放倍率.
### [批量导入合集](../../registry/dist/components/utils/import-series.js)
`importSeries`
@ -840,10 +947,13 @@ by [@Light_Quanta](https://github.com/LightQuanta)
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/utils/remove-promotions.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/utils/remove-promotions.js)
删除站内的各种广告. 包括首页的推广模块, 手机 app 推荐, 视频页面右侧的广告等. 注意: 首页推广模块删除后留下空白区域是正常现象, 如果觉得怪可以开启 \`占位文本\` 选项.
删除站内的各种广告. 包括首页的推广模块, 手机 app 推荐, 视频页面右侧的广告等.
- \`占位文本\`: 删除首页推广模块的广告后显示"🚫已屏蔽广告"来替代空白区域.
- \`保留活动横幅\`: 保留视频页面的活动横幅.
- `保留活动横幅`: 保留视频页面的活动横幅.
- `选项`
- `卡片占位`: 关闭时广告卡片将完全隐藏,后续的视频卡片会自动补上空缺位置
- `占位文本`: 屏蔽首页推广模块的广告后显示"🚫已屏蔽广告"来替代空白区域.
- `调试模式`: 用于查看是否正确屏蔽广告,启用时将边框高亮广告卡片,同时其他屏蔽选项会失效
### [关注时间显示](../../registry/dist/components/utils/subscribe-time-show.js)
`subscribeTimeShow`
@ -852,9 +962,9 @@ by [@Light_Quanta](https://github.com/LightQuanta)
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/utils/subscribe-time-show.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/utils/subscribe-time-show.js)
by [@Light_Quanta](https://github.com/LightQuanta)
by [@CNOCM](https://github.com/CNOCM)
在粉丝/关注列表显示关注的具体时间
在粉丝/关注列表及用户主页显示关注的具体时间
### [网址参数清理](../../registry/dist/components/utils/url-params-clean.js)
`urlParamsClean`
@ -883,6 +993,17 @@ by [@Light_Quanta](https://github.com/LightQuanta)
在视频页面中, 可从功能面板中查看封面.
### [稍后再看页面-重定向](../../registry/dist/components/utils/watchlater-page-redirect.js)
`watchlaterPageRedirect`
**jsDelivr:** [`Stable`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@master/registry/dist/components/utils/watchlater-page-redirect.js) / [`Preview`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@preview/registry/dist/components/utils/watchlater-page-redirect.js)
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/utils/watchlater-page-redirect.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/utils/watchlater-page-redirect.js)
by [@magicFeirl](https://github.com/magicFeirl)
重定向**稍后再看页面**到普通视频页面,和`稍后再看重定向`组件的区别在于,该组件是在进入稍后再看的视频页面后进行重定向,而非直接替换链接到普通视频的链接,用于补充`稍后再看重定向`组件的功能。
### [稍后再看重定向](../../registry/dist/components/utils/watchlater-redirect.js)
`watchlaterRedirect`
@ -1028,10 +1149,10 @@ by [@kdxcxs](https://github.com/kdxcxs)
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/full-episode-title.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/video/full-episode-title.js)
提供一些视频选集区域的优化, 对番剧无效.
- `展开选集标题`: 总是完全展开视频选集列表项的标题
- `展开选集标题`: 总是完全展开视频选集列表项的标题, 若为传统分 P 列表, 还会恢复显示分 P 数的前缀.
- `展开选集列表`: 总是完全展开视频选集列表
打开 `展开选集列表` 时, 在选集区域的标题上按住 <kbd>Alt</kbd> 键点击可以临时切换展开/收起选集列表.
打开 `展开选集列表` 时, 在选集区域的标题上按住 <kbd>Alt</kbd> 键点击可以临时切换此组件的效果.
### [保存视频元数据](../../registry/dist/components/video/metadata.js)
`saveVideoMetadata`
@ -1080,6 +1201,15 @@ by [@WakelessSloth56](https://github.com/WakelessSloth56),[@LainIO24](https://gi
控制是否使用默认播放器模式, 可以为`常规`, `宽屏`, `网页全屏`或`全屏`. 注意: 不能和其他影响定位的功能一同使用, 例如播放器定位. (相关讨论: [#483](https://github.com/the1812/Bilibili-Evolved/issues/483))
### [禁用双击全屏](../../registry/dist/components/video/player/disable-double-click-fullscreen.js)
`disableDoubleClickFullscreen`
**jsDelivr:** [`Stable`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@master/registry/dist/components/video/player/disable-double-click-fullscreen.js) / [`Preview`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@preview/registry/dist/components/video/player/disable-double-click-fullscreen.js)
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/player/disable-double-click-fullscreen.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/video/player/disable-double-click-fullscreen.js)
禁用播放器的双击全屏功能.
### [禁止滚轮调音量](../../registry/dist/components/video/player/disable-scroll-volume.js)
`disableScrollVolume`
@ -1089,15 +1219,6 @@ by [@WakelessSloth56](https://github.com/WakelessSloth56),[@LainIO24](https://gi
在网页全屏 / 全屏模式下, 禁止鼠标滚轮控制播放器的音量. 请注意不能和 `反转滚轮调音量` 一同使用.
### [双击全屏](../../registry/dist/components/video/player/double-click-fullscreen.js)
`doubleClickFullscreen`
**jsDelivr:** [`Stable`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@master/registry/dist/components/video/player/double-click-fullscreen.js) / [`Preview`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@preview/registry/dist/components/video/player/double-click-fullscreen.js)
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/player/double-click-fullscreen.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/video/player/double-click-fullscreen.js)
为视频播放器启用双击全屏功能, 请注意不能和 `启用双击控制` 一同使用.
### [扩展倍速](../../registry/dist/components/video/player/extend-speed.js)
`extendVideoSpeed`
@ -1428,6 +1549,15 @@ by FoundTheWOUT
为自定义顶栏添加一个夜间模式开关, 方便快速切换夜间模式.
### [自定义顶栏 - 版权内容](../../registry/dist/plugins/style/custom-navbar-pgc.js)
`customNavbar.items.pgc`
**jsDelivr:** [`Stable`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@master/registry/dist/plugins/style/custom-navbar-pgc.js) / [`Preview`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@preview/registry/dist/plugins/style/custom-navbar-pgc.js)
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/plugins/style/custom-navbar-pgc.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/plugins/style/custom-navbar-pgc.js)
为自定义顶栏扩充版权内容相关的快速入口, 包括国创 / 电影 / 电视剧 /综艺 / 纪录片
### [快捷键扩展 - 夜间模式](../../registry/dist/plugins/utils/keymap-dark-mode.js)
`keymap.actions.darkMode`
@ -1507,7 +1637,7 @@ by FoundTheWOUT
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/plugins/video/download/idm-output.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/plugins/video/download/idm-output.js)
为下载视频增加 IDM 输出支持,建议配合 [ef2.exe](https://github.com/MotooriKashin/ef2) 以简化操作、保留文件名.
为下载视频增加 IDM 输出支持.
### [下载视频 - 手动输入](../../registry/dist/plugins/video/download/manual-input.js)
`downloadVideo.inputs.manual`

View File

@ -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 推荐, 视频页面右侧的广告等. 注意: 首页推广模块删除后留下空白区域是正常现象, 如果觉得怪可以开启 \\`占位文本\\` 选项.\r\n\r\n- \\`占位文本\\`: 删除首页推广模块的广告后显示\"🚫已屏蔽广告\"来替代空白区域.\r\n- \\`保留活动横幅\\`: 保留视频页面的活动横幅.\r\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"
},
@ -45,7 +44,7 @@
"type": "component",
"name": "disableSpecialDanmaku",
"displayName": "禁用特殊弹幕样式",
"description": "移除高弹幕或 UP 主弹幕的特殊样式, 弹幕内容不会移除.\r\n",
"description": "移除高弹幕或 UP 主弹幕的特殊样式, 弹幕内容不会移除.",
"fullRelativePath": "../../registry/dist/components/style/special-danmaku.js",
"fullAbsolutePath": "registry/dist/components/style/special-danmaku.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",
@ -200,7 +191,7 @@
"type": "component",
"name": "removePromotions",
"displayName": "删除广告",
"description": "删除站内的各种广告. 包括首页的推广模块, 手机 app 推荐, 视频页面右侧的广告等. 注意: 首页推广模块删除后留下空白区域是正常现象, 如果觉得怪可以开启 \\`占位文本\\` 选项.\r\n\r\n- \\`占位文本\\`: 删除首页推广模块的广告后显示\"🚫已屏蔽广告\"来替代空白区域.\r\n- \\`保留活动横幅\\`: 保留视频页面的活动横幅.\r\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"
},

View File

@ -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

View File

@ -51,7 +51,7 @@
"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,6 +60,7 @@
"to-string-loader": "^1.2.0",
"ts-node": "^10.7.0",
"typescript": "^4.9.5",
"vue-eslint-parser": "^9.4.3",
"vue-loader": "^15.10.1",
"webpack": "^5.31.2",
"webpack-bundle-analyzer": "^4.5.0",
@ -84,7 +85,11 @@
"overrides": {
"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"
}

10450
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -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})()));

File diff suppressed because one or more lines are too long

View File

@ -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

File diff suppressed because one or more lines are too long

View File

@ -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})()));

View File

@ -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})()));

View File

@ -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})()));

View File

@ -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})()));

File diff suppressed because one or more lines are too long

View File

@ -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})()));

View File

@ -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})()));

View 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})()));

View File

@ -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})()));

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -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})()));

View 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})()));

View 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})()));

View File

@ -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})()));

View 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})()));

View File

@ -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})()));

View 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})()));

View File

@ -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})()));

View File

@ -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})()));

View File

@ -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})()));

View File

@ -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})()));

View File

@ -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})()));

View File

@ -1 +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:()=>c});const l=coreApis.componentApis.define,t=coreApis.settings,s=[];let d=!1,o=!0;const i=(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){console.log(e);for(const a of e)if(a.classList)if(a.classList.contains("floor-single-card")){const e=a.querySelector(".badge").textContent;e&&s.includes(e)&&(a.remove(),console.log("remove",e))}else a.classList.contains("bili-live-card")?d&&(a.remove(),console.log("remove live")):(a.classList.contains("bili-video-card")||a.classList.contains("feed-card"))&&o&&(a.querySelector(".bili-video-card__info--ad")||a.querySelector(".bili-video-card__info--creative-ad"))&&(a.remove(),console.log("remove ads"))}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 c=(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 i=document.querySelector("main > .feed2 > .recommended-container_floor-aside > .container");if(!i)return;new MutationObserver(n).observe(i,{childList:!0}),Object.keys(l.options).forEach((e=>{(0,t.addComponentListener)(`${a.name}.${e}`,(a=>{if(a){if("广告"===e)return void(o=!0);s.push(e),"直播"===e&&(d=!0)}}),!0)}));u(i.children)},options:i,commitHash:"1167f721dc805a6bfd3d4bcba753607eff4bacd5",coreVersion:"2.7.0"});return a=a.component})()));
!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})()));

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -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})()));

View File

@ -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})()));

View File

@ -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})()));

View File

@ -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})()));

View File

@ -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})()));

View 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})()));

View File

@ -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})()));

View File

@ -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})()));

View 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})()));

View 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})()));

View File

@ -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})()));

View File

@ -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})()));

View 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})()));

View File

@ -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})()));

View File

@ -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

View File

@ -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})()));

View File

@ -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})()));

View File

@ -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})()));

View File

@ -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})()));

View File

@ -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

View File

@ -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

View File

@ -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})()));

View File

@ -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})()));

View File

@ -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

View File

@ -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

View 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})()));

View 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})()));

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -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})()));

View File

@ -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})()));

View File

@ -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/column-unlock"]=t():e["utils/column-unlock"]=t()}(globalThis,(()=>(()=>{var e,t,o={280: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=280,e.exports=t},780:e=>{"use strict";e.exports="(原名: 专栏文字选择, 现在专栏已经不限制选中文字了)\n\n避免专栏的文字复制后在最后带上出处信息, 更贴近原生的复制行为.\n"},356:e=>{"use strict";e.exports=coreApis.style}},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 s=2&n&&o;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).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:()=>s});const e=coreApis.componentApis.define;let t=!1,o=!0;const n="column-unlock",i=async()=>{o=!0;const{addStyle:e}=await Promise.resolve().then(r.t.bind(r,356,23));e(".article-holder { user-select: text !important }",n),t||(t=!0,document.addEventListener("copy",(e=>{o&&e.stopImmediatePropagation()}),{capture:!0}))},s=(0,e.defineComponentMetadata)({name:"columnUnlock",displayName:"专栏复制优化",entry:i,reload:i,unload:async()=>{document.getElementById(n)?.remove(),o=!1},tags:[componentsTags.utils],urlInclude:["//www.bilibili.com/read/"],commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3",description:(()=>{const e=r(280);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,780,17)).then((e=>e.default))}})()})})(),c=c.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/column-unlock"]=t():e["utils/column-unlock"]=t()}(globalThis,(()=>(()=>{var e,t,o={61: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=61,e.exports=t},26:e=>{"use strict";e.exports="(原名: 专栏文字选择, 现在专栏已经不限制选中文字了)\n\n避免专栏的文字复制后在最后带上出处信息, 更贴近原生的复制行为.\n"},479:e=>{"use strict";e.exports=coreApis.style}},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 s=2&n&&o;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).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:()=>s});const e=coreApis.componentApis.define;let t=!1,o=!0;const n="column-unlock",i=async()=>{o=!0;const{addStyle:e}=await Promise.resolve().then(r.t.bind(r,479,23));e(".article-holder { user-select: text !important }",n),t||(t=!0,document.addEventListener("copy",(e=>{o&&e.stopImmediatePropagation()}),{capture:!0}))},s=(0,e.defineComponentMetadata)({name:"columnUnlock",displayName:"专栏复制优化",entry:i,reload:i,unload:async()=>{document.getElementById(n)?.remove(),o=!1},tags:[componentsTags.utils],urlInclude:["//www.bilibili.com/read/"],commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4",description:(()=>{const e=r(61);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,26,17)).then((e=>e.default))}})()})})(),c=c.component})()));

File diff suppressed because one or more lines are too long

View 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/comments/content-replace/handlers"]=t():e["utils/comments/content-replace/handlers"]=t()}(globalThis,(()=>(()=>{"use strict";var e={};const t=coreApis.pluginApis.data,n=coreApis.settings,r=e=>{try{const t=new URL(e);return Boolean(t)}catch(e){return!1}};class o{}const{options:s}=(0,n.getComponentSettings)("commentContentReplace"),c=[new class extends o{isKeywordMatch(e,t,n){return e instanceof Text&&(e.textContent.includes(t)&&r(n))}replaceContent(e,t,n){const r=e.textContent.indexOf(t);if(-1===r||!(e instanceof Text))return[];const o=new Text(e.textContent.substring(0,r)),s=((e,t)=>{const n=document.createElement("img");return n.src=e,n.alt=t,n.loading="lazy",n.style.width="50px",n.style.height="50px",n})(n,t),c=new Text(e.textContent.substring(r+t.length));return e.replaceWith(o,s,c),[c]}},new class extends o{isKeywordMatch(e,t,n){return e instanceof HTMLImageElement&&(e.alt===t&&r(n))}replaceContent(e,t,n){return e instanceof HTMLImageElement?(e.src=n,[]):[]}},new class extends o{isKeywordMatch(e,t){return e instanceof Text&&e.textContent.includes(t)}replaceContent(e,t,n){const r=e.textContent.indexOf(t);if(-1===r)return[];const o=e.textContent.substring(0,r),s=e.textContent.substring(r+t.length);return e.textContent=`${o}${n}${s}`,[]}},new class extends o{isKeywordMatch(e,t){return e instanceof HTMLImageElement&&e.alt===t}replaceContent(e,t,n){return e instanceof HTMLImageElement?(""===n?e.remove():e.replaceWith(new Text(n)),[]):[]}},new class extends o{isKeywordMatch(){return!0}replaceContent(e){return Array.from(e.childNodes)}}];(0,t.registerAndGetData)("commentContentReplace.handlers",[e=>{let{content:n}=e;const{replaceMap:r}=s,[o]=(0,t.registerAndGetData)("commentContentReplace.defaultHandler.replaceMap",r),a=e=>{e.forEach((e=>{Object.entries(o).forEach((t=>{let[n,r]=t;if(n===r||""===n)return;const o=c.find((t=>t.isKeywordMatch(e,n,r)));if(!o)return;const s=o.replaceContent(e,n,r);a(s)}))}))};a(n)}]);return e=e.component})()));

View File

@ -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/comments/copy-link"]=t():e["utils/comments/copy-link"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,o={206:e=>{e.exports=coreApis.componentApis.utils.commentApis}},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 a=2&r&&o;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).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:()=>r});const e=coreApis.componentApis.define,t=coreApis.utils,o=coreApis.utils.urls,r=(0,e.defineComponentMetadata)({name:"copyCommentsLink",displayName:"复制评论链接",description:{"zh-CN":"开启后, 可在每条评论的菜单中选择复制链接."},entry:async()=>{const{forEachCommentItem:e,addMenuItem:r}=await Promise.resolve().then(n.t.bind(n,206,23));e({added:e=>{const n=e=>{e.forEach((e=>{r(e,{className:"copy-link",text:"复制链接",action:async()=>{const r=(e=>{if(document.URL.match(/\/\/t\.bilibili\.com\/(\d+)/))return"";if(o.feedsUrls.every((e=>!(0,t.matchUrlPattern)(e))))return"";let r=e;for(;null!==r&&r!==document.body;){if(r.hasAttribute("data-did"))return`https://t.bilibili.com/${r.getAttribute("data-did")}`;r=r.parentElement}return""})(e.element)||document.URL.replace(location.hash,"");await navigator.clipboard.writeText(`${r}#reply${e.id}`)}})}))};n([e,...e.replies]),e.onRepliesUpdate=e=>n(e)}})},tags:[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["utils/comments/copy-link"]=t():e["utils/comments/copy-link"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,o={913:e=>{e.exports=coreApis.componentApis.utils.commentApis}},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 a=2&r&&o;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).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={};n.d(i,{component:()=>p});const c=coreApis.componentApis.define,a=coreApis.utils,s=coreApis.utils.urls,p=(0,c.defineComponentMetadata)({name:"copyCommentsLink",displayName:"复制评论链接",description:{"zh-CN":"开启后, 可在每条评论的菜单中选择复制链接."},entry:async()=>{const{forEachCommentItem:e,addMenuItem:t}=await Promise.resolve().then(n.t.bind(n,913,23));e({added:e=>{const o=e=>{e.forEach((e=>{t(e,{className:"copy-link",text:"复制链接",action:async()=>{const t=(e=>{if(document.URL.match(/\/\/t\.bilibili\.com\/(\d+)/))return"";if(s.feedsUrls.every((e=>!(0,a.matchUrlPattern)(e))))return"";let t=e;for(;null!==t&&t!==document.body;){if(t.hasAttribute("data-did"))return`https://t.bilibili.com/${t.getAttribute("data-did")}`;t=t.parentElement}return""})(e.element)||document.URL.replace(location.hash,"");await navigator.clipboard.writeText(`${t}#reply${e.id}`)}})}))};o([e,...e.replies]),e.addEventListener("repliesUpdate",(e=>o(e.detail)))}})},tags:[componentsTags.utils],commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4"});return i=i.component})()));

View File

@ -1,9 +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["utils/comments/disable-search-link"]=t():e["utils/comments/disable-search-link"]=t()}(globalThis,(()=>(()=>{var e,t,o={767:(e,t,o)=>{var n=o(355)((function(e){return e[1]}));n.push([e.id,".search-word.icon {\n display: none !important;\n}\n.reply-warp .reply-item .search-word.jump-link {\n color: inherit !important;\n cursor: text !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["utils/comments/disable-search-link"]=t():e["utils/comments/disable-search-link"]=t()}(globalThis,(()=>(()=>{var e,t,n={51:(e,t,n)=>{var o=n(955)((function(e){return e[1]}));o.push([e.id,":host(bili-rich-text) #contents a[data-type=search] {\n color: inherit !important;\n cursor: inherit !important;\n display: contents !important;\n}\n:host(bili-rich-text) #contents a[data-type=search] img {\n display: none;\n}",""]),e.exports=o},576:(e,t,n)=>{var o=n(955)((function(e){return e[1]}));o.push([e.id,".search-word.icon {\n display: none !important;\n}\n.reply-warp .reply-item .search-word.jump-link {\n color: inherit !important;\n cursor: text !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 o=e(t);return t[2]?"@media ".concat(t[2]," {").concat(o,"}"):o})).join("")},
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,o,n){"string"==typeof e&&(
t.i=function(e,n,o){"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++){
e=[[null,e,""]]);var r={};if(o)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}},881:(e,t,o)=>{var n=o(767);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()},59: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=59,e.exports=t},629:e=>{"use strict";e.exports="禁用评论区的搜索词链接."}},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:()=>a});const e=coreApis.componentApis.define,t=coreApis.componentApis.utils.commentApis,o=coreApis.utils,n="disableCommentsSearchLink";let s=!1;const a=(0,e.defineComponentMetadata)({name:n,displayName:"禁用评论区搜索词",instantStyles:[{name:n,style:()=>Promise.resolve().then(r.t.bind(r,881,23)),important:!0}],tags:[componentsTags.utils,componentsTags.style],entry:async()=>{s=!0,(0,t.forEachCommentArea)((e=>{(0,o.preventEvent)(e.element,"click",(e=>{if(!(e.target instanceof HTMLElement&&s))return!1;const t=e.target;return!![".jump-link.search-word",".icon.search-word"].some((e=>t.matches(e)))}))}))},reload:()=>{s=!0},unload:()=>{s=!1},commitHash:"cd5e421d84b8e446ac214166757f99b5ae8cdbfc",coreVersion:"2.7.3",description:(()=>{const e=r(59);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,629,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]);o&&r[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},573:(e,t,n)=>{var o=n(51);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()},546:(e,t,n)=>{var o=n(576);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()},157: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=157,e.exports=t},322:e=>{"use strict";e.exports="禁用评论区的搜索词链接."}},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:()=>c});const e=coreApis.componentApis.define,t=coreApis.componentApis.utils.commentApis,n=coreApis.shadowRoot,o=coreApis.utils,a="disableCommentsSearchLink";let s=!1;const c=(0,e.defineComponentMetadata)({name:a,displayName:"禁用评论区搜索词",instantStyles:[{name:a,style:()=>Promise.resolve().then(r.t.bind(r,546,23)),important:!0},{name:a,style:()=>Promise.resolve().then(r.t.bind(r,573,23)),shadowDom:!0}],tags:[componentsTags.utils,componentsTags.style],entry:async()=>{s=!0,(0,t.forEachCommentArea)((async e=>{e instanceof t.CommentAreaV3?e.commentAreaEntry.addEventListener(n.ShadowRootEvents.Updated,(e=>{e.detail.forEach((e=>{e.addedNodes.forEach((e=>{e instanceof HTMLAnchorElement&&"search"===e.getAttribute("data-type")&&(e.removeAttribute("href"),e.removeAttribute("target"))}))}))})):(0,o.preventEvent)(e.element,"click",(e=>{if(!(e.target instanceof HTMLElement&&s))return!1;const t=e.target;return!![".jump-link.search-word",".icon.search-word"].some((e=>t.matches(e)))}))}))},reload:()=>{s=!0},unload:()=>{s=!1},commitHash:"f8d9b5665fc198fe5b2eb39c57dab6d686e5ed74",coreVersion:"2.10.4",description:(()=>{const e=r(157);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,322,17)).then((e=>e.default))}})()})})(),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

Some files were not shown because too many files have changed in this diff Show More