淘宝双十一自动玩猫猫js脚本

前言

一年一度的双十一又来了,我们依然是那个待割的韭菜,搞事的网络销售商已经开始活跃了,尤其是淘宝,每年弄个新花样,诱导我们去消费,去玩那个所谓的游戏得红包

接下来我们就用代码代替双替我们玩喵喵。

代码如下

auto.waitFor();
var height = device.height;
var width = device.width;
toast("\n设备宽" + width + "\n" + "设备高" + height + "\n" + "手机型号" + device.model + "\n安卓版本" + device.release)
setScreenMetrics(width, height);

lingqu();

function lingqu() {
    app.launchApp("手机淘宝");
    toast("打开淘宝")
    sleep(6000);
    click(600, 1235);//进入活动页
    sleep(6000);

    click(900, 1320);
    toast("领金币")
    //id("_KivZw5").findOne().click();//点猫  领金币
    // //浏览15秒领金币
    sleep(1500);
    while (text("去喂猫 赚更多喵币").exists()) {
        text("去喂猫 赚更多喵币").findOne().click();
        }
    click(920, 2100);
    toast("赚喵币")

    sleep(1500);
    if (text("签到").exists()) {
        text("签到").findOne().click();
        sleep(1600);
        toast("签到成功")
    }
    sleep(1500);
    while (text("去浏览").exists()) {
        toast("存在去浏览");
        text("去浏览").findOne().click();
        sleep(1500);
        swipe(width / 2, height - 500, width / 2, 0, 500);
        sleep(2500);
        swipe(width / 2, height - 500, width / 2, 0, 500);
        sleep(10000);
        swipe(width / 2, height - 500, width / 2, 0, 500);
        sleep(8000);
        back();
        sleep(1600);
    }
    while (text("去完成").exists()) {
        //要支持的动作
        toast("存在去完成");
        text("去完成").findOne().click();
        sleep(2500);
        swipe(width / 2, height - 600, width / 2, 0, 500);
        sleep(3500);
        swipe(width / 2, height - 600, width / 2, 0, 500);
        sleep(10000);
        swipe(width / 2, height - 600, width / 2, 0, 500);
        sleep(9000);
        back();
        sleep(1000);
    }
    while (text("去搜索").exists()) {
        //要支持的动作
        toast("存在去搜索");
        text("去搜索").findOne().click();
        sleep(2500);
        swipe(width / 2, height - 600, width / 2, 0, 500);
        sleep(3500);
        swipe(width / 2, height - 600, width / 2, 0, 500);
        sleep(10000);
        swipe(width / 2, height - 600, width / 2, 0, 500);
        sleep(9000);
        back();
        sleep(1000);
}

    toast("结束");
}

使用方法

你们可以先复制代码到txt,修改文本后缀名为js

自己下载AutoJS的app,然后导入以上js代码开始运行就行

有能力的自己写入app,进行引流

 

不想自己动手的,点击这里直接下载

点赞
  1. QQbrowser Windows 10
    技术大佬厉害了
  2. 自考专业说道:
    Sogou Explorer Windows 7
    牛啊,这我就不用时时守着了
  3. 健康管理说道:
    Firefox Windows 10
    文章写的很好啊,赞(ㆆᴗㆆ),每日打卡~~

广东自考本科院校进行回复 取消回复

电子邮件地址不会被公开。必填项已用 * 标注