-
-
Notifications
You must be signed in to change notification settings - Fork 261
feat(微博): 功能类-超话自动签到 #189
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(微博): 功能类-超话自动签到 #189
Conversation
Signed-off-by: LingEmberMaple <69679868+LingEmberMaple@users.noreply.github.com>
src/apps/com.sina.weibo.ts
Outdated
{ | ||
key: 20, | ||
name: '功能类-超话自动签到', | ||
enable: false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
没必要加这个字段,构建的时候会把除开屏广告外的规则加上enable: false,
src/apps/com.sina.weibo.ts
Outdated
key: 0, | ||
activityIds: 'com.sina.weibo.supergroup.SGPageActivity', | ||
matches: | ||
'[text="管理"] <<(11,12) [vid="footerMenuView"] -2 [vid="smartRefreshLayout"] >7 [text="签到" || text="Sign in"] < [vid="right_button"]', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
没必要写得这么复杂,[text="签到" || text="Sign in"] < [vid="right_button"]
已能选中唯一节点,在这个情况下防止误触使用excludeMatches
字段比较好
src/apps/com.sina.weibo.ts
Outdated
matches: | ||
'[text^="连续签到"] <<7 [vid="ll_base_v2"] +2 [vid="fl_bg"] > [vid="iv_close_v2"]', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[vid="iv_close_v2"]
已是唯一节点
受教了
|
@AIsouler |
excludeMatches可以再添加一个text["關注"] |
快照发一下 |
This comment was marked as off-topic.
This comment was marked as off-topic.
这个问题只要在签到成功弹窗取消勾选“接收本超话签到提醒推送”就行了
|
excludeMatches似乎不起作用,未关注超话的情况下依然误触签到 |
误触快照发一下 |
|
超话页面加载慢一些的时候会误触 https://weibo.com/p/10080845bb403e6f6aeb6192eb4e337d4aa9fe |
可能是因为签到节点比关注节点先加载出来 |
导入试试,把你之前的规则关了 |
可以,进入超话不误触了 不过刷新超话页面会导致误触,这加个actionMaximum应该可以解决
|
试一下这个
|
不会误触了
|
辛苦了 👍 |
No description provided.