即刻在2020年6月10号上午回归了,回归还做了一个特别有意思的活动,寻找果果。活动本身的解谜即友都有做汇总,技术上很多即友也发现了可以剧透的内容,这里做一个收集。本文需要一点点基本的前端知识,算是另一个视角下的解谜。
第零天:预览关卡内容
第零天,官方发布了一张污损的海报预告有一个大型解谜活动,通过补全二维码可以获得活动入口。
1
| https://h5.codefuture.top/hybrid-gone-cat
|
由于活动于第一天开始,所以无法进入活动,甚至因为界面设置问题无法看到规则。
通过浏览页面JS可以发现这样一些代码:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
| baseURL: W ? "/proxy" : "https://meow.codefuture.top/api", withCredentials: !0, headers: { Accept: "application/json", "Content-Type": "application/json" }
list: function(e, t) { return regeneratorRuntime.async((function(n) { while (1) switch (n.prev = n.next) { case 0: return n.abrupt("return", $("/chapters/list", { skip: e, limit: t })); case 1: case "end": return n.stop() } } )) }
setPollingData: function(e, t) { e.cats.data = t.data, e.cats.currentIndex = t.currentIndex }
var t = JSON.parse(localStorage.getItem("gone-cat-intro") || "false"); if (t && 0 !== e.currentIndex) { if (void 0 === e.currentIndex) return void H.replace("/prev"); if (6 !== e.currentIndex) return void H.replace("/ch/".concat(e.currentIndex)); H.replace("/final6") } else 0 !== e.currentIndex && (H.replace("/intro"), localStorage.setItem("gone-cat-intro", "true"))
|
通过代码段四可以分析出通过currentIndex判断页面,通过代码段二、三可以发现该值通过...