코네 이미지 뷰어 개선 스크립트
코네 자체 이미지 뷰어에 전체화면이 없어서 간단하게 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
62438
22
AI 이미지 관련 공지 및 관련 규정 수정 공지
공지
1uF
05/02 62438 22
공지
‼️뉴비 필독 가이드‼️
1uF
05/02
93232
134
‼️뉴비 필독 가이드‼️
공지
1uF
05/02 93232 134
공지
🔔[필독] 채널 규정 & 신문고 (2026 04 05~)
SK
04/05
206954
-25
🔔[필독] 채널 규정 & 신문고 (2026 04 05~)
공지
SK
04/05 206954 -25
공지
🔔[필독] 탭 별 이용 가이드 (20260206~)
Etrick
02/05
255423
-41
🔔[필독] 탭 별 이용 가이드 (20260206~)
공지
Etrick
02/05 255423 -41
공지
[필독] 서브에 자주 올라오는 여러 가지 질문 모음 (20251026~)
SK
05/17/25
1244564
-14
[필독] 서브에 자주 올라오는 여러 가지 질문 모음 (20251026~)
공지
SK
05/17/25 1244564 -14
창작
오바와치)주노의 첫경험
simplelife
05/07
13765
18
오바와치)주노의 첫경험
창작
simplelife
05/07 13765 18
소리
【7종 극강 핥기】✅귀핧기에 열중하는 엘프 공주 ~ 끈적 · 통 통 · 귀 안쪽 깊숙히 · 귀 페라 · 위스퍼 · 고속 · 양쪽 귀 동시 · 마지막은 노콘 섹스♪~
maruran
05/07
17080
151
【7종 극강 핥기】✅귀핧기에 열중하는 엘프 공주 ~ 끈적 · 통 통 · 귀 안쪽 깊숙히 · 귀 페라 · 위스퍼 · 고속 · 양쪽 귀 동시 · 마지막은 노콘 섹스♪~
소리
maruran
05/07 17080 151
번역
[기번/임시] REC 0.5.2.1
kts
05/07
35755
126
[기번/임시] REC 0.5.2.1
번역
kts
05/07 35755 126
동인
[번역] [셀프구속/치비] [Icoicoikoi] 금기의 사슬에 구속된 이 몸이 심연에서 홀로 종언을 고하는 이야기 ~셀프구속자위를 해 봤다가 점점 쾌락의 늪에 빠져버렸다~ (트릭컬)
yjgtiihty
05/07
19011
111
[번역] [셀프구속/치비] [Icoicoikoi] 금기의 사슬에 구속된 이 몸이 심연에서 홀로 종언을 고하는 이야기 ~셀프구속자위를 해 봤다가 점점 쾌락의 늪에 빠져버렸다~ (트릭컬)
동인
yjgtiihty
05/07 19011 111
번역
[기계번역/자동번역] NTR Mobile [v0.23.0]
karuparu13
05/07
49019
77
[기계번역/자동번역] NTR Mobile [v0.23.0]
번역
karuparu13
05/07 49019 77
소리
[RJ01582349][AI 자막만]슨도메와 루인드를 5번씩 견디면 뇌가 저릿해지는 사정을 시켜주는 멘즈 에스테
creatine
05/07
10260
51
[RJ01582349][AI 자막만]슨도메와 루인드를 5번씩 견디면 뇌가 저릿해지는 사정을 시켜주는 멘즈 에스테
소리
creatine
05/07 10260 51
동인
[Monchan Rev3] 보지 대주시겠습니까?
ㅇㅇ
05/07
34426
144
[Monchan Rev3] 보지 대주시겠습니까?
동인
ㅇㅇ
05/07 34426 144
동인
구매보급) 나쁜 여기사가 귀여운 남자아이를 레〇프 해버리는 이야기
GOOD
05/07
18577
86
구매보급) 나쁜 여기사가 귀여운 남자아이를 레〇프 해버리는 이야기
동인
GOOD
05/07 18577 86
야짤
AI, 셀레스포니아) 커피숍에서 일하는 아마네
miso5
05/07
13574
127
AI, 셀레스포니아) 커피숍에서 일하는 아마네
야짤
miso5
05/07 13574 127
미번
[구매보급][번역요청]AI) No Tomorrow Rebellion
마카라이트
05/07
9251
26
[구매보급][번역요청]AI) No Tomorrow Rebellion
미번
마카라이트
05/07 9251 26
미번
[후원업뎃/미번/이종간/촉수/수간?]La Vitalis : Immortal Loss 0.47 노모
루파조아
05/07
11403
37
[후원업뎃/미번/이종간/촉수/수간?]La Vitalis : Immortal Loss 0.47 노모
미번
루파조아
05/07 11403 37
복구
RJ353573) 아이스 하트와 잭오 v1.10 [기계번역]
everywhere
05/07
22585
68
RJ353573) 아이스 하트와 잭오 v1.10 [기계번역]
복구
everywhere
05/07 22585 68
정보
님포 5월 정보
우욿
05/07
19763
21
님포 5월 정보
정보
우욿
05/07 19763 21
야짤
ai,스압)어라 저거 우리반 반장아냐?
gpsel157
05/07
12292
59
ai,스압)어라 저거 우리반 반장아냐?
야짤
gpsel157
05/07 12292 59
동인
[Orico] 가정 속 매춘 1~3
1uF
05/07
28254
87
[Orico] 가정 속 매춘 1~3
동인
1uF
05/07 28254 87
번역
[알림] 비월선행록 이미지번역 빼먹은 거 두 장 있길래 추가함
argoklarke
05/07
23517
81
[알림] 비월선행록 이미지번역 빼먹은 거 두 장 있길래 추가함
번역
argoklarke
05/07 23517 81
작업현황
소악마 스마트폰작업중
toung
05/07
4497
17
소악마 스마트폰작업중
작업현황
toung
05/07 4497 17
동인
[AI번역][Torotarou] Shoujo Fondue - Sweet Girls Sex Diary | 少女性愛日記 (decensored)
mybest
05/07
12539
53
[AI번역][Torotarou] Shoujo Fondue - Sweet Girls Sex Diary | 少女性愛日記 (decensored)
동인
mybest
05/07 12539 53
영상
[ VAM ][ 퍼리 ] 프레디 나이트 클럽 - FEXA
s99a99
05/07
25519
55
[ VAM ][ 퍼리 ] 프레디 나이트 클럽 - FEXA
영상
s99a99
05/07 25519 55
정보
NTR) 타락한 성흔 7월로 발매 연기
drogba
05/07
9037
34
NTR) 타락한 성흔 7월로 발매 연기
정보
drogba
05/07 9037 34
영상
天平キツネ V38 데니아
참새
05/07
22075
140
天平キツネ V38 데니아
영상
참새
05/07 22075 140
복구
[요청복구] RJ080939 섬격의 기어 (손번역)
이상성애
05/07
19000
62
[요청복구] RJ080939 섬격의 기어 (손번역)
복구
이상성애
05/07 19000 62
유틸
자동소미 해적판X2 1.0.4업데이트 알림
스눕제이크
05/07
6555
18
자동소미 해적판X2 1.0.4업데이트 알림
유틸
스눕제이크
05/07 6555 18
동인
[AI번역][Makosho] Mujintou de, SEX ni Kyoumi Shinshin na Dosukebe InCha Joshi-tachi to Harem Life (decensored)
mybest
05/07
27692
98
[AI번역][Makosho] Mujintou de, SEX ni Kyoumi Shinshin na Dosukebe InCha Joshi-tachi to Harem Life (decensored)
동인
mybest
05/07 27692 98
번역
[버전업 알림] 음최도시 휴프노즘 1.04 번역 적용완
saika
05/07
31629
126
[버전업 알림] 음최도시 휴프노즘 1.04 번역 적용완
번역
saika
05/07 31629 126
유틸
[★추천] 무료 망가 번역기★
mybest
05/07
27860
127
[★추천] 무료 망가 번역기★
유틸
mybest
05/07 27860 127
번역
RJ01549336 알미오시온의 의술사 퀘스트, 목적? 일부 - 미검수, 비전문가, 오역 다수
wkwlqhwltprtm
05/07
36448
105
RJ01549336 알미오시온의 의술사 퀘스트, 목적? 일부 - 미검수, 비전문가, 오역 다수
번역
wkwlqhwltprtm
05/07 36448 105
미번
[버전업] [구매보급] RJ01588884 이노센트 도터 v1.1.0
gkqisq
05/07
10083
41
[버전업] [구매보급] RJ01588884 이노센트 도터 v1.1.0
미번
gkqisq
05/07 10083 41
미번
구매 보급/번역요청)RJ336598 로스트 메모리 사가 1.3.5 ,【夢幻の迷宮】2번 그리고 덤
ldg398224
05/07
13110
45
구매 보급/번역요청)RJ336598 로스트 메모리 사가 1.3.5 ,【夢幻の迷宮】2번 그리고 덤
미번
ldg398224
05/07 13110 45
동인
[take_shinshi] 속아넘어가기 쉬운 내 아내는…
agnet666
05/07
27019
53
[take_shinshi] 속아넘어가기 쉬운 내 아내는…
동인
agnet666
05/07 27019 53
s/somisoft
• 143,985 subscribers여러가지 다루는 서브
Created 05/17/2025, 14:58:43
Deleted comment.
Deleted comment.
Deleted comment.