mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 08:44:55 +08:00
feat(X): 信息流广告-优化规则 (#830)
This commit is contained in:
@@ -36,16 +36,22 @@ export default defineAppConfig({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 2,
|
key: 2,
|
||||||
name: '信息流广告-帖子详情页',
|
name: '信息流广告-帖子详情页、搜索页',
|
||||||
desc: '点击右上角关闭,点击屏蔽用户,确认屏蔽.点击[我不喜欢]会返回主页,因此点击[屏蔽]',
|
desc: '点击右上角关闭,点击屏蔽用户,确认屏蔽.点击[我不喜欢]会返回主页,因此点击[屏蔽]',
|
||||||
activityIds: 'com.twitter.tweetdetail.TweetDetailActivity',
|
activityIds: [
|
||||||
|
'com.twitter.tweetdetail.TweetDetailActivity',
|
||||||
|
'com.twitter.android.search.implementation.results.SearchActivity',
|
||||||
|
],
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
name: '评论区广告-点击右上角关闭',
|
name: '点击右上角关闭',
|
||||||
key: 0,
|
key: 0,
|
||||||
matches:
|
matches:
|
||||||
'@[id="com.twitter.android:id/tweet_curation_action"] +n [id="com.twitter.android:id/tweet_promoted_badge_bottom"][text="推荐"]',
|
'@[id="com.twitter.android:id/tweet_curation_action"] +n [id="com.twitter.android:id/tweet_promoted_badge_bottom"][text="推荐"]',
|
||||||
snapshotUrls: 'https://gkd-kit.songe.li/import/12825969',
|
snapshotUrls: [
|
||||||
|
'https://gkd-kit.songe.li/import/12825969', // com.twitter.tweetdetail.TweetDetailActivity
|
||||||
|
'https://gkd-kit.songe.li/import/12847584', // com.twitter.android.search.implementation.results.SearchActivity
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
preKeys: [0],
|
preKeys: [0],
|
||||||
@@ -53,7 +59,10 @@ export default defineAppConfig({
|
|||||||
name: '点击屏蔽',
|
name: '点击屏蔽',
|
||||||
matches:
|
matches:
|
||||||
'@ViewGroup > [id="com.twitter.android:id/action_sheet_item_title"][text^="屏蔽"]',
|
'@ViewGroup > [id="com.twitter.android:id/action_sheet_item_title"][text^="屏蔽"]',
|
||||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12828815',
|
snapshotUrls: [
|
||||||
|
'https://gkd-kit.gitee.io/import/12828815', // com.twitter.tweetdetail.TweetDetailActivity
|
||||||
|
'https://gkd-kit.songe.li/import/12847600', // com.twitter.android.search.implementation.results.SearchActivity
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
preKeys: 10,
|
preKeys: 10,
|
||||||
|
|||||||
Reference in New Issue
Block a user