声明
本文章中所有内容仅供学习交流使用,不用于其他任何目的,抓包内容、敏感网址、数据接口等均已做脱敏处理,严禁用于商业用途和非法用途,否则由此产生的一切后果均与作者无关!wx a15018601872
本文章未经许可禁止转载,禁止任何修改后二次传播,擅自使用本文讲解的技术而导致的任何意外,作者均不负责,若有侵权,请联系作者立即删除!q 2766958292
前言
陆陆续续搞了加起来感觉有1个月以上了。就差一口气就弄出来但是就是卡在s90s89。缩放试了效果不行,能成功几次多了就失败,暂时用的贝塞尔曲线成功率5次成功一次。给我看乐了。目前在研究ai轨迹那个怎么搞,一直在研究。简单说一下区别。
1.淘系和非陶区别
区别真不大,就是一个轨迹的问题。轨迹真的太难搞了,手动都难过。然后多了一个事件检测就没了。
2.bx-pp
这个是一个wasm,后续单独开一张来说。暂时不检测。我这个也弄好了。
3.bx-et
这个参数我还没加上去,随机取了一个后续再把他弄上。后续也可能开一章节来说。
4.227
这个就不多说了,普通系列已经说了很多了。就是事件处理复杂了一点。我把我的事件处理过程贴出来。最难得就是这一部分。顺序调整了1周了。虽然不是一直再弄,但是个人认为最难得就是这个了。
doRTClistener()
// dolistener('load', memory.window_onload ? memory.window_onload : [], memory.loadData)
dolistener('deviceorientation', memory.asyncEvent['listener']['deviceorientation'] ? memory.asyncEvent['listener']['deviceorientation'][0] : [], memory.DeviceOrientationData)
dolistener('DOMContentLoaded', memory.asyncEvent['listener']['DOMContentLoaded'] ? memory.asyncEvent['listener']['DOMContentLoaded'][0] : [], memory.loadData)
// dolistener('load', memory.window_onload ? memory.window_onload : [], memory.loadData)
dolistener('click', memory.asyncEvent['listener']['click'][0] ? memory.asyncEvent['listener']['click'][0] : [], memory.clickInputData)
dolistener('click', memory.asyncEvent['listener']['click'][1] ? memory.asyncEvent['listener']['click'][1] : [], memory.clickSliderData)
dolistener('focus', memory.asyncEvent['listener']['focus'][0] ? memory.asyncEvent['listener']['focus'][0] : [], memory.focusData)
dolistener('focus', memory.asyncEvent['listener']['focus'][1] ? memory.asyncEvent['listener']['focus'][1] : [], memory.focusData)
// dolistener('mousewheel', memory.asyncEvent['listener']['mousewheel'][0] ? memory.asyncEvent['listener']['mousewheel'][0] : [], memory.WheelData)
dolistener('mousemove', memory.asyncEvent['listener']['mousemove'][0] ? memory.asyncEvent['listener']['mousemove'][0] : [], memory.mouseMoveData1)
dolistener('mousemove', memory.asyncEvent['listener']['mousemove'][1] ? memory.asyncEvent['listener']['mousemove'][1] : [], memory.mouseMoveData2)
dolistener('mousedown', memory.asyncEvent['listener']['onmousedown'][0] ? memory.asyncEvent['listener']['onmousedown'][0] : [], memory.mouseDownData1)// dolistener('mouseup', memory.asyncEvent['listener']['mouseup'][0] ? memory.asyncEvent['listener']['mouseup'][0] : [], memory.mouseUpData)
dolistener('mousedown', memory.asyncEvent['listener']['mousedown'][0] ? memory.asyncEvent['listener']['mousedown'][0] : [], memory.mouseDownData1)
dolistener('mousedown', memory.asyncEvent['listener']['mousedown'][1] ? memory.asyncEvent['listener']['mousedown'][1] : [], memory.mouseDownData1)
var start = [17, 16];
dolistener('mousedown', memory.asyncEvent['listener']['mousedown'][1] ? memory.asyncEvent['listener']['mousedown'][1] : [], useTrack)
dolistener('mousemove', memory.asyncEvent['listener']['mousemove'][2] ? memory.asyncEvent['listener']['mousemove'][2] : [], memory.mouseMoveData3)
// dolistener('mousedown', memory.asyncEvent['listener']['mousedown'][0] ? memory.asyncEvent['listener']['mousedown'][0] : [], memory.mouseDownData1)// dolistener('mousedown', memory.asyncEvent['listener']['mousedown'][1] ? memory.asyncEvent['listener']['mousedown'][1] : [], memory.mouseDownData2)
// dolistener('mousedown', memory.asyncEvent['listener']['mousedown'][1] ? memory.asyncEvent['listener']['mousedown'][1] : [], memory.mouseDownData1)// dolistener('mousedown', memory.asyncEvent['listener']['mousedown'][1] ? memory.asyncEvent['listener']['mousedown'][1] : [], memory.mouseDownData2)
// dolistener('mouseup', memory.asyncEvent['listener']['mouseup'][1] ? memory.asyncEvent['listener']['mouseup'][0] : [], memory.mouseUpData)
// dolistener('click', memory.asyncEvent['listener']['click'][0] ? memory.asyncEvent['listener']['click'][0] : [], memory.clickInputData)
// dolistener('mousedown', memory.asyncEvent['listener']['mousedown'][0] ? memory.asyncEvent['listener']['mousedown'][0] : [], memory.mouseDownData1)
// dolistener('mousemove', memory.asyncEvent['listener']['mousemove'][0] ? memory.asyncEvent['listener']['mousemove'][0] : [], memory.mouseMoveData1)
// dolistener('mouseup', memory.asyncEvent['listener']['mouseup'][0] ? memory.asyncEvent['listener']['mouseup'][0] : [], memory.mouseUpData)
// dolistener('focus', memory.asyncEvent['listener']['focus'][1] ? memory.asyncEvent['listener']['focus'][1] : [], memory.focusData)
// dolistener('DOMContentLoaded', memory.asyncEvent['listener']['DOMContentLoaded'] ? memory.asyncEvent['listener']['DOMContentLoaded'][0] : [], memory.loadData)
// dolistener('click', memory.asyncEvent['listener']['click'][1] ? memory.asyncEvent['listener']['click'][1] : [], memory.clickSliderData)
// dolistener('mousedown', memory.asyncEvent['listener']['mousedown'][1] ? memory.asyncEvent['listener']['mousedown'][1] : [], memory.mouseDownData2)
// dolistener('mousemove', memory.asyncEvent['listener']['mousemove'][1] ? memory.asyncEvent['listener']['mousemove'][1] : [], memory.mouseMoveData1)
// dolistener('mouseup', memory.asyncEvent['listener']['mouseup'][1] ? memory.asyncEvent['listener']['mouseup'][0] : [], memory.mouseUpData)
// dolistener('mousedown', memory.asyncEvent['listener']['onmousedown'][0] ? memory.asyncEvent['listener']['onmousedown'][0] : [], memory.mouseDownData1)
// // dolistener('mousedown', memory.asyncEvent['listener']['onmousedown'][1] ? memory.asyncEvent['listener']['onmousedown'][1] : function add(){}, memory.mouseDownData1)
// dolistener('mousemove', memory.asyncEvent['listener']['mousemove'][2] ? memory.asyncEvent['listener']['mousemove'][2] : [], memory.mouseMoveData3)
// dolistener('mousedown', memory.asyncEvent['listener']['mousedown'][2] ? memory.asyncEvent['listener']['mousedown'][2] : [], memory.mouseDownData1)// dolistener('mousedown', memory.asyncEvent['listener']['mousedown'][1] ? memory.asyncEvent['listener']['mousedown'][1] : [], memory.mouseDownData2)
// dolistener('mouseup', memory.asyncEvent['listener']['mouseup'][2] ? memory.asyncEvent['listener']['mouseup'][2] : [], memory.mouseUpData)
// 这是非淘
// dolistener('mousedown',memory.asyncEvent['listener']['onmousedown']?memory.asyncEvent['listener']['onmousedown'][0]:[],memory.mouseDownData1)
// dolistener('mousedown',memory.asyncEvent['listener']['mousedown']?memory.asyncEvent['listener']['mousedown'][0]:[],memory.mouseDownData1)
// dolistener('mousemove',memory.asyncEvent['listener']['mousemove']?memory.asyncEvent['listener']['mousemove'][0]:[],memory.mouseMoveData2)
// dolistener('mousemove',memory.asyncEvent['listener']['mousemove']?memory.asyncEvent['listener']['mousemove'][1]:[],memory.mouseMoveData2)
// dolistener('mousemove',memory.asyncEvent['listener']['mousemove']?memory.asyncEvent['listener']['mousemove'][2]:[],memory.mouseMoveData2)