公布了答案可能就沒意思了,本來想等結束了再貼。後來看別人貼了也就貼出來了。網址:http://ued.campus.alibaba.com/quiz3/
第一關:
直接原始碼搜頁面跳轉,然後手動執行跳轉過程
d = document.getElementById("page");code = d.getAttribute("data-t");window.location=Base64.decode(code);
第二關:
移動鏡子直到光線照射到兩個點。這個有意思,果斷儲存網頁,以後沒事了拿來玩,做個小遊戲。
ma = document.getElementById("ma");mb = document.getElementById("mb"); ma.style.webkitTransform="rotate(-67.5deg)"; ma.style.top = "550px";ma.style.left = "830px"; mb.style.webkitTransform="rotate(180deg)";mb.style.left="630px";mb.style.top="335px";
第三關:
用canvas繪製二維碼
con = document.getElementById('qr-canvas').getContext('2d'); c= //網頁中注釋掉的一長串數字d = c.split(" "); for(var e in d){ console.log(d[e]); f = d[e].split(","); console.log(f); con.fillRect(Number(f[0]),Number(f[1]),Number(f[2]),Number(f[3])); }
第四關:
第一次人肉通過,結果最後一關沒在規定時間內做完,然後寫代碼記錄資訊。也可以通過user script或者chrome extension來自動將js載入到頁面,懶得做,就把這段js儲存到書籤中,每次開啟新頁面就點擊一下。最後去localStorage找資訊。
var m = document.getElementById("message");if(!localStorage.msg) localStorage.msg = "";localStorage.msg += m.innerHTML;var next = document.getElementById("next-room");var url = window.location.href;url = url.replace(/room=.*$/, "room=" + next.innerHTML);window.location = url;
第五關:
真的是拼人品。有一次輕鬆猜對,有一次搜尋也查不出來。
第六關:
和第一關類似。
d = document.getElementById("page");code = d.getAttribute("data-p");window.location=Base64.decode(code);
然後第二天收到了miss-x的郵件。周末改改簡曆再投吧,之前的簡曆寫的太爛了。