


윾돌
•2026.01.09 19:49:56먼저 스크립트를 실행해 줄 **'Tampermonkey(탬퍼몽키)'**라는 확장 프로그램을 깔아야 합니다. (유명하고 안전한 프로그램입니다.)
https://chromewebstore.google.com/?utm_source=ext_app_menu
이 주소로 들어가면 크롬 웹스토어가 나오는데 검색창에 Tampermonkey 를 검색해서 설치해줍니다
브라우저 우측 상단에 생긴 **검은색 네모 아이콘(Tampermonkey)**을 클릭하세요. (안 보이면 퍼즐 조각🧩 아이콘을 눌러보세요.)
메뉴에서 **[ + 새 스크립트 만들기 ]**를 클릭합니다.
화면에 뭔가 코드가 적혀있을 텐데, 싹 다 지워서 빈칸으로 만드세요.
아래 코드를 복사해서 그 자리에 그대로 붙여넣기(Ctrl+V) 하세요.
// ==UserScript==
// @name 거타 채팅 도배 차단기 V29
// @namespace http://tampermonkey.net/
// @version 29.0
// @description
// @author User
// @match https://geota.co.kr/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
// 1. 차단 키워드
const blockList = [
"즐라탄"
];
const historyCounts = {};
// 2. 문자 세탁 (수정됨: 자음/모음 허용)
function superClean(text) {
// 가-힣(완성글자), ㄱ-ㅎ(자음), ㅏ-ㅣ(모음), 영어, 숫자만 남김
return text.replace(/[^가-힣ㄱ-ㅎㅏ-ㅣa-zA-Z0-9]/g, '');
}
// 3. 도배 판별
function isSpam(el) {
try {
const rawText = el.innerText;
const cleanText = superClean(rawText);
// [A] 공백/투명 도배 차단
if (cleanText.length === 0) {
if (el.querySelector('img')) return false;
return true;
}
// [B] 키워드 차단
if (blockList.some(keyword => cleanText.includes(keyword))) {
return true;
}
// [C] 중복 도배 차단
const count = (historyCounts[cleanText] || 0) + 1;
if (cleanText.length > 10) {
return count > 1;
} else {
return count > 4;
}
} catch (e) {
return false;
}
}
// 4. 안전한 처리 함수
function checkAndAct(el) {
const row = el.closest('.self-stretch');
if (!row || row.id === 'geota-chatting-window' || row.classList.contains('custom-scrollbar-y')) return;
const cleanText = superClean(el.innerText);
if (isSpam(el)) {
if (row.style.display !== 'none') {
row.style.display = 'none';
if (cleanText) historyCounts[cleanText] = (historyCounts[cleanText] || 0) + 1;
}
} else {
if (row.style.display === 'none') {
row.style.display = '';
}
if (cleanText) historyCounts[cleanText] = (historyCounts[cleanText] || 0) + 1;
}
}
// 5. 스크롤 고정 함수
function anchorScroll(chatWindow) {
const scrollContainer = chatWindow.querySelector('.custom-scrollbar-y');
if (!scrollContainer) return;
const isAtBottom = scrollContainer.scrollHeight - scrollContainer.scrollTop - scrollContainer.clientHeight <= 150;
if (isAtBottom) {
requestAnimationFrame(() => {
scrollContainer.scrollTop = scrollContainer.scrollHeight;
});
}
}
// 6. 실행 엔진
function startEngine() {
const chatWindow = document.getElementById('geota-chatting-window');
if (!chatWindow) {
setTimeout(startEngine, 500);
return;
}
const observer = new MutationObserver((mutations) => {
let needsScrollFix = false;
mutations.forEach((mutation) => {
if (mutation.type === 'characterData') {
const node = mutation.target.parentElement;
if (node && node.closest('.text-sm')) {
checkAndAct(node.closest('.text-sm'));
needsScrollFix = true;
}
}
else if (mutation.type === 'childList') {
mutation.addedNodes.forEach((node) => {
if (node.nodeType !== 1) return;
const textEl = node.querySelector ? node.querySelector('.text-sm.font-medium.leading-normal') : null;
if (textEl) {
checkAndAct(textEl);
needsScrollFix = true;
}
});
}
});
if (needsScrollFix) {
anchorScroll(chatWindow);
}
});
observer.observe(chatWindow, {
childList: true,
subtree: true,
characterData: true,
attributes: false
});
// 보조 순찰 (0.5초)
setInterval(() => {
for (let key in historyCounts) delete historyCounts[key];
const targets = chatWindow.querySelectorAll('.text-sm.font-medium.leading-normal');
targets.forEach(el => checkAndAct(el));
}, 500);
}
startEngine();
})();
코드를 다 넣으셨으면 키보드 Ctrl + S를 누르세요.
거타 사이트에 가서 새로고침(F5) 한 번 해주면 끝입니다!
새로 생긴 확장프로그램에 숫자1이 보인다면 잘 작동하고있다는뜻입니다.
전체 댓글 10개









| 번호 | 분류 | 제목 | 글쓴이 | 작성일 | 조회 | 추천 |
|---|---|---|---|---|---|---|
| 131 | 공지 | 거상을 더 즐겁게! 유저 중심 커뮤니티, 거타를 소개합니다. [23] | 관리자 | 02.28 | 50,138 | 76 |
| 115 | 공지 | 자유 게시판 이용안내 [12] | 관리자 | 02.28 | 38,893 | 5 |
| 163 | 자유 | ㅋㅋㅋ(61.82) | 03.04 | 5706 | 4 | |
| 152 | 자유 | 오늘의 운세~[8] | ㅇㅇ(14.5) | 03.04 | 4280 | 1 |
| 151 | 자유 | 날씨가[2] | ㅇㅇ(45.143) | 03.04 | 4825 | 0 |
| 147 | 자유 | 오호 이건 또 무언가?[4] | 조조맹덧(14.5) | 03.04 | 5008 | 0 |
| 145 | 자유 | ㅇㅅㅇ[10] | ㅇㅇ(121.140) | 03.03 | 5211 | 0 |
| 141 | 자유 | 뉴비다 질문 받는다[9] | ㅇㅇ(94.156) | 03.03 | 5400 | 0 |
| 139 | 자유 | 신기하네요 [4] | 로또(59.15) | 03.03 | 5161 | 0 |
| 136 | 자유 | 200% 경험치 곧.[4] | ㅇㅇ(45.143) | 03.03 | 5812 | 1 |
| 135 | 자유 | 오오오오오[141] | ㅇㅇ(121.140) | 03.03 | 4533 | 1 |
| 131 | 자유 | 관리자(121.140) | 02.28 | 50138 | 76 | |
| 115 | 자유 | 자유 게시판 이용안내[12] | 관리자(121.140) | 02.28 | 38893 | 5 |