-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 引入 toastr 作为通知组件 * 评论接口更新 * 优化各页面实现 * 更新页面资源 * 禁止自动填充发送弹幕 * 实现投币功能 * 实现收藏功能 * Rename inset-area to position-area * 实现关注功能 * 更新埋点上报脚本拦截 * BiliHeader UserStatus 兼容处理 * 【充电】风险提醒 * 使用请求收藏和投币窗口 * 视频工具栏稍后再看功能 * 实现追番功能 * 【承包】风险提醒 * 修改站点发布工作流 * bump 1.0.4.0
- Loading branch information
1 parent
2a9b9cc
commit a2f4919
Showing
956 changed files
with
20,562 additions
and
41,341 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,7 +60,7 @@ representative at an online or offline event. | |
|
||
Instances of abusive, harassing, or otherwise unacceptable behavior may be | ||
reported to the community leaders responsible for enforcement at | ||
[email protected]. | ||
@MotooriKashin. | ||
All complaints will be reviewed and investigated promptly and fairly. | ||
|
||
All community leaders are obligated to respect the privacy and security of the | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
node_modules | ||
dist/_metadata | ||
dist/**/*.js | ||
dist/**/*.css | ||
dist | ||
*.crx | ||
*.pem | ||
*.map |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1 @@ | ||
<div align="center"> | ||
<img src="src/player/assets/image/panel.gif" alt="logo"> | ||
|
||
# Bilibili 2019 | ||
恢复 2019 年 12 月 09 日前的部分[B站](https://www.bilibili.com/)页面,为了那些念旧的人 | ||
|
||
</div> | ||
|
||
--- | ||
这是一个[Google Chrome](https://www.google.com/chrome/)的[manifest V3](https://developer.chrome.com/docs/extensions/mv3/manifest/)扩展项目,恢复 2019 年 12 月 09 日前的部分[B站](https://www.bilibili.com/)页面,尤其是那个小电视播放器。 | ||
项目前身是[Bilibili-Old](https://github.com/MotooriKashin/Bilibili-Old)油猴脚本,在B站原始页面的基础上修修补补了四年多,奈何实在老旧,难以为继,于是有了推倒重来的念头。加上[manifest V3](https://developer.chrome.com/docs/extensions/mv3/manifest/)标准的推行,油猴脚本前途未卜,索性转为扩展项目。 | ||
由于 HTML + js + css 都不再复用,从零开始手搓,肯定做不到完全复刻当年的模样,请多见谅! | ||
|
||
--- | ||
# 功能 | ||
各种页面正在慢慢搭建中…… | ||
- 播放器 | ||
+ 视频 | ||
- [x] DASH | ||
- [x] flv | ||
- [x] 本地视频文件 | ||
+ 弹幕 | ||
- [x] 普通弹幕(mode1/4/5/6) | ||
- [x] 高级弹幕(mode7) | ||
- [x] 代码弹幕(mode8) | ||
- [x] BAS弹幕(mode9) | ||
- [x] 本地弹幕文件 | ||
+ 字幕 | ||
- [x] 在线 CC 字幕 | ||
- [x] 本地 vtt 文件 | ||
- 评论 | ||
+ [x] 翻页 | ||
- 页面 | ||
+ [x] B站主页 | ||
+ [x] av | ||
+ [x] Bangumi | ||
|
||
--- | ||
# 安装 | ||
- 欢迎在安装之前访问核心[播放器页面](https://motoorikashin.github.io/Bilibili-2019/)体验一下旧版播放器 | ||
- 若要安装,则要求使用最新的[Google Chrome](https://www.google.com/chrome/)浏览器(当前要求核心版本 125 以上,以后只会更高,恕不另行通知,且暂时无暇理会任何兼容性需求)。 | ||
1. 在[RELEASE](https://github.com/MotooriKashin/Bilibili-2019/releases)页面下载最新的版本 | ||
2. 解压到本地磁盘任意目录 | ||
3. 打开 Chrome [管理扩展程序](chrome://extensions/)页面打开右上角的【开发者模式】 | ||
4. 点击【加载已解压的扩展程序】按钮加载刚解压出的文件所在目录 | ||
5. 更新版本请重复上述步骤 | ||
|
||
另外,也可以克隆项目到本地手动构建,参看[代码贡献指南](.github/contributing.md) | ||
|
||
# 维护 | ||
欢迎念旧的人一起搭建记忆中的Bilibili,这里有一份简易的[代码贡献指南](.github/contributing.md)供参考 | ||
|
||
--- | ||
# 开源 | ||
[MIT License](LICENSE) | ||
重构 B 站旧版页面 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
{ | ||
"scripts": { | ||
"build": "node scripts/build.mjs", | ||
"arbitrary-extensions": "node scripts/arbitrary-extensions.mjs", | ||
"github-pages": "node scripts/github-pages.mjs" | ||
"dependencies": { | ||
"flv.js": "*", | ||
"protobufjs": "*" | ||
}, | ||
"devDependencies": { | ||
"@types/chrome": "*", | ||
"@types/fs-extra": "*", | ||
"esbuild": "*", | ||
"navigation-api-types": "*" | ||
"fs-extra": "*" | ||
}, | ||
"dependencies": { | ||
"buffer": "*", | ||
"events": "*", | ||
"protobufjs": "*" | ||
} | ||
"scripts": { | ||
"build": "node --no-warnings --experimental-strip-types ./src/build/index.ts", | ||
"arbitrary-extensions": "node --no-warnings --experimental-strip-types ./src/build/arbitrary-extensions.ts" | ||
}, | ||
"type": "module" | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
declare const svg_12blocksetting: string; | ||
export default svg_12blocksetting; |
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
declare const svg_12checkbox: string; | ||
export default svg_12checkbox; |
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
declare const svg_12close: string; | ||
export default svg_12close; |
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
declare const svg_12danmuhistory: string; | ||
export default svg_12danmuhistory; |
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
declare const svg_12danmulist: string; | ||
export default svg_12danmulist; |
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
declare const svg_12delete: string; | ||
export default svg_12delete; |
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
declare const svg_12down: string; | ||
export default svg_12down; |
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
declare const svg_12iconcomment: string; | ||
export default svg_12iconcomment; |
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
declare const svg_12icondanmu: string; | ||
export default svg_12icondanmu; |
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
declare const svg_12iconfollowed: string; | ||
export default svg_12iconfollowed; |
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
declare const svg_12iconplayed: string; | ||
export default svg_12iconplayed; |
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
declare const svg_12left: string; | ||
export default svg_12left; |
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
declare const svg_12more: string; | ||
export default svg_12more; |
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
declare const svg_12refresh: string; | ||
export default svg_12refresh; |
File renamed without changes
Oops, something went wrong.