<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[我也发一个淘宝JS脚本]]></title><description><![CDATA[<p dir="auto">软件，姿势你们应该都知道了<br />
直接上脚本<br />
原处:<a href="https://github.com/ErazerControl/2019double11/blob/master/main.js" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/ErazerControl/2019double11/blob/master/main.js</a></p>
<p dir="auto">我现在用的<br />
↓</p>
<pre><code>"auto"
var appName = "手机淘宝";
launchApp(appName);
sleep(3000);
//寻找领喵币按钮，存在则执行任务，否则退出脚本
var lingmiaobi = indexInParent(5).depth(18).text("").findOnce();
if (lingmiaobi) {
    lingmiaobi.click();
    sleep(1000);
    execTask();
}
else {
    toast("未检查到领喵币按钮")
}
function execTask() {
    while(true) {
        var target =  text("去进店").findOnce() || text("去浏览").findOnce();
		if (target == null) {
            toast("撸玩就走，美滋滋");
            break;
        }
        target.click();
        sleep(3000);
        //浏览网页18s
        viewWeb(18);
		back();
		sleep(1000);
    }
}
function viewWeb(time) {
    gesture(1000, [15000, 500], [1300, 500]);
    var cnt = 1;
	while(true) {
        var finish = desc("撸完就走，美滋滋").exists() || textStartsWith("已获得").exists();
		if (finish || cnt &gt; time) {
            break;
        }
		sleep(1000);
        cnt += 1;
    }
}
</code></pre>
<p dir="auto">...作者又更新了  加了签到 (脚本还只是一个1KB的孩子啊 签到 自己动动手不行吗 ) <img src="https://jike.info/assets/plugins/nodebb-plugin-emoji/emoji/android/1f644.png?v=2db322ae342" class="not-responsive emoji emoji-android emoji--face_with_rolling_eyes" style="height:23px;width:auto;vertical-align:middle" title=":face_with_rolling_eyes:" alt="🙄" /></p>
<ul>
<li>
<p dir="auto">对(昨天的)原作做了一些修改  适配本人2340*1080的屏幕</p>
</li>
<li>
<p dir="auto">修改浏览网页时长20s - 18s  时间就是金钱</p>
</li>
<li>
<p dir="auto">修改滑动坐标为屏幕外 可以触发滑动事件 不会触发某些店铺首页的视频广告  但是不触发广告也会播放5s + 浏览页面所需的15s 大于代码设置的18s 会导致这个店铺的浏览任务失败<br />
好消息是会继续下一个店铺 知道玩成浏览20个店铺的任务<br />
你也可以把18s改为20s 这样就算看5s的视频 也可以完成浏览任务</p>
</li>
</ul>
<p dir="auto"><strong>上面的脚本只在荣耀 Magic 2    2340*1080  上测试过</strong></p>
]]></description><link>https://jike.info/topic/693/我也发一个淘宝js脚本</link><generator>RSS for Node</generator><lastBuildDate>Mon, 14 Sep 2026 21:05:35 GMT</lastBuildDate><atom:link href="https://jike.info/topic/693.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 24 Oct 2019 09:44:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 我也发一个淘宝JS脚本 on Fri, 25 Oct 2019 02:12:41 GMT]]></title><description><![CDATA[<p dir="auto">华为nove2s上测试不通过，<br />
把<br />
indexInParent(5).depth(18)<br />
改为<br />
indexInParent(5).depth(14)<br />
就可以了</p>
]]></description><link>https://jike.info/post/1535</link><guid isPermaLink="true">https://jike.info/post/1535</guid><dc:creator><![CDATA[qinyang]]></dc:creator><pubDate>Fri, 25 Oct 2019 02:12:41 GMT</pubDate></item><item><title><![CDATA[Reply to 我也发一个淘宝JS脚本 on Fri, 25 Oct 2019 01:44:05 GMT]]></title><description><![CDATA[<p dir="auto">好用  紫薯布丁</p>
]]></description><link>https://jike.info/post/1533</link><guid isPermaLink="true">https://jike.info/post/1533</guid><dc:creator><![CDATA[google8808]]></dc:creator><pubDate>Fri, 25 Oct 2019 01:44:05 GMT</pubDate></item></channel></rss>