Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Dynamic Sponsor Block #119

Merged
merged 1 commit into from
Jan 16, 2025
Merged

Conversation

etherfun
Copy link
Contributor

@etherfun etherfun commented Jan 2, 2025

  • 我同意我的所有贡献将以GPL-3.0协议开源。

支持隐藏动态中的UP主文字推广动态
( 写完才发现感觉没啥用 不会有哪位UP主天天发推广动态吧 如果觉得没用直接把这个pr close就行)

支持三种类别及白名单

  • 广告: 直接带有商品链接的动态
  • 转发广告: 转发一个带有商品链接的动态
  • 疑似广告: 使用正则表达式对动态内容匹配上的动态

以及是否仅显示类别不隐藏动态内容


新增权限

all_frames: 这个是为了支持BewlyBewly的动态主页 它把动态主页用 iframe 嵌入网页中
image


效果预览

2025-01-01.211442.-.Trim.mp4

@etherfun etherfun force-pushed the DynamicSponsorBlock branch from 0150cb3 to 23af0a5 Compare January 2, 2025 15:31
@hanydd hanydd merged commit 82db09b into hanydd:master Jan 16, 2025
2 checks passed
@etherfun etherfun deleted the DynamicSponsorBlock branch January 30, 2025 02:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants