덕코 전송 매크로 코드
게시글 주소: https://dev.orbi.kr/00074043420
window.alert = function () {}; // alert 차단
async function sendXDKBatch() {
const rawId = window.location.pathname.split("/")[1];
const POST_ID = rawId.substring(3);
const DEOKKO_AMOUNT = 1000000;
const promises = [];
let successCount = 0;
let failCount = 0;
const startTime = new Date();
for (let i = 0; i < 10; i++) {
const p = fetch(`https://orbi.kr/api/v1/board/post/${POST_ID}/send_xdk`, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ value: DEOKKO_AMOUNT })
})
.then(res => {
if (!res.ok) {
return res.json().then(err => {
throw new Error(err.message || `HTTP ${res.status}`);
});
}
return res.json();
})
.then(() => {
successCount++;
})
.catch(err => {
failCount++;
console.warn(`⚠️ 요청 실패: ${err.message}`);
});
promises.push(p);
}
await Promise.all(promises);
const endTime = new Date();
const timeStr = endTime.toLocaleString();
console.log(`✅ 덕코 전송 완료 (${timeStr}) - 성공: ${successCount}/10, 실패: ${failCount}/10`);
}
// ? 10초마다 전체 실행
const repeatId = setInterval(sendXDKBatch, 10000);
// ? 처음 한 번 즉시 실행
sendXDKBatch();
0 XDK (+0)
유익한 글을 읽었다면 작성자에게 XDK를 선물하세요.
-
Feynman Algorithm을 이용한 수능 수학 문제 해결법 2 4
Feynman Algorithm이란? 미국의 유명한 물리학자 'Lichard...


역시 큰일은 공돌이가 ㅋㅋ
큰일이긴함
전송되는거 보다 깎이는게 적어서 레어 복사됨
gpt 시켰나보지