kone
비디오가게

비디오가게

ai로 만든 픽팍 비번 자동입력 스크립트

10/10/2025, 12:37:50
일반
6557 views · 4 likes

// ==UserScript==
// @name PikPak 자동 입력 및 버튼 감시 클릭
// @namespace http://tampermonkey.net/
// @version 1.2
// @description 비밀번호 입력 후 버튼 활성화 감지하여 자동 클릭
// @match https://*.mypikpak.com/*
// @grant none
// ==/UserScript==

(function() {
'use strict';

const fixedPassword = "ABCDEFGH"; // 원하는 비밀번호 입력

const fillPassword = () => {
const input = document.querySelector('input.el-input__inner[placeholder="비밀번호를 입력해주세요"]');
if (input) {
input.value = fixedPassword;
input.dispatchEvent(new Event('input', { bubbles: true }));
}
};

const observeButton = () => {
const targetButton = Array.from(document.querySelectorAll('button')).find(btn =>
btn.textContent.includes("파일 보기")
);

if (!targetButton) return;

const tryClick = () => {
if (!targetButton.disabled && targetButton.getAttribute("aria-disabled") === "false") {
const clickEvent = new MouseEvent('click', {
bubbles: true,
cancelable: true,
view: window
});
targetButton.dispatchEvent(clickEvent);
observer.disconnect(); // 클릭 후 감시 중단
}
};

const observer = new MutationObserver(tryClick);
observer.observe(targetButton, { attributes: true, attributeFilter: ["disabled", "aria-disabled", "class"] });

// 혹시 이미 활성화 상태라면 바로 시도
tryClick();
};

window.addEventListener('load', () => {
setTimeout(() => {
fillPassword();
observeButton();
}, 1000);
});
})();

크롬 확장프로그램 tempermoney 다운로드 후 우클릭 새 스크립트 만들기, 위 스크립트 전부 복사 후 const fixedPassword = "ABCDEFGH"; // 원하는 비밀번호 입력 부분에서 ABCDEFGH를 본인이 아는 패스워드로 변경 후 저장.


난 잘되길래 올렸는데 안되도 몰?루

4
7 comments
10/10/25
굳 잘작동하내요
10/10/25
흠 잘안되네염 ㅋ
10/10/25 Edited 10/10/25
이거 스크립트 한글은 지원하는데 영문은 지원 안해서 아래처럼 바꾸면 영문 사이트에서도 잘 될거임 const input = document.querySelector('input.el-input__inner[placeholder="비밀번호를 입력해주세요"]'); 이 줄을 const input = document.querySelector('input.el-input__inner[placeholder="비밀번호를 입력해주세요"]') || document.querySelector('input.el-input__inner[placeholder="Please enter the Password"]'); 이렇게 바꾸고 btn.textContent.includes("파일 보기") 이 줄을 btn.textContent.includes("파일 보기") || btn.textContent.includes("View File(s)") 이렇게 바꾸면 됨
10/11/25
원래 만드신 분하고 이분하고 감사합니다!
10/10/25
감사합니다
10/11/25
확장프로그램 이미 전에올라온거있는데
10/12/25 Edited 10/12/25
잘 쓰고는 있는데 발동률이 30% 정도되는것 같아요. 10번 하면 3번은 자동입력되는데 7번은 수동으로 입력하고 있습니다. 이유가 뭘까요. 브라우저는 파이어폭스써요.