Skip to content

Commit

Permalink
chore: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
festoney8 committed Dec 31, 2023
1 parent 6387a25 commit 4e1f1db
Show file tree
Hide file tree
Showing 8 changed files with 48 additions and 39 deletions.
82 changes: 45 additions & 37 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,23 @@
<div>专注于净化/优化页面,轻量高效无浏览器负担,载入时不闪屏</div>
<br>

[安装使用](#%E5%AE%89%E8%A3%85) / [浏览器适配](#%E6%B5%8F%E8%A7%88%E5%99%A8%E9%80%82%E9%85%8D) / [功能介绍](#%E5%8A%9F%E8%83%BD%E4%BB%8B%E7%BB%8D) / [插件兼容](#%E4%B8%8E%E5%85%B6%E4%BB%96-bilibili-%E6%8F%92%E4%BB%B6%E7%9A%84%E5%85%BC%E5%AE%B9%E6%80%A7) / [净化效果](#%E5%87%80%E5%8C%96%E6%95%88%E6%9E%9C%E5%AF%B9%E6%AF%94) / [数据导出](#%E6%95%B0%E6%8D%AE%E5%AF%BC%E5%85%A5%E4%B8%8E%E5%AF%BC%E5%87%BA)
[安装](#%E5%AE%89%E8%A3%85) / [功能介绍](#%E5%8A%9F%E8%83%BD%E4%BB%8B%E7%BB%8D) / [浏览器适配](#%E6%B5%8F%E8%A7%88%E5%99%A8%E9%80%82%E9%85%8D) / [净化效果](#%E5%87%80%E5%8C%96%E6%95%88%E6%9E%9C%E5%AF%B9%E6%AF%94) / [插件兼容](#%E4%B8%8E%E5%85%B6%E4%BB%96-bilibili-%E6%8F%92%E4%BB%B6%E7%9A%84%E5%85%BC%E5%AE%B9%E6%80%A7) / [数据导出](#%E6%95%B0%E6%8D%AE%E5%AF%BC%E5%85%A5%E4%B8%8E%E5%AF%BC%E5%87%BA)
<br>
<br>

</div>

## 功能一览

![](images/preview.png)
![](images/preview1.png)
![](images/preview2.png)

<details>
<summary><b>查看 全部功能长图</b></summary>

![](images/preview-full.jpg)

</details>

## 安装

Expand All @@ -34,30 +42,6 @@

![](images/usage.png)

## 浏览器适配

### Chrome / Edge

- **要求 Chrome 内核版本 >= 105**,浏览器内核版本过低会导致部分功能失效,如:无法净化顶栏

### Firefox

- **Firefox版本 103~120,按如下步骤开启高级设定**
- 在浏览器内打开网址 [about:config](about:config),若出现提示页面,点击「接受风险并继续」
- 搜索 `layout.css.has-selector.enabled` ,将这一项的开关改为 `true`,并刷新标签页
- **Firefox版本 > 121,无需修改设定**

### 脚本管理插件

| | [Tampermonkey](https://www.tampermonkey.net/) (油猴插件) | [Violentmonkey](https://violentmonkey.github.io/) (暴力猴) |
| ------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ |
| Chrome | [链接](https://chrome.google.com/webstore/detail/dhdgffkkebhmkfjojejmpbldmpobfkfo) | [链接](https://chrome.google.com/webstore/detail/violentmonkey/jinjaccalgkegednnccohejagnlnfdag) |
| Edge | [链接](https://microsoftedge.microsoft.com/addons/detail/tampermonkey/iikmkjmpaadaobahmlepeloendndfphd) | [链接](https://microsoftedge.microsoft.com/addons/detail/eeagobfjdenkkddmbclomhiblgggliao) |
| Firefox | [链接](https://addons.mozilla.org/firefox/addon/tampermonkey/) | [链接](https://addons.mozilla.org/firefox/addon/violentmonkey/) |
| 测试 | **已测试,推荐** | 支持,未完全测试 |

- [Greasemonkey](https://www.greasespot.net/)[ScriptCat](https://docs.scriptcat.org/) 未进行测试

## 功能介绍

- 适用于 **净化新版 bilibili 网页**,不做老版本页面适配
Expand All @@ -79,24 +63,29 @@
- **「版权视频播放页」大部分功能与「普通播放页」一致且互相同步,小部分功能为该页面独有,已用 "★" 重点标出**
- **已知Bug:** Chrome 内核浏览器在打开「版权作品播放页」时,小概率出现顶栏未净化的情况。已通过打补丁的方式暂时补救,副作用为打开页面数秒后顶栏净化规则才生效

## 与其他 bilibili 插件的兼容性

### [Bilibili-Evolved](https://github.com/the1812/Bilibili-Evolved) 的兼容性
## 浏览器适配

- 绝大多数功能兼容,小部分功能重复,均不会产生崩坏
### Chrome / Edge

- 本脚本中的 通用项「隐藏-顶栏相关」对 Evolved 的自定义顶栏无效
- **要求 Chrome 内核版本 >= 105**,浏览器内核版本过低会导致部分功能失效,如:无法净化顶栏

- **隐藏首页banner**
### Firefox

- 使用「Evolved 顶栏」时,开启 Evolved 的「隐藏顶部横幅」,关闭本脚本的「隐藏 banner」
- 不使用「Evolved 顶栏」时,关闭 Evolved 的「隐藏顶部横幅」,开启本脚本的「隐藏 banner」
- **Firefox版本 103~120,按如下步骤开启高级设定**
- 在浏览器内打开网址 [about:config](about:config),若出现提示页面,点击「接受风险并继续」
- 搜索 `layout.css.has-selector.enabled` ,将这一项的开关改为 `true`,并刷新标签页
- **Firefox版本 > 121,无需修改设定**

- **清爽首页、极简首页** 会接管首页布局,本脚本对其无效
### 脚本管理插件

### [bilibili-app-recommend](https://greasyfork.org/zh-CN/scripts/443530) 的兼容性
| | [Tampermonkey](https://www.tampermonkey.net/) (油猴插件) | [Violentmonkey](https://violentmonkey.github.io/) (暴力猴) |
| ------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ |
| Chrome | [链接](https://chrome.google.com/webstore/detail/dhdgffkkebhmkfjojejmpbldmpobfkfo) | [链接](https://chrome.google.com/webstore/detail/violentmonkey/jinjaccalgkegednnccohejagnlnfdag) |
| Edge | [链接](https://microsoftedge.microsoft.com/addons/detail/tampermonkey/iikmkjmpaadaobahmlepeloendndfphd) | [链接](https://microsoftedge.microsoft.com/addons/detail/eeagobfjdenkkddmbclomhiblgggliao) |
| Firefox | [链接](https://addons.mozilla.org/firefox/addon/tampermonkey/) | [链接](https://addons.mozilla.org/firefox/addon/violentmonkey/) |
| 测试 | **已测试,推荐** | 支持,未完全测试 |

- **兼容**,提供 **隐藏 视频tag / 隐藏 弹幕数 / 隐藏 点赞数** 功能,在首页功能菜单末尾
- [Greasemonkey](https://www.greasespot.net/)[ScriptCat](https://docs.scriptcat.org/) 未进行测试

## 净化效果对比

Expand Down Expand Up @@ -167,6 +156,25 @@

</details>

## 与其他 bilibili 插件的兼容性

### [Bilibili-Evolved](https://github.com/the1812/Bilibili-Evolved) 的兼容性

- 绝大多数功能兼容,小部分功能重复,均不会产生崩坏

- 本脚本中的 通用项「隐藏-顶栏相关」对 Evolved 的自定义顶栏无效

- **隐藏首页banner**

- 使用「Evolved 顶栏」时,开启 Evolved 的「隐藏顶部横幅」,关闭本脚本的「隐藏 banner」
- 不使用「Evolved 顶栏」时,关闭 Evolved 的「隐藏顶部横幅」,开启本脚本的「隐藏 banner」

- **清爽首页、极简首页** 会接管首页布局,本脚本对其无效

### [bilibili-app-recommend](https://greasyfork.org/zh-CN/scripts/443530) 的兼容性

- **兼容**,提供 **隐藏 视频tag / 隐藏 弹幕数 / 隐藏 点赞数** 功能,在首页功能菜单末尾

## 数据导入与导出

### 导出数据 (以 Tampermonkey 为例)
Expand Down
Binary file modified images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/preview-full.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/preview.png
Binary file not shown.
Binary file added images/preview1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/preview2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/core/panel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export class Panel implements IPanel {
}
.bili-cleaner-group hr {
border: 1px solid #eee;
margin: 8px 0 10px 0;
margin: 5px 0 10px 0;
}
.bili-cleaner-group-title {
font-size: 20px;
Expand Down
3 changes: 2 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ export default defineConfig({
name: 'bilibili 页面净化大师',
namespace: 'http://tampermonkey.net/',
version: '2.2.0',
description: '净化 B站/哔哩哔哩 页面内各种元素,去广告,BV号转AV号,提供300+项功能,定制自己的B站页面',
description:
'净化 B站/哔哩哔哩 页面内各种元素,去广告,BV号转AV号,净化播放器,提供300+项功能,定制自己的B站页面',
author: 'festoney8',
homepage: 'https://github.com/festoney8/bilibili-cleaner',
supportURL: 'https://github.com/festoney8/bilibili-cleaner/issues',
Expand Down

0 comments on commit 4e1f1db

Please sign in to comment.