Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3314 commits
Select commit Hold shift + click to select a range
f934904
feat: 添加禁用轮播选项
wsgh0202 Jul 11, 2025
10be10e
feat: 添加图片模糊选项
wsgh0202 Jul 11, 2025
32dbb93
Convert to Vue3 syntax
the1812 Jul 15, 2025
94fdf85
Add integrated dark mode (#5272)
the1812 Jul 15, 2025
6879a1a
Add dark mode adaptations
the1812 Jul 15, 2025
6cde0a4
Rename color tokens
the1812 Jul 16, 2025
d613646
Update dark styles
the1812 Jul 17, 2025
b77e95b
Update dark styles
the1812 Jul 17, 2025
265d4f5
Merge pull request #5287 from wsgh0202/fix-hide-home-carousel
the1812 Jul 18, 2025
921493a
Merge pull request #5285 from CNOCM/fix/subscribeTimeShow
the1812 Jul 18, 2025
83b9800
Update dark styles
the1812 Jul 21, 2025
c08e273
Update changelog
the1812 Jul 22, 2025
e3349c5
Fix side card states not updating
the1812 Jul 22, 2025
3cba41a
Update changelog
the1812 Jul 22, 2025
afa034d
Merge tag 'v2.10.2-preview' into preview-fixes
the1812 Jul 22, 2025
993b726
Update version number
the1812 Jul 22, 2025
076dc47
Update donate history
the1812 Jul 22, 2025
c85fc06
Update docs
the1812 Jul 22, 2025
fba8849
Merge branch 'preview-fixes' into preview-features
the1812 Jul 22, 2025
1f27d86
Update docs
the1812 Jul 22, 2025
acac416
Fix type error
the1812 Jul 22, 2025
a3d1675
Merge branch 'preview-fixes' into preview-features
the1812 Jul 22, 2025
4b3a1a3
Merge branch 'preview-fixes'
the1812 Jul 22, 2025
ab048b3
CI build
github-actions[bot] Jul 22, 2025
f8b5092
Update changelog
the1812 Jul 23, 2025
f136369
Update changelog
the1812 Jul 23, 2025
ebf87b7
Merge pull request #5287 from wsgh0202/fix-hide-home-carousel
the1812 Jul 18, 2025
6bb378e
Update changelog
the1812 Jul 23, 2025
0d7fac9
Merge branch 'preview-fixes'
the1812 Jul 23, 2025
9ce5fa2
CI build
github-actions[bot] Jul 23, 2025
c2151eb
feat: 添加逻辑框架
wsgh0202 Jul 19, 2025
487f648
feat: 实现setupAutoPlay_Bangumi函数
wsgh0202 Jul 20, 2025
12c0839
feat: 实现检测自动连播类型相关逻辑
wsgh0202 Jul 20, 2025
8495202
feat: 实现设置自动连播状态相关逻辑
wsgh0202 Jul 20, 2025
6326d3c
feat: 实现检测是否应该自动连播相关逻辑
wsgh0202 Jul 21, 2025
ab1b43c
feat: 切换选项时应用到当前视频
wsgh0202 Jul 21, 2025
c8bb68d
fix: 修复日志打印错误
wsgh0202 Jul 21, 2025
33f07ec
fix: 修复初始化报错
wsgh0202 Jul 21, 2025
96b6575
fix: 修复设置自动连播发生在视频切换完成之前
wsgh0202 Jul 22, 2025
15fa397
refactor: 重构处理逻辑,自动连播类型处理逻辑提取到单独子类中
wsgh0202 Jul 22, 2025
cb8148b
feat: 添加自动连播处理器-收藏夹
wsgh0202 Jul 22, 2025
4a45625
feat: 番剧支持连播到最后1P停止,默认值改为始终连播
wsgh0202 Jul 23, 2025
8656dbf
fix: 修复小程序广告没有屏蔽
wsgh0202 Jul 24, 2025
8e1ea35
fix: 换一换区域广告没有占位
wsgh0202 Jul 24, 2025
6fe8acf
fix: 修复占位文本不显示
wsgh0202 Jul 25, 2025
4ec6fae
feat: 添加debug选项
wsgh0202 Jul 25, 2025
090dc7c
fix: 修复视频搜索页广告没有屏蔽(#5160)
wsgh0202 Jul 25, 2025
79b067e
Merge pull request #5303 from wsgh0202/feat-custom-autoplay
the1812 Jul 25, 2025
c0407d0
Update registry/lib/components/utils/remove-promotions/index.md
wsgh0202 Jul 25, 2025
5ee2af1
docs: 更新选项名称
wsgh0202 Jul 25, 2025
27f41b0
Merge pull request #5307 from wsgh0202/fix-removePromotions
the1812 Jul 25, 2025
b08f444
refactor: 修改选项为switch方式
wsgh0202 Jul 25, 2025
d46ab35
feat: 添加移除占位选项
wsgh0202 Jul 25, 2025
4f60b00
Merge pull request #5309 from wsgh0202/feat-removePromotions
the1812 Jul 31, 2025
c24d844
Update dark styles
the1812 Aug 1, 2025
23a97e7
Update main site urls
the1812 Aug 1, 2025
4840c2f
Merge branch 'preview-fixes' of https://github.com/the1812/Bilibili-E…
the1812 Aug 1, 2025
d2f6837
Merge branch 'preview-fixes' into preview-features
the1812 Aug 1, 2025
03afc94
Merge branch 'preview-features' of https://github.com/the1812/Bilibil…
the1812 Aug 1, 2025
ba57ca6
Upgrade caniuse-lite
the1812 Aug 6, 2025
8edbdbf
fix:表情包下载失效
pencilqaq Aug 9, 2025
c4fab85
fix: fix component hideUserCard
WakelessSloth56 Aug 11, 2025
992b24a
获取room_id兼容blanc原版直播间
kkkkkkkk566 Aug 11, 2025
251f44a
refactor: merge style and logic in replace-cover, optimize video prev…
UcnacDx2 Aug 12, 2025
f7da805
Update dark styles
the1812 Aug 13, 2025
5f243a6
Update ad rules (fix #5160)
the1812 Aug 13, 2025
f3b8fe5
Merge pull request #5327 from WakelessSloth56/preview-fixes
the1812 Aug 13, 2025
9e16d64
Merge branch 'preview-fixes' of https://github.com/the1812/Bilibili-E…
the1812 Aug 13, 2025
ea2e998
Merge branch 'preview-fixes' into preview-features
the1812 Aug 13, 2025
0a510e2
Merge pull request #5226 from UcnacDx2/preview-features
the1812 Aug 13, 2025
8046b36
Merge branch 'the1812:preview-fixes' into preview-fixes
kkkkkkkk566 Aug 13, 2025
d73be3e
ES lint
kkkkkkkk566 Aug 13, 2025
32fe44b
- 移除 Widget.vue 中未使用的 midRegex 正则
pencilqaq Aug 13, 2025
342c4c6
feat: 直接引入ComponentOption组件无法加载,复制组件临时使用
wsgh0202 Aug 7, 2025
a5cd393
feat: 添加可收起展开容器
wsgh0202 Aug 7, 2025
f3af270
feat: 添加切换设置面板、小组件布局组件
wsgh0202 Aug 7, 2025
f296bbf
feat: 添加动态创建vue组件模块
wsgh0202 Aug 7, 2025
5e5a2c1
feat: 添加选项组组件
wsgh0202 Aug 7, 2025
d0cdf37
feat: 将switche改回普通option,并移入选项组组件
wsgh0202 Aug 7, 2025
d3f5e21
refactor: 移动通用组件到统一位置
wsgh0202 Aug 7, 2025
8ef08f9
refactor: 移除临时组件
wsgh0202 Aug 7, 2025
b71eb00
fix: 设置面板修改后小组件中面板选项不更新
wsgh0202 Aug 11, 2025
4440182
style: 添加默认弹框位置、大小样式
wsgh0202 Aug 11, 2025
c52e381
refactor: 更换设置面板、小组件UI为OptionRadioGroup
wsgh0202 Aug 11, 2025
c0b7a29
feat: 添加新参数支持开关外层容器显示
wsgh0202 Aug 11, 2025
2ea3a00
style: 移除设置面板外层容器显示
wsgh0202 Aug 11, 2025
8cc9d71
feat: 添加禁用内容区域参数
wsgh0202 Aug 14, 2025
c68e440
docs: 更新选项说明
wsgh0202 Aug 14, 2025
a7981d3
style: 标题和展开按钮之间添加间距
wsgh0202 Aug 14, 2025
2b97931
Merge pull request #5328 from kkkkkkkk566/preview-fixes
the1812 Aug 17, 2025
1573b86
Merge pull request #5325 from pencilqaq/preview-fixes
the1812 Aug 17, 2025
ea303fc
feat(component.urlParamsClean): clean anchors
WakelessSloth56 Aug 21, 2025
92c771d
feat(component.urlParamsClean): switch for anchors cleaning
lainio24 Aug 21, 2025
ba2cd3b
Merge pull request #5339 from WakelessSloth56/preview-features
the1812 Aug 22, 2025
f381226
refactor: 移动导出类型到ts文件以通过类型检查
wsgh0202 Aug 23, 2025
6aded9e
Fix season type (fix #5292)
the1812 Aug 29, 2025
300d535
Fix live url (fix #5306)
the1812 Aug 29, 2025
95ee56b
Merge branch 'preview-fixes' of https://github.com/the1812/Bilibili-E…
the1812 Aug 29, 2025
d4ef2e6
refactor: 移动方法位置
wsgh0202 Aug 29, 2025
15c31b9
Merge pull request #5332 from wsgh0202/feat-option-ui
the1812 Sep 1, 2025
5e80b05
Fix reply content not replaced (fix #4843)
the1812 Sep 2, 2025
a10555f
Merge branch 'preview-fixes' into preview-features
the1812 Sep 2, 2025
dc9edea
feat: 添加视频缩放功能及样式支持
Weedy233 Sep 2, 2025
c7b3e79
feat: 重构视频缩放功能,添加缩放预设选项和自定义缩放比例
Weedy233 Sep 2, 2025
894eb28
refactor: 重构视频缩放组件并添加新功能
Weedy233 Sep 2, 2025
7d0d911
Improve CollapsibleContainer styles
the1812 Sep 3, 2025
8f34721
feat: 添加初始加载时不显示toast的时间阈值
Weedy233 Sep 4, 2025
4455da6
feat: 添加控制栏按钮开关功能并优化缩放逻辑
Weedy233 Sep 4, 2025
2617458
feat: 添加详细描述文档并优化缩放提示逻辑
Weedy233 Sep 5, 2025
bf43fa1
refactor: 移除调试日志和未使用的样式
Weedy233 Sep 5, 2025
b8d4715
Update dark mode excludes (fix #5353)
Ayx03 Sep 6, 2025
d5f9c67
Add preferred url type config (fix #3234)
the1812 Sep 7, 2025
e7788aa
Add integration dark mode toggle (#5272)
the1812 Sep 7, 2025
0acd105
Add mall link redirect (#5310)
the1812 Sep 7, 2025
c91ab69
Refactor to Vue 3 syntax
the1812 Sep 7, 2025
a5911fa
feat(saveVideoMetadata): support bangumi urls
WakelessSloth56 Sep 8, 2025
0ddf37c
feat(saveVideoMetadata): tag info
WakelessSloth56 Sep 8, 2025
a8bcc3d
feat(video-info): add `redirectUrl` property
WakelessSloth56 Sep 8, 2025
9747b00
feat(video-info): refactor `BangumiInfo`
WakelessSloth56 Sep 8, 2025
8ef0bf3
feat(video-info): more properties in `BangumiInfo`
lainio24 Sep 8, 2025
57a8865
Revert "Add integration dark mode toggle (#5272)"
the1812 Sep 8, 2025
726b2ef
Refactor to Vue 3 syntax
the1812 Sep 8, 2025
7263fa5
feat(saveVideoMetadata): ffmetadata with bangumi info
lainio24 Sep 9, 2025
6efd29e
feat(saveVideoMetadata): convert bangumi skips to chapters
WakelessSloth56 Sep 9, 2025
74021e6
feat(saveVideoMetadata): switch for bangumi skips conversion
WakelessSloth56 Sep 9, 2025
bbdb70d
Support suggest item auto-fill (fix #822)
the1812 Sep 9, 2025
efbfeca
Merge pull request #5355 from WakelessSloth56/preview-features
the1812 Sep 9, 2025
2c87b1f
Merge pull request #5354 from Ayx03/patch-1
the1812 Sep 9, 2025
4c53011
CI build
github-actions[bot] Sep 9, 2025
053c478
Update dark mode excludes (fix #5353)
Ayx03 Sep 6, 2025
22c77e2
Update changelog
the1812 Sep 11, 2025
5c11125
Update version number
the1812 Sep 11, 2025
d42f022
Update donate history
the1812 Sep 11, 2025
6451118
Update docs
the1812 Sep 11, 2025
cf1f448
Merge branch 'preview-fixes' into preview-features
the1812 Sep 11, 2025
f43ed89
Update docs
the1812 Sep 11, 2025
3576c95
Update changelog
the1812 Sep 11, 2025
c810fbb
Merge branch 'preview-fixes' into preview-features
the1812 Sep 11, 2025
f8d9b56
Merge branch 'preview-fixes'
the1812 Sep 11, 2025
c0d915e
CI build
github-actions[bot] Sep 11, 2025
764ab98
fix: 修复视频缩放组件
Weedy233 Sep 11, 2025
fff7c36
refactor: 拆分handler类为独立文件
wsgh0202 Sep 12, 2025
4b1014e
feat: 拆分视频合集与分P视频的识别
wsgh0202 Sep 12, 2025
67d6a2a
fix: 修复正片为数字列表模式时自动模式失效
wsgh0202 Sep 12, 2025
83de004
Merge pull request #5360 from wsgh0202/fix-custom-autoplay
the1812 Sep 13, 2025
794d38a
feat(wasm-output): embed cover
WakelessSloth56 Sep 30, 2025
6cc2048
Merge pull request #5352 from Weedy233/preview-features
the1812 Oct 1, 2025
cf3d9fd
feat(wasm-output): options for `outputType`, `attachCover`
lainio24 Oct 4, 2025
760942c
chore(wasm-output): authors, comments, cspell dict
lainio24 Oct 4, 2025
5bf1ef1
Merge pull request #5388 from WakelessSloth56/preview-features
the1812 Oct 5, 2025
5a72763
Add error handling (fix #5382)
the1812 Oct 5, 2025
d94b85e
fix(video-info): `BangumiInfo` supports sections
WakelessSloth56 Oct 19, 2025
ad73831
feat(saveVideoMetadata): bangumi info with section title
WakelessSloth56 Oct 19, 2025
9aafa05
feat(video-info): video stat
lainio24 Oct 19, 2025
8956650
feat(saveVideoMetadata): video stat
WakelessSloth56 Oct 19, 2025
23eecd4
feat(saveVideoMetadata): option for time format
lainio24 Oct 19, 2025
91d580b
feat(saveVideoMetadata): switch for video stat
lainio24 Oct 19, 2025
143041a
fix(saveVideoMetadata): fix typo
lainio24 Oct 27, 2025
888236f
Merge pull request #5399 from WakelessSloth56/preview-features
the1812 Oct 27, 2025
98908f8
feat(live): 添加直播前后台音量自动调节功能
KDH-KDHKDH Oct 28, 2025
69bfc11
Fix up badge not hidden
the1812 Oct 28, 2025
b42f7e1
refactor(front-back-volume): 重构音量控制组件以支持reload和unload
KDH-KDHKDH Oct 29, 2025
541fa51
Merge pull request #5407 from KDH-KDHKDH/feature/front-back-volume
the1812 Oct 29, 2025
3a9b500
feat: 添加推荐列表自动连播处理器
wsgh0202 Nov 2, 2025
0e1a374
feat: 支持多个匹配的处理器
wsgh0202 Nov 2, 2025
a3b6bca
fix: 修复在中途禁用推荐列表连播选项无效
wsgh0202 Nov 2, 2025
393251a
feat: 设置面板选项位置调整与优先级一致
wsgh0202 Nov 2, 2025
6da4a10
docs: 更新说明
wsgh0202 Nov 2, 2025
dd886a0
feat: 添加推荐列表清理参数
wsgh0202 Nov 2, 2025
1980d07
feat: 添加评论搜索关键词清理参数
wsgh0202 Nov 2, 2025
4513844
feat: 移除url末尾斜杠
wsgh0202 Nov 2, 2025
392df39
feat: 添加收藏、稍后再看页面推荐列表清理
wsgh0202 Nov 2, 2025
18a7f0b
fix: 修复没有启用连播时日志报错
wsgh0202 Nov 2, 2025
9cf44d2
Revert "feat: 移除url末尾斜杠"
wsgh0202 Nov 3, 2025
c3c7500
fix: 修复稍后再看、收藏页面推荐列表链接清理有时不生效
wsgh0202 Nov 3, 2025
df45f5e
fix: handle mini player correctly
Elypha Nov 10, 2025
5bb87c8
Update dark mode excludes (fix #5223)
the1812 Nov 15, 2025
ff124eb
Merge branch 'preview-fixes' of https://github.com/the1812/Bilibili-E…
the1812 Nov 27, 2025
537946b
Support manual select language (#4927)
the1812 Dec 2, 2025
e94123e
Fix full feeds content and disable feeds details (fix #5426)
the1812 Dec 2, 2025
3ab0bc9
Fix expand/fold button not working (fix #5426)
the1812 Dec 2, 2025
28bf64a
Merge pull request #5410 from wsgh0202/feat-autoplay-rec
the1812 Dec 2, 2025
b901ef6
Merge pull request #5412 from wsgh0202/feat-url-clean
the1812 Dec 2, 2025
64848b2
Fix lint errors
the1812 Dec 2, 2025
ba4e0f6
Merge pull request #5417 from Elypha/pr-handle-miniplayer
the1812 Dec 2, 2025
3cf6b61
Merge branch 'preview-fixes' into preview-features
the1812 Dec 2, 2025
ba8b312
Merge branch 'hot-update-fixes-2025-12'
the1812 Dec 2, 2025
cb227b1
CI build
github-actions[bot] Dec 2, 2025
87b6003
Fix toggle subtitle not working (fix #5368)
the1812 Dec 10, 2025
c875372
Add tailing slash for video links (fix #5391)
the1812 Dec 10, 2025
af3a50e
Merge branch 'preview-fixes' into preview-features
the1812 Dec 10, 2025
6cafc5f
Update video url type parser (fix #5390)
the1812 Dec 11, 2025
527ef8c
Fix typo
the1812 Dec 11, 2025
0eb9a9e
Editable feeds filter patterns (#5394)
the1812 Dec 11, 2025
31a77b8
Detect empty subtitle
the1812 Dec 11, 2025
101d839
Merge branch 'preview-fixes' into preview-features
the1812 Dec 11, 2025
44e579d
Update MCDN detection (#5438)
the1812 Dec 13, 2025
1e93e21
Clean up absolute imports
the1812 Dec 13, 2025
61a4b4f
Update url params clean (#5412)
the1812 Dec 13, 2025
71c3a17
Update changelog
the1812 Dec 13, 2025
c4832dc
Update donate history
the1812 Dec 13, 2025
3dc3948
Merge branch 'preview-fixes' into preview-features
the1812 Dec 13, 2025
f4571b3
Update version number
the1812 Dec 13, 2025
42c77a9
Merge branch 'preview-fixes' into preview-features
the1812 Dec 13, 2025
304f753
Update docs
the1812 Dec 13, 2025
1aa7bcb
Merge branch 'preview-fixes'
the1812 Dec 13, 2025
81057b3
CI build
github-actions[bot] Dec 13, 2025
0354dad
Fix fresh home not working (fix #5434)
the1812 Jan 5, 2026
474b352
Merge branch 'preview-fixes'
the1812 Jan 5, 2026
d3e60db
CI build
github-actions[bot] Jan 5, 2026
a02b7ff
Fix regex pattern for roomId in Widget.vue
JotmKKmkLTzE Feb 8, 2026
f95c824
Merge pull request #5487 from JotmKKmkLTzE/patch-1
the1812 Feb 12, 2026
0b1f19c
CI build
github-actions[bot] Feb 12, 2026
540f182
Fix lottery not responding (fix #5467)
the1812 Feb 12, 2026
1547536
Improve focus element detection (fix #5413)
the1812 Feb 12, 2026
bfd4b80
Update navbar exclude urls (fix #5415)
the1812 Feb 12, 2026
74a7b72
Fix broken url (fix #5459)
the1812 Feb 12, 2026
7b7430b
Merge tag 'v2.10.5-preview' into preview-fixes
the1812 Feb 13, 2026
cdd07c6
Fix content filters crash (fix #5450)
the1812 Dec 13, 2025
4e3d6e0
Fix COLS not found
the1812 Jan 29, 2026
f966623
Update changelog
the1812 Feb 14, 2026
ebbfdf8
Update version number
the1812 Feb 14, 2026
34e7731
Update changelog
the1812 Feb 14, 2026
c506dca
Update donate history
the1812 Feb 14, 2026
b124322
Merge branch 'preview-fixes'
the1812 Feb 14, 2026
0b87623
CI build
github-actions[bot] Feb 14, 2026
72faf12
fix(dark-mode): 增补 comment-wrapper 背景颜色
EtherealAirRhyme Feb 15, 2026
8078a02
fix(dark-mode): 抽离 festival 样式至独立文件并扩展 collection-wrapper
EtherealAirRhyme Feb 15, 2026
e6d550d
fix(dark-mode): 收窄选择器
EtherealAirRhyme Feb 16, 2026
806d0e2
Merge pull request #5497 from EtherealAirRhyme/preview-fixes
the1812 Feb 16, 2026
b24c3a5
Merge branch 'preview-fixes'
the1812 Feb 16, 2026
3893dde
CI build
github-actions[bot] Feb 16, 2026
383d455
Revert "Fix COLS not found"
the1812 Mar 1, 2026
c6ae13e
Merge branch 'preview-fixes'
the1812 Mar 1, 2026
8cc0fba
Merge branch 'master' of https://github.com/the1812/Bilibili-Evolved
the1812 Mar 1, 2026
4d5c4cf
CI build
github-actions[bot] Mar 1, 2026
03541dc
Fix isTyping detection (fix #5509)
the1812 Mar 1, 2026
e73a414
Update changelog
the1812 Mar 3, 2026
b441582
Update version number
the1812 Mar 3, 2026
40004e5
Update donate history
the1812 Mar 3, 2026
49ed3da
Merge branch 'preview-fixes'
the1812 Mar 3, 2026
4ddc73d
CI build
github-actions[bot] Mar 3, 2026
d44e1dc
Update changelog
the1812 Mar 3, 2026
05250f4
Update guide for authors
the1812 Mar 3, 2026
1d532c0
Merge branch 'preview-fixes'
the1812 Mar 3, 2026
8dd7d23
CI build
github-actions[bot] Mar 3, 2026
1fe90d6
Update live room styles (fix #5529)
the1812 Mar 16, 2026
15d7d34
Merge branch 'preview-fixes'
the1812 Mar 16, 2026
6e9ccb7
Merge branch 'master' of https://github.com/the1812/Bilibili-Evolved
the1812 Mar 16, 2026
670f34b
CI build
github-actions[bot] Mar 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
17 changes: 0 additions & 17 deletions .babelrc

This file was deleted.

19 changes: 19 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
> 1%
last 2 versions
not dead
chrome > 105
edge > 105
firefox > 127
safari > 15.4
not and_chr > 0
not and_ff > 0
not and_qq > 0
not and_uc > 0
not android > 0
not baidu > 0
not ios_saf > 0
not kaios > 0
not op_mob > 0
not op_mini all
not samsung > 0
not ie > 0
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

# Tab indentation
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
quote_type = single
7 changes: 7 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
packages/
typings/
**/dist/
dev/
node_modules/
!.github-json/
.eslintrc.*
111 changes: 111 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
module.exports = {
env: {
browser: true,
es2020: true,
},
extends: [
'plugin:vue/recommended',
'plugin:@typescript-eslint/recommended',
'airbnb-base',
'plugin:prettier/recommended',
],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
parser: 'vue-eslint-parser',
parserOptions: {
ecmaVersion: 2020,
parser: '@typescript-eslint/parser',
sourceType: 'module',
},
plugins: ['vue', '@typescript-eslint', 'prettier'],
rules: {
'prettier/prettier': 'error',

'import/no-unresolved': 'off',
'import/extensions': 'off',
'import/no-extraneous-dependencies': 'off',
'import/prefer-default-export': 'off',
'import/no-default-export': 'error',
'import/no-named-default': 'off',

'@typescript-eslint/member-delimiter-style': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-unused-vars': 'error',
'@typescript-eslint/no-shadow': ['error', { builtinGlobals: false }],
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-use-before-define': ['error'],
'@typescript-eslint/no-redeclare': 'error',
'@typescript-eslint/naming-convention': [
'error',
{
selector: 'enumMember',
format: ['PascalCase'],
},
],

'vue/multi-word-component-names': 'off',
'vue/max-attributes-per-line': 'off',
'vue/html-self-closing': 'off',
'vue/no-v-html': 'off',
'vue/require-prop-types': 'off',
'vue/one-component-per-file': 'off',
'vue/singleline-html-element-content-newline': 'off',

// 使用 @typescript-eslint/no-unused-vars, 否则 interface 都是 unused
'no-unused-vars': 'off',
'no-console': 'off',
'no-undef': 'off',
'no-param-reassign': 'off',
'no-continue': 'off',
'no-plusplus': 'off',
'no-eval': 'off',
'no-useless-constructor': 'off',
'no-unused-expressions': 'off',
'no-await-in-loop': 'off',
'no-restricted-syntax': 'off',
'no-useless-escape': 'off',
'no-empty-function': ['error', { allow: ['constructors'] }],
'no-return-assign': ['error', 'except-parens'],
'no-redeclare': 'off',
'no-script-url': 'off',
'no-shadow': 'off',
'no-use-before-define': 'off',
'no-alert': 'off',
'no-restricted-globals': 'off',

'arrow-body-style': 'off',
'prefer-arrow-callback': 'off',
'object-curly-newline': 'off',
'linebreak-style': 'off',
camelcase: 'off',
'lines-between-class-members': 'off',
radix: ['error', 'as-needed'],
'max-classes-per-file': 'off',
'class-methods-use-this': 'off',
'prefer-destructuring': [
'error',
{
VariableDeclarator: {
array: false,
object: true,
},
AssignmentExpression: {
array: false,
object: false,
},
},
],
curly: ['error', 'all'],
},
overrides: [
{
files: ['*.vue', 'shims.d.ts', 'webpack/**/*.ts', 'registry/webpack/**/*.ts'],
rules: {
'import/no-default-export': 'off',
},
},
],
}
3 changes: 3 additions & 0 deletions .github-json/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Fuck YAML

在项目根目录使用 `pnpm build-github-config` 来生成 GitHub 相关配置.
36 changes: 36 additions & 0 deletions .github-json/data/DISCUSSION_TEMPLATE/功能建议-ideas.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"title": "功能建议",
"labels": [],
"body": [
{
"type": "markdown",
"attributes": {
"value": "默认您已阅读 [常见问题解答](https://github.com/the1812/Bilibili-Evolved/discussions/1301)\n请勿重复发起, 发之前记得搜索一下. 如果需要反馈 Bug, 请前往 [Issues](https://github.com/the1812/Bilibili-Evolved/issues) 发起.\n"
}
},
{
"type": "textarea",
"id": "description",
"attributes": {
"label": "期望的效果",
"description": "描述你遇到的问题, 以及建议的解决方式",
"placeholder": "请输入"
},
"validations": {
"required": true
}
},
{
"type": "input",
"id": "script-version",
"attributes": {
"label": "脚本版本",
"description": "可在设置面板的关于弹窗中找到脚本版本信息",
"placeholder": "请输入"
},
"validations": {
"required": true
}
}
]
}
15 changes: 15 additions & 0 deletions .github-json/data/FUNDING.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"github": null,
"patreon": null,
"open_collective": null,
"ko_fi": null,
"tidelift": null,
"community_bridge": null,
"liberapay": null,
"issuehunt": null,
"otechie": null,
"lfx_crowdfunding": null,
"custom": [
"https://github.com/the1812/Bilibili-Evolved/blob/preview/doc/donate.md"
]
}
131 changes: 131 additions & 0 deletions .github-json/data/ISSUE_TEMPLATE/bug_report.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
{
"name": "Bug 反馈",
"description": "功能运行不正常 / 失效",
"body": [
{
"type": "markdown",
"attributes": {
"value": "默认您已阅读 [Issues 须知](https://github.com/the1812/Bilibili-Evolved/blob/preview/doc/issue-rules.md)\n请勿重复发起, 发之前记得看下[置顶问题 (Pinned issues)](https://github.com/the1812/Bilibili-Evolved/issues) (如果有的话), 以及[常见问题解答](https://github.com/the1812/Bilibili-Evolved/discussions/1301)\n"
}
},
{
"type": "textarea",
"id": "feature",
"attributes": {
"label": "对应功能",
"description": "(指本脚本的某项具体功能, 不是指 b 站的) 可以在设置中尝试开启 / 关闭某项功能来排查. 最好能附上功能的 Commit 值 (在设置里功能选项的底部).\n<img src=\"https://user-images.githubusercontent.com/26504152/152666017-8a5acabc-2ad1-47ef-b0a2-cd5c54c867ab.jpg\" width=\"400\">\n如果组件包含作者的信息 (by @xxx), 请在这里 at 他们\n请注意: 以下功能已不再维护 (不再修复 bug 和添加新功能), 但是你仍然可以为其提供 Pull Request.\n- 直播间自动抽奖\n- 默认播放器模式\n- 播放器置顶\n- 播放器定位\n",
"placeholder": "请输入"
},
"validations": {
"required": true
}
},
{
"type": "textarea",
"id": "description",
"attributes": {
"label": "问题描述",
"description": "如何重现此问题, 在哪个页面里出现这个问题, 比如视频相关的可以提供一下 av / BV 号",
"placeholder": "请输入"
},
"validations": {
"required": true
}
},
{
"type": "input",
"id": "script-version",
"attributes": {
"label": "脚本版本",
"description": "可在设置面板的关于弹窗中找到脚本版本信息",
"placeholder": "请输入"
},
"validations": {
"required": true
}
},
{
"type": "input",
"id": "script-manager-version",
"attributes": {
"label": "脚本管理器及版本",
"description": "例如 Tampermonkey v4.19.6176",
"placeholder": "请输入"
},
"validations": {
"required": true
}
},
{
"type": "input",
"id": "browser-version",
"attributes": {
"label": "浏览器及版本",
"description": "可在浏览器的关于页面中找到浏览器版本信息",
"placeholder": "请输入"
},
"validations": {
"required": true
}
},
{
"type": "input",
"id": "player-version",
"attributes": {
"label": "播放器版本",
"description": "在 b 站播放器上右键可以看到播放器版本号\n",
"placeholder": "请输入"
},
"validations": {
"required": true
}
},
{
"type": "dropdown",
"id": "player-codec",
"attributes": {
"label": "播放策略",
"description": "在 b 站播放器设置 - 更多播放设置 里可以看到播放策略",
"options": [
"默认",
"AV1",
"HEVC",
"AVC"
]
},
"validations": {
"required": true
}
},
{
"type": "textarea",
"id": "logs",
"attributes": {
"label": "错误信息",
"description": "脚本直接报告的错误信息, 或者浏览器开发者工具 (F12 或 Ctrl+Shift+I 召唤) 里 Console / 控制台 一栏的输出, 太长的话可以截图放下面. <br><img width=\"400\" src=\"https://user-images.githubusercontent.com/26504152/173189611-f1e9e46a-a31d-4d21-a95a-5771e16372dd.png\">\n",
"render": "Shell",
"placeholder": "请输入"
},
"validations": {
"required": true
}
},
{
"type": "textarea",
"id": "screenshots",
"attributes": {
"label": "附加截图",
"placeholder": "可在此粘贴图片"
}
},
{
"type": "textarea",
"id": "kind_reminder",
"attributes": {
"label": "致遇到了相同问题准备回复的人",
"description": "请勿修改文本框中的内容",
"value": "**太长不看**:\n1、遇到了相同的问题:**请用左下角的 reaction 点赞**\n2、实时关注该 Issue 的后续进展:**请用 Issue 页上的 Subscribe 功能**(在 PC 端按钮通常位于页面右侧)。\n**_请您回复前务必确认您有在本 Issue 之外补充了其它相关信息(比如 Log)再行回复以免对他人造成不必要的困扰_**\n<details>\n <summary>完整版</summary>\n 由于每个 Issue 甚至整个项目都是可以订阅通知的, 对于已经有人汇报过的 Bug, 如果您也遇到了并且没有其他信息要补充, 可以直接在左下点个赞表示 +1, 不要再去新增评论。想关注后续的可以用 Subscribe,Subscribe 之后该 Issue 如果有变动都可以收到通知,如果不想被回复打扰可以使用更加进阶的 Customize 功能,勾选 \"Closed\" & \"Reopened\"。Closed 通常代表该 Issue 已被解决,极少数情况下的 Reopened 代表该 Issue 的问题重新出现。如果您新增了无意义评论,因为 Issue 这个 bug tracker 与<a href=\"https://www.zhihu.com/question/23757640\">邮件列表</a>类似,订阅某个 Issue 的用户会在每次这个 Issue 有新的动态时收到一封新的提醒邮件。也就是说,在 Issue 中的一个不能提供新的信息的评论,相当于给所有订阅这个 Issue 的用户发了一封垃圾邮件(spam)。尤其项目的维护者也是订阅者中的一员,太多垃圾邮件会对维护者带来很多不必要的困扰。发送垃圾邮件在开源社区通常是不那么受欢迎的行为。\n</details>\n"
}
}
]
}
30 changes: 30 additions & 0 deletions .github-json/data/ISSUE_TEMPLATE/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"blank_issues_enabled": false,
"contact_links": [
{
"name": "转到讨论区",
"url": "https://github.com/the1812/Bilibili-Evolved/discussions",
"about": "Issues 用于反馈 Bug, 新的功能建议和提问答疑请到讨论区发起"
},
{
"name": "查看 Issues 须知",
"url": "https://github.com/the1812/Bilibili-Evolved/blob/preview/doc/issue-rules.md",
"about": "默认所有 Issues 发起者均已了解此处的内容"
},
{
"name": "查看讨论区指南",
"url": "https://github.com/the1812/Bilibili-Evolved/discussions/1297",
"about": "默认所有讨论发起者均已了解此处的内容"
},
{
"name": "查看置顶问题",
"url": "https://github.com/the1812/Bilibili-Evolved/issues",
"about": "在 Pinned issues 中会包含一些近期常见问题, 已有的其他问题也会在下面列出, 请务必查看避免重复发起"
},
{
"name": "查看常见问题",
"url": "https://github.com/the1812/Bilibili-Evolved/discussions/1301",
"about": "一些老生常谈的问题, 或许里面就有你想问的"
}
]
}
Loading