/*
软件作者:https://xuhss.com/oxox/pro
*/
"auto";
var max=dialogs.input("大约刷多少分钟",60);
var t=0;
var w=device.width,h=device.height;
waitForActivity("com.jifen.qkbase.main.MainActivity");
function cha(){if(currentPackage()!="com.jifen.qukan"){toast("结束"); exit();}}
function is(parent){
if(parent.childCount()==0){if(parent.text()=="\u5e7f\u544a"||(parent.text()=="\u7f6e\u9876"||parent.text()=="\u89c6\u9891"))return true;return false;}
for(var i=0;i<parent.childCount();i++){
if(is(parent.child(i)))return true;
}
return false;
}
while(t<1.1*max){
sleep(400);
click("刷新");
sleep(random(2000,3000));
var list=className("android.support.v7.widget.RecyclerView").findOnce();
sleep(250);
//var is_ent=false;
for(var i=1;i<list.childCount()/*&&!is_ent*/;i++){
if(list.child(i).find(text("广告")).size()!=0)continue;
if(list.child(i).find(text("置顶")).size()!=0)continue;
if(list.child(i).find(text("视频")).size()!=0)continue;
if(list.child(i).find(id("aay")).size()!=0)continue;//aay是图集内特征id
//is_ent=true;
list.child(i).click();
var stimes=random(7.9,10.1);
for(var j=0;j<stimes;j++){
sleep(1400+1000*random());
cha();
swipe(w/2+random(10,20),h*0.6+random(10,40),w/2+random(20,30),h*0.25+random(30,60),random(500,800));
sleep(1600+800*random());
}
cha();
back();
t++;
if(t%5==4)sleep(9000);
sleep(random(1600,2600));
}
}
AutoJs源码-趣头条
需积分: 4 155 浏览量
2022-11-16
19:11:36
上传
评论
收藏 931B 7Z 举报
[虚幻私塾】
- 粉丝: 334
- 资源: 1559
最新资源
- 6_Advertising-gd_LearningRate.ipynb
- 12_base.apk
- 520马上到了两款动态爱心表白HTML代码(附源码)李峋同款爱心,快送给你爱的她或(他)吧12 情侣纪念日代码.zip
- 电子设计竞赛的单相不间断电源设计
- cutcamera1715961370938.png
- 基于MATLAB的图像处理课程设计报告.doc
- tensorflow-gpu-2.6.0-cp38-cp38-manylinux2010-x86-64.whl
- mmexport1715960553858.png
- tensorflow-gpu-2.6.0-cp37-cp37m-manylinux2010-x86-64.whl
- 通过 .NET 应用程序中的源代码查找 SQL 注入
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈