코네 이미지 뷰어 개선 스크립트
코네 자체 이미지 뷰어에 전체화면이 없어서 간단하게 AI 사용해서 만들어봤음
이미지 완전 전체화면 + 마우스(한손)으로 모든 조작 or 키보드로 조작 가능
사용법:
0. Tampermonkey 확장프로그램 설치 후, + 버튼으로 아래 내용 복붙
1. 이미지 클릭해서 기존처럼 뷰어열기
2. 우상단 전체화면 버튼 or 키보드 I키 누르기로 전체화면
1
3. 우상단 X버튼 클릭 or I키로 전체화면 및 이미지뷰어 탈출
1
방향키, 마우스 휠로 이미지 이동 가능
aHR0cHM6Ly9raW8uYWMvYy9kMml2bk1FR25EUTV6X3RQcWpoUEti
코드 보기
// ==UserScript==
// @name Kone.gg 뷰어 확장 기능
// @namespace https://kone.gg/
// @version 1.9
// @description 'i' 키/버튼으로 뷰어/전체화면 제어, 전체화면 나가기 버튼으로 뷰어 동시 닫기, 이미지 전환 애니메이션 제거 기능을 제공합니다.
// @author AI Assistant & User
// @match https://kone.gg/*
// @grant GM_addStyle
// @run-at document-idle
// @license MIT
// ==/UserScript==
(function() {
'use strict';
const SCRIPT_ID = 'konegg-ui-toggle-script';
// === 스타일 주입 ===
GM_addStyle(`
/* UI 숨김 스타일 */
.viewer-container.ui-hidden .viewer-header,
.viewer-container.ui-hidden .viewer-footer {
display: none !important;
}
/* Swiper 뷰어 슬라이드 애니메이션 제거 */
.swiper-wrapper {
transition-duration: 0.001s !important;
}
/* 전체화면 나가기 버튼 스타일 */
#exit-fullscreen-button {
position: fixed;
top: 1rem;
right: 1rem;
z-index: 2147483647;
display: none;
width: 48px;
height: 48px;
background-color: rgba(0, 0, 0, 0.4);
color: white;
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 50%;
cursor: pointer;
align-items: center;
justify-content: center;
}
#exit-fullscreen-button:hover {
background-color: rgba(0, 0, 0, 0.7);
}
`);
// === 기능 함수 ===
const toggleUI = (container) => {
if (container) {
container.classList.toggle('ui-hidden');
}
};
const setupViewer = (viewerContainer) => {
if (viewerContainer.dataset.uiToggleSetup === 'true') return;
viewerContainer.dataset.uiToggleSetup = 'true';
viewerContainer.classList.add('viewer-container');
const header = viewerContainer.querySelector('div.flex.w-full.justify-end');
if (!header) return;
header.classList.add('viewer-header');
const footer = viewerContainer.querySelector('div.flex.flex-col.md\\:flex-row');
if (footer) footer.classList.add('viewer-footer');
// 전체화면 버튼 추가 (이미 있다면 추가하지 않음)
if (!header.querySelector('.fullscreen-btn')) {
const closeButton = header.querySelector('button:last-child');
if (closeButton) {
const fullscreenButton = document.createElement('button');
fullscreenButton.className = `${closeButton.className} fullscreen-btn`;
fullscreenButton.innerHTML = ``;
fullscreenButton.onclick = (e) => {
e.stopPropagation();
if (!document.fullscreenElement) {
document.documentElement.requestFullscreen();
}
};
header.insertBefore(fullscreenButton, closeButton);
}
}
// UI 토글 버튼 이벤트 설정
const gridButton = header.querySelector('button');
if (gridButton && !gridButton.dataset.uiToggleEvent) {
gridButton.dataset.uiToggleEvent = 'true';
gridButton.addEventListener('click', (e) => {
e.preventDefault();
e.stopPropagation();
toggleUI(viewerContainer);
}, true);
}
};
// === 스크립트 초기 실행 로직 ===
if (document.getElementById(SCRIPT_ID)) return;
const scriptMarker = document.createElement('div');
scriptMarker.id = SCRIPT_ID;
scriptMarker.style.display = 'none';
document.body.appendChild(scriptMarker);
if (!document.getElementById('exit-fullscreen-button')) {
const exitFullscreenButton = document.createElement('button');
exitFullscreenButton.id = 'exit-fullscreen-button';
exitFullscreenButton.innerHTML = ``;
// [수정됨] 'X' 버튼 클릭 시 전체화면 해제 및 뷰어 닫기
exitFullscreenButton.onclick = () => {
if (document.fullscreenElement) {
// 1. 전체화면 해제
document.exitFullscreen();
// 2. 뷰어를 찾아 닫기 버튼을 클릭
const viewer = document.querySelector('.viewer-container');
if (viewer) {
const closeButton = viewer.querySelector('.viewer-header button:last-child');
if (closeButton) {
closeButton.click();
}
}
}
};
document.body.appendChild(exitFullscreenButton);
}
// === 이벤트 리스너 ===
const observer = new MutationObserver((mutationsList) => {
for (const mutation of mutationsList) {
if (mutation.addedNodes.length) {
const viewerContainer = document.querySelector('div.fixed.z-50 div.swiper')?.closest('div.fixed.z-50');
if (viewerContainer) {
setupViewer(viewerContainer);
}
}
}
});
document.addEventListener('keydown', (e) => {
const activeElement = document.activeElement;
const isTyping = activeElement && (activeElement.tagName === 'INPUT' || activeElement.tagName === 'TEXTAREA' || activeElement.isContentEditable);
if (isTyping) return;
if (e.key.toLowerCase() === 'i') {
e.preventDefault();
const viewer = document.querySelector('.viewer-container:not([style*="display: none"])');
if (viewer) { // 뷰어가 열려있을 때
if (document.fullscreenElement) {
document.exitFullscreen();
const closeButton = viewer.querySelector('.viewer-header button:last-child');
if (closeButton) closeButton.click();
} else {
document.documentElement.requestFullscreen();
}
} else { // 뷰어가 닫혀있을 때
const openViewerButton = Array.from(document.querySelectorAll('div[role="menuitem"]'))
.find(item => item.textContent.trim() === '뷰어 열기');
if (openViewerButton) {
openViewerButton.click();
setTimeout(() => {
if (!document.fullscreenElement) {
document.documentElement.requestFullscreen().catch(err => {});
}
}, 100);
}
}
}
});
document.addEventListener('fullscreenchange', () => {
const currentViewer = document.querySelector('.viewer-container');
const exitBtn = document.getElementById('exit-fullscreen-button');
if (document.fullscreenElement) {
if (currentViewer) currentViewer.classList.add('ui-hidden');
if (exitBtn) exitBtn.style.display = 'flex';
} else {
if (currentViewer) currentViewer.classList.remove('ui-hidden');
if (exitBtn) exitBtn.style.display = 'none';
}
});
observer.observe(document.body, {
childList: true,
subtree: true
});
})(); 10
12 comments
공지
AI 이미지 관련 공지 및 관련 규정 수정 공지
1uF
05/02
61873
22
AI 이미지 관련 공지 및 관련 규정 수정 공지
공지
1uF
05/02 61873 22
공지
‼️뉴비 필독 가이드‼️
1uF
05/02
92648
134
‼️뉴비 필독 가이드‼️
공지
1uF
05/02 92648 134
공지
🔔[필독] 채널 규정 & 신문고 (2026 04 05~)
SK
04/05
206720
-25
🔔[필독] 채널 규정 & 신문고 (2026 04 05~)
공지
SK
04/05 206720 -25
공지
🔔[필독] 탭 별 이용 가이드 (20260206~)
Etrick
02/05
255040
-41
🔔[필독] 탭 별 이용 가이드 (20260206~)
공지
Etrick
02/05 255040 -41
공지
[필독] 서브에 자주 올라오는 여러 가지 질문 모음 (20251026~)
SK
05/17/25
1244537
-14
[필독] 서브에 자주 올라오는 여러 가지 질문 모음 (20251026~)
공지
SK
05/17/25 1244537 -14
영상
엘렌 오랄 & 핸드잡 (ZZZ)
브레머튼
04/28
24859
131
엘렌 오랄 & 핸드잡 (ZZZ)
영상
브레머튼
04/28 24859 131
야짤
ai, 이터널 리턴) 수영복 마를렌과 순애 섹스
kjh9304
04/28
15842
69
ai, 이터널 리턴) 수영복 마를렌과 순애 섹스
야짤
kjh9304
04/28 15842 69
번역
[구매보급][버전업][DLC포함] 타락신관: 여동생과 악마의 혈통 v1.3.2 steam 04/26/1237
Ghost
04/28
125984
629
[구매보급][버전업][DLC포함] 타락신관: 여동생과 악마의 혈통 v1.3.2 steam 04/26/1237
번역
Ghost
04/28 125984 629
영상
Shaggy Susu 신작 원신 감우
ㅇㅇ
04/28
17147
142
Shaggy Susu 신작 원신 감우
영상
ㅇㅇ
04/28 17147 142
미번
[미번보급] お姉ちゃんにはナイショの同居生活——血より濃いミルクティー関係
karoru
04/28
18193
29
[미번보급] お姉ちゃんにはナイショの同居生活——血より濃いミルクティー関係
미번
karoru
04/28 18193 29
소리
(구매보급/ai 번역/NTL/트름 주의) 【NTR 타락】남자친구가 있는 오만한 미나토구 여성을 감금하고 7일간 훈육하다~
Ghost
04/28
15195
74
(구매보급/ai 번역/NTL/트름 주의) 【NTR 타락】남자친구가 있는 오만한 미나토구 여성을 감금하고 7일간 훈육하다~
소리
Ghost
04/28 15195 74
동인
직번) [AI번역] [Punifuka Ume] 누님계의 유부녀는 배신의 끝에 네토라레 당한다
코코네
04/28
30129
106
직번) [AI번역] [Punifuka Ume] 누님계의 유부녀는 배신의 끝에 네토라레 당한다
동인
코코네
04/28 30129 106
후기 및 공략
타락신관 DLC 추가된점 및 여관 이벤트 분기점 공략 및 후기
asdf788
04/28
26472
47
타락신관 DLC 추가된점 및 여관 이벤트 분기점 공략 및 후기
후기 및 공략
asdf788
04/28 26472 47
정보
[메이초기주쿠] 【루나와 색욕의 고도】 제작 #3
날개 로봇
04/28
11723
17
[메이초기주쿠] 【루나와 색욕의 고도】 제작 #3
정보
날개 로봇
04/28 11723 17
소리
【초밀착 속삭임】 파파♡~ 몽글몽글 F컵의 의붓딸에게서 계속 달콤달콤 속삭임♡ 엄마가 잠든 옆에서 밀착 처벌 아이 만들기 에치♡~ 【듬뿍 무성음】
키리안
04/28
13212
108
【초밀착 속삭임】 파파♡~ 몽글몽글 F컵의 의붓딸에게서 계속 달콤달콤 속삭임♡ 엄마가 잠든 옆에서 밀착 처벌 아이 만들기 에치♡~ 【듬뿍 무성음】
소리
키리안
04/28 13212 108
동인
[Migihaji] 러브가 아니라면 프리섹스 1~2
ㅇㅇ
04/28
40546
203
[Migihaji] 러브가 아니라면 프리섹스 1~2
동인
ㅇㅇ
04/28 40546 203
번역
[수정알림] 대리업로드 번역게임 수정된거 재업
미스터장
04/28
38090
110
[수정알림] 대리업로드 번역게임 수정된거 재업
번역
미스터장
04/28 38090 110
동인
[직번] [Kagto] 반찬 당번의 성태 - 딸감 여신 마치다짱
acefs
04/28
40810
180
[직번] [Kagto] 반찬 당번의 성태 - 딸감 여신 마치다짱
동인
acefs
04/28 40810 180
영상
[4K] 타카기 양, 이미지 비디오(?)에 출연하다
실루엣21
04/28
31885
131
[4K] 타카기 양, 이미지 비디오(?)에 출연하다
영상
실루엣21
04/28 31885 131
동인
(노모화) [Shiwasu No Okina] 그녀 그이 그녀 -단행본 버전 작업중-
xbox
04/28
18849
70
(노모화) [Shiwasu No Okina] 그녀 그이 그녀 -단행본 버전 작업중-
동인
xbox
04/28 18849 70
동인
[Gamogamo] 이웃집의 음침퇴폐(다우너) 모녀에게 착정당하는 이야기
ㅇㅇ
04/28
35435
234
[Gamogamo] 이웃집의 음침퇴폐(다우너) 모녀에게 착정당하는 이야기
동인
ㅇㅇ
04/28 35435 234
복구
내가 맛있게 먹었던거 복구 (청아)
순애좋아
04/28
83690
336
내가 맛있게 먹었던거 복구 (청아)
복구
순애좋아
04/28 83690 336
미번
[구매보급] [버전업] RJ01588884 외 1
gkqisq
04/28
14253
46
[구매보급] [버전업] RJ01588884 외 1
미번
gkqisq
04/28 14253 46
소리
[구매보급]왕궁 여자 기사의 처녀 연애 - 마지못해 그녀는 당신을 사랑한다
이름뭐하지
04/28
10523
56
[구매보급]왕궁 여자 기사의 처녀 연애 - 마지못해 그녀는 당신을 사랑한다
소리
이름뭐하지
04/28 10523 56
소리
[구매보급] 【한국어 자막판】 【1시간 50분】 당신을 놓아주지 않아! 초밀착♪ 달콤한 속삭임 변태 체험판〜3명의 히로인 모음집〜
puella
04/28
17732
73
[구매보급] 【한국어 자막판】 【1시간 50분】 당신을 놓아주지 않아! 초밀착♪ 달콤한 속삭임 변태 체험판〜3명의 히로인 모음집〜
소리
puella
04/28 17732 73
번역
[AI] 내 여자친구가 지배 어플로 NTR 방송되고 있는데
미식이네
04/28
68170
221
[AI] 내 여자친구가 지배 어플로 NTR 방송되고 있는데
번역
미식이네
04/28 68170 221
미번
[구매보급] [버전업] RJ01582213 라스티던전2 ver1.0h 2026.04.25
gkqisq
04/28
11864
48
[구매보급] [버전업] RJ01582213 라스티던전2 ver1.0h 2026.04.25
미번
gkqisq
04/28 11864 48
미번
[구매보급] [버전업] [청아] RJ157224 공원장난 한국어 ver.MAKO 1.3 (Type A) 23.11.11
gkqisq
04/28
13205
44
[구매보급] [버전업] [청아] RJ157224 공원장난 한국어 ver.MAKO 1.3 (Type A) 23.11.11
미번
gkqisq
04/28 13205 44
후기 및 공략
(초스압,스토리스포x)性処理用勇者 성처리용용사 후기 및 짧공략
끄얽돍
04/28
14038
21
(초스압,스토리스포x)性処理用勇者 성처리용용사 후기 및 짧공략
후기 및 공략
끄얽돍
04/28 14038 21
동인
[AI번역] [kojirou] 환상거유
cjd08
04/28
12193
36
[AI번역] [kojirou] 환상거유
동인
cjd08
04/28 12193 36
유틸
자동 소미 해적판의 해적판의 해적판 (260503 13:58 v1.3.5 업데이트)
bellbell
04/28
13535
38
자동 소미 해적판의 해적판의 해적판 (260503 13:58 v1.3.5 업데이트)
유틸
bellbell
04/28 13535 38
일반
Re:Dive 뉴토끼
의인화
04/28
24755
204
Re:Dive 뉴토끼
일반
의인화
04/28 24755 204
야짤
어떤 버튜버 사진들~
지나가던허접a
04/28
15832
31
어떤 버튜버 사진들~
야짤
지나가던허접a
04/28 15832 31
소리
[구매보급]서머 폴리
이름뭐하지
04/28
14130
74
[구매보급]서머 폴리
소리
이름뭐하지
04/28 14130 74
영상
리오 - Chill like that
Poznan
04/28
24648
89
리오 - Chill like that
영상
Poznan
04/28 24648 89
s/somisoft
• 143,985 subscribers여러가지 다루는 서브
Created 05/17/2025, 14:58:43
Deleted comment.
Deleted comment.
Deleted comment.