Skip to content

Commit

Permalink
Merge pull request #32 from festoney8/dev
Browse files Browse the repository at this point in the history
merge dev to main, fix bug, v3.1.2
  • Loading branch information
festoney8 authored Feb 5, 2024
2 parents e6963e9 + 4032951 commit 1b9d359
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,15 @@

![](images/how-to-import.png)

</details>
<details>
<summary><b>数据云同步</b></summary>

- Tampermonkey/Violentmonkey 均支持同步数据到 Google Drive/Onedrive 等网盘
- [Tampermonkey Q105: How can I sync all scripts installed at Tampermonkey to another browser?](https://www.tampermonkey.net/faq.php?locale=en#Q105)
- [开启 Chrome 油猴插件「Tampermonkey」的同步备份功能](https://www.10wan.com/software-guide/1015_7tg8bw/)
- 同步到 Google drive 的数据是默认隐藏的,参考 [Google Drive Appdata](https://developers.google.com/drive/api/guides/appdata?hl=zh-cn)

</details>

## Ref
Expand Down
4 changes: 2 additions & 2 deletions src/rules/video.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ if (isPageVideo() || isPagePlaylist()) {
videoGroupList.push(new Group('video-info', '视频信息', infoItems))
}

// 临时适配拜年祭视频页(播放器、弹幕栏规则多数生效)
// 部分适配拜年祭视频页(播放器、弹幕栏规则多数生效)
if (isPageVideo() || isPagePlaylist() || isPageBnj()) {
// 播放器
const playerItems = [
Expand Down Expand Up @@ -577,7 +577,7 @@ if (isPageVideo() || isPagePlaylist() || isPageBnj()) {
/* 活动播放器直接去黑边 */
.page-main-content:has(.festival-video-player) .video-player-box {height: fit-content !important;}
.festival-video-player {height: fit-content !important;}
.festival-video-player #bilibili-player {height: calc(100% - 46px) !important;}`,
.festival-video-player #bilibili-player:not(.mode-webscreen) {height: calc(100% - 46px) !important;}`,
}),
// 全屏下 关闭弹幕输入框
new CheckboxItem({
Expand Down

0 comments on commit 1b9d359

Please sign in to comment.