연결 중…
연결 중…
전체 보기
Zi존파워잼민
Telegram · @jammin0720

에블린인가 이블린인가

게시
2025.09.07 01:14
조회
2,319
포워드
112

https://www.everlyn.ai/
여기 크레딧 녹이는 코드인데
랜덤클릭- >생성클릭이라 단순해서 만들어봤음

text->image는 여러번 테스트를 해봤음
동영상을 만드는건 지금 오류 때문에 못했음 테스트 X
동영상 생성은 24~48시간 안으로 해결 해준다고 함

코드 맨밑에
const delay = 6 * 60 * 1000; 이부분에 있는 6을 바꾸면 딜레이는 달라짐 현재는 6분임.

예시:
const delay = 10 * 60 * 1000; = 10분
const delay = 1 * 60 * 1000; = 1분

코드를 중지할라면 F5를 눌러 새로고침 해주면 됨

(() => {
// ===== Helper =====
const sleep = (ms) => new Promise(r => setTimeout(r, ms));
const isVisible = (el) => {
if (!el) return false;
const cs = getComputedStyle(el);
const r = el.getBoundingClientRect();
return cs.display !== 'none' && cs.visibility !== 'hidden' &&
parseFloat(cs.opacity || '1') > 0 && r.width > 0 && r.height > 0;
};
const text = (el) => (el.textContent || '').replace(/\s+/g, ' ').trim();

// 버튼 텍스트로 안전하게 찾기
function getButtonByText(label) {
const btns = [...document.querySelectorAll('button')];
let cand = btns.find(b => isVisible(b) && text(b) === label);
if (cand) return cand;
cand = btns.find(b => isVisible(b) && text(b).includes(label));
if (cand) return cand;
return btns.find(b => text(b).includes(label));
}

// 확실한 클릭
function strongClick(el) {
try { el.disabled = false; } catch {}
try { el.removeAttribute?.('disabled'); } catch {}
try { el.focus?.(); } catch {}
try { el.click?.(); } catch {}
try {
el.dispatchEvent(new MouseEvent('click', { bubbles: true, cancelable: true, view: window }));
} catch {}
}

let running = true;
window.stopRandGen = () => { running = false; console.log('Stopped.'); };

console.log('Random → Generate 자동 클릭 시작');

(async function loop() {
while (running) {
const order = ['Random', 'Generate'];
for (const label of order) {
const btn = getButtonByText(label);
if (!btn) {
console.warn(버튼을 찾지 못함: ${label});
continue;
}
strongClick(btn);
await sleep(350);
}

// === 딜레이 고치는 곳 ===
const delay = 6 * 60 * 1000;
console.log(대기 중: ${delay/1000}초… 중단하려면 stopRandGen() 호출);
await sleep(delay);
}
})();
})();

조회2,319포워드112텔레그램에서 보기