/*
软件作者:https://xuhss.com/oxox/pro
*/
//console.show()
setScreenMetrics(1080, 1920);
var biaoti=""
while(true){
waitForActivity("com.martian.hbnews.activity.MainActivity")
var list=className("android.support.v7.widget.RecyclerView").findOne();
//log(list.children())
//log(list1[0])
for(var i=0;i<list.childCount();i++){
//toast("进去了")
// toast(i)
//if(id("news_push_hint").exists()){
// back()
//}
//sleep(2000)
// waitForActivity("com.martian.hbnews.activity.MainActivity")
sleep(2000)
//toast(list.child(i).find(textContains("广告")).size())
var c=list.child(i).find(textContains("广告"))
toast(c.empty())
if(c.empty()){
var biaoti1=list.child(i).child(0).child(0).child(0).text()
if(biaoti!=biaoti1){
list.child(i).child(0).child(0).click();
waitForActivity("com.martian.hbnews.libnews.activity.MartianNewsWebViewActivity")
sleep(2000);
h=random(8,9)
log(h)
for(var j=0;j<h;j++){
swipe(504,1437,504,837,300)
sleep(600+random(2,4)*600)
log("2")
}
biaoti=biaoti1
}
sleep(2000)
click(88,162)
}
waitForActivity("com.martian.hbnews.activity.MainActivity")
sleep(3000)
}
sleep(4000)
swipe(544,1633,544,404,500)
sleep(2000)
swipe(544,1077,544,404,300)
sleep(2000)
swipe(544,1077,544,404,300)
sleep(2000)
}
AutoJs源码-红包头条
需积分: 7 143 浏览量
2022-11-16
05:05:05
上传
评论
收藏 782B 7Z 举报
[虚幻私塾】
- 粉丝: 334
- 资源: 1559
最新资源
- WebCrawler.scr
- 【计算机专业毕业设计】大学生就业信息管理系统设计源码.zip
- YOLO 数据集:8种路面缺陷病害检测【包含划分好的数据集、类别class文件、数据可视化脚本】
- JAVA实现Modbus RTU或Modbus TCPIP案例.zip
- 基于YOLOv8的FPS TPS AI自动锁定源码+使用步骤说明.zip
- JAVA实现Modbus RTU或Modbus TCPIP案例.zip
- 基于yolov8+streamlit的火灾检测部署源码+模型.zip
- 测试aaaaaaabbbbb
- VID20240521070643.mp4
- Android系统原理与开发学习要点详解-培训课件.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈