多啲人幫手一齊run
我哋要同台灣一齊金銀獎
1. Desktop 開 Chrome
2. 去 https://popcat.click/
3. 㩒 F12
4. 右邊望上面條bar,click Console
5. 抄以下火星火貼落去,㩒enter,會見到啲數字係咁狂跳
6. F12閂咗右邊。唔駛理佢,由得佢係咁run
7. 如果覺嘈,你可以right click個tab叫佢唔好出聲
呢個run法唔會阻你部腦,佢只會喺部腦idle至run嘅
const f = function (n) {
let e = new KeyboardEvent("keydown", { key: "h" });
for (let i=0; i<n; i++) document.dispatchEvent(e);
}
const foo = function (deadline) {
while (deadline.timeRemaining() > 0) f(1000);
window.requestIdleCallback(foo);
}
window.requestIdleCallback(foo);
const bar = function (deadline) {
while (deadline.timeRemaining() > 0) f(100);
window.requestIdleCallback(bar);
}
window.requestIdleCallback(bar);