Skip to content

Commit

Permalink
fix: core filter
Browse files Browse the repository at this point in the history
  • Loading branch information
festoney8 committed Jul 4, 2024
1 parent 6b0838d commit 5656fbe
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/filters/commentFilter/filters/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ class CoreCommentFilter {
// 未命中黑名单
// debug(_result)
showEle(comment)
Promise.all(whiteTasks)
.then((_result) => {})
.catch((_result) => {})
})
.catch((_result) => {
// 命中黑名单
Expand Down
3 changes: 3 additions & 0 deletions src/filters/dynFilter/filters/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ class CoreDynFilter {
// 未命中黑名单
// debug(_result)
showEle(dyn)
Promise.all(whiteTasks)
.then((_result) => {})
.catch((_result) => {})
})
.catch((_result) => {
// 命中黑名单
Expand Down
3 changes: 3 additions & 0 deletions src/filters/videoFilter/filters/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ class CoreVideoFilter {
// 未命中黑名单
// debug(_result)
showEle(video)
Promise.all(whiteTasks)
.then((_result) => {})
.catch((_result) => {})
})
.catch((_result) => {
// 命中黑名单
Expand Down
2 changes: 1 addition & 1 deletion src/rules/video.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1352,7 +1352,7 @@ if (isPageVideo() || isPagePlaylist()) {
// 优化 右栏底部吸附 实验功能
new CheckboxItem({
itemID: 'video-page-right-container-sticky-optimize',
description: '优化 右栏底部吸附 (实验功能)',
description: '优化 右栏底部吸附 (实验功能)\n搭配“全屏时页面可滚动”使用',
itemCSS: `
/* 修复右栏底部吸附计算top时位置跳变 */
.video-container-v1 .right-container {
Expand Down

0 comments on commit 5656fbe

Please sign in to comment.