mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 17:25:11 +08:00
feat(Instagram): 信息流广告 (#1625)
* Update com.instagram.android.ts * chore(actions): check_format_lint * Update com.instagram.android.ts --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> close #1287 close #702 close #1295
This commit is contained in:
@@ -6,43 +6,43 @@ export default defineAppConfig({
|
|||||||
groups: [
|
groups: [
|
||||||
{
|
{
|
||||||
key: 1,
|
key: 1,
|
||||||
|
enable: false,
|
||||||
name: '信息流广告',
|
name: '信息流广告',
|
||||||
|
desc: '但是步骤较多, 影响app使用',
|
||||||
|
quickFind: true,
|
||||||
activityIds: 'com.instagram.mainactivity.InstagramMainActivity',
|
activityIds: 'com.instagram.mainactivity.InstagramMainActivity',
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
key: 0,
|
key: 0,
|
||||||
name: '点击【更多】按钮',
|
name: '点击【更多】按钮',
|
||||||
|
actionCd: 4000,
|
||||||
matches:
|
matches:
|
||||||
'[text="赞助内容"] + [id="com.instagram.android:id/feed_more_button_stub"]',
|
'[text="赞助内容"] + [id="com.instagram.android:id/feed_more_button_stub"]',
|
||||||
snapshotUrls: 'https://i.gkd.li/import/12798562',
|
snapshotUrls: 'https://i.gkd.li/import/12798562',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
preKeys: 0,
|
|
||||||
key: 1,
|
key: 1,
|
||||||
name: '点击【隐藏广告】按钮',
|
name: '点击【隐藏广告】按钮',
|
||||||
matches:
|
matches: '@ViewGroup >n [text="隐藏广告"]',
|
||||||
'[id="com.instagram.android:id/recycler_view"] [text="隐藏广告"]',
|
|
||||||
snapshotUrls: [
|
snapshotUrls: [
|
||||||
'https://i.gkd.li/import/12798571',
|
'https://i.gkd.li/import/12798571',
|
||||||
'https://gkd-kit.gitee.io/import/12829448',
|
'https://gkd-kit.gitee.io/import/12829448',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
preKeys: 1,
|
|
||||||
key: 2,
|
key: 2,
|
||||||
name: '点击【广告不相关】按钮',
|
name: '点击【广告不相关】按钮',
|
||||||
matches:
|
matches: '@ViewGroup > [text="广告不相关"]',
|
||||||
'[id="com.instagram.android:id/report_tag_title"][text="广告不相关"]',
|
|
||||||
snapshotUrls: [
|
snapshotUrls: [
|
||||||
'https://i.gkd.li/import/12798590',
|
'https://i.gkd.li/import/12798590',
|
||||||
'https://gkd-kit.gitee.io/import/12829464',
|
'https://gkd-kit.gitee.io/import/12829464',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
preKeys: 2,
|
|
||||||
key: 3,
|
key: 3,
|
||||||
name: '关闭[你不会再看到这条广告]',
|
name: '关闭[你不会再看到这条广告]',
|
||||||
matches: 'Button[id="com.instagram.android:id/background_dimmer"]',
|
action: 'back',
|
||||||
|
matches: '[text="你不会再看到这条广告"]',
|
||||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12829492',
|
snapshotUrls: 'https://gkd-kit.gitee.io/import/12829492',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user