코네 이미지 뷰어 개선 스크립트
코네 자체 이미지 뷰어에 전체화면이 없어서 간단하게 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
61828
22
AI 이미지 관련 공지 및 관련 규정 수정 공지
공지
1uF
05/02 61828 22
공지
‼️뉴비 필독 가이드‼️
1uF
05/02
92592
134
‼️뉴비 필독 가이드‼️
공지
1uF
05/02 92592 134
공지
🔔[필독] 채널 규정 & 신문고 (2026 04 05~)
SK
04/05
206626
-25
🔔[필독] 채널 규정 & 신문고 (2026 04 05~)
공지
SK
04/05 206626 -25
공지
🔔[필독] 탭 별 이용 가이드 (20260206~)
Etrick
02/05
254985
-41
🔔[필독] 탭 별 이용 가이드 (20260206~)
공지
Etrick
02/05 254985 -41
공지
[필독] 서브에 자주 올라오는 여러 가지 질문 모음 (20251026~)
SK
05/17/25
1244512
-14
[필독] 서브에 자주 올라오는 여러 가지 질문 모음 (20251026~)
공지
SK
05/17/25 1244512 -14
미번
RJ364579 이종 간 임신 실험 공주-침략 된 망국의 공주님의 잔인한 이야기
monrang
05/25
12410
34
RJ364579 이종 간 임신 실험 공주-침략 된 망국의 공주님의 잔인한 이야기
미번
monrang
05/25 12410 34
동인
[Ojou] 침략계 여친 1, 2
1uF
05/25
25130
151
[Ojou] 침략계 여친 1, 2
동인
1uF
05/25 25130 151
미번
[구매보급,번역요청,바킨툴] RJ01634909 NTR룸~구해내지 않으면 뺏기는 방~
륄트
05/25
10708
38
[구매보급,번역요청,바킨툴] RJ01634909 NTR룸~구해내지 않으면 뺏기는 방~
미번
륄트
05/25 10708 38
동인
[Seto Ryouko] 첫사랑
1uF
05/25
14285
112
[Seto Ryouko] 첫사랑
동인
1uF
05/25 14285 112
영상
프로미아 & 와이즈 6단지 야외 플레이
브레머튼
05/25
16146
89
프로미아 & 와이즈 6단지 야외 플레이
영상
브레머튼
05/25 16146 89
동인
(료나) 세이카&PA씨
나나세마루
05/25
9194
31
(료나) 세이카&PA씨
동인
나나세마루
05/25 9194 31
번역
마나카 모드 번역
ㅇㅇ
05/25
26715
60
마나카 모드 번역
번역
ㅇㅇ
05/25 26715 60
미번
[구매보급] Umemaro3D 모음집
cassett
05/25
10640
72
[구매보급] Umemaro3D 모음집
미번
cassett
05/25 10640 72
동인
[직번] [Tanaka no Miso] 젖소를 기르는 방법 미나츠 완벽이해 총집편
maha1004
05/25
12295
65
[직번] [Tanaka no Miso] 젖소를 기르는 방법 미나츠 완벽이해 총집편
동인
maha1004
05/25 12295 65
동인
구매보급) 【한국어판】 아싸 주제에 젖꼭지 자극으로 절정하는 건 건방지잖아~!!
GOOD
05/25
15372
69
구매보급) 【한국어판】 아싸 주제에 젖꼭지 자극으로 절정하는 건 건방지잖아~!!
동인
GOOD
05/25 15372 69
동인
청아) [ろるり] 조작당하는 아줌마 귀여워
kbyxw79376
05/25
23975
82
청아) [ろるり] 조작당하는 아줌마 귀여워
동인
kbyxw79376
05/25 23975 82
동인
젖통삽입 단짝친구
pofox
05/25
21061
123
젖통삽입 단짝친구
동인
pofox
05/25 21061 123
동인
doji ro)처녀가 동정과의 첫 체험에서 눈을 뜨는 이야기 4
woo15
05/25
9461
23
doji ro)처녀가 동정과의 첫 체험에서 눈을 뜨는 이야기 4
동인
woo15
05/25 9461 23
소리
[구매보급]무지한 운동부 선배를 으스대며 조교해서 임신시킨 이야기
이름뭐하지
05/25
5563
44
[구매보급]무지한 운동부 선배를 으스대며 조교해서 임신시킨 이야기
소리
이름뭐하지
05/25 5563 44
후기 및 공략
욕망의 여신 이리나 시작부터 쉽지 않네
마사지
05/25
8589
28
욕망의 여신 이리나 시작부터 쉽지 않네
후기 및 공략
마사지
05/25 8589 28
창작
94. AI, 셀레스포니아, 식질) 셀레스포니아 인터뷰, 악수회
miso5
05/25
7871
96
94. AI, 셀레스포니아, 식질) 셀레스포니아 인터뷰, 악수회
창작
miso5
05/25 7871 96
동인
[ai번역][Usagi Nagomu] 황혼의 창 엘프 총집편 엠마편 1 [P.127]
mybest
05/25
9957
57
[ai번역][Usagi Nagomu] 황혼의 창 엘프 총집편 엠마편 1 [P.127]
동인
mybest
05/25 9957 57
야짤
(후타) 딸치다 걸린 미쿠
duckuu12
05/25
9713
26
(후타) 딸치다 걸린 미쿠
야짤
duckuu12
05/25 9713 26
정보
노모 동인지나 상업지 구하는곳
mybest
05/25
8761
40
노모 동인지나 상업지 구하는곳
정보
mybest
05/25 8761 40
후기 및 공략
내 비참한 인생 후기
15238603208
05/25
7242
34
내 비참한 인생 후기
후기 및 공략
15238603208
05/25 7242 34
동인
AI번역 손식질) 직장근처에서 만난 알바(41)와 여행을 갔더니 애정어린 연인같은 섹스에서 성욕이 드러난 본능을 마음껏 이틀동안 폭풍섹스했던 이야기
1Q2W3E4R
05/25
15385
95
AI번역 손식질) 직장근처에서 만난 알바(41)와 여행을 갔더니 애정어린 연인같은 섹스에서 성욕이 드러난 본능을 마음껏 이틀동안 폭풍섹스했던 이야기
동인
1Q2W3E4R
05/25 15385 95
영상
[후타][퍼리][귀박주의] ear fuck 영상 모음
roomonfire
05/25
20955
78
[후타][퍼리][귀박주의] ear fuck 영상 모음
영상
roomonfire
05/25 20955 78
복구
[요청복구] 렌파이 NewHorizon-0.4-pc
65410
05/25
11504
47
[요청복구] 렌파이 NewHorizon-0.4-pc
복구
65410
05/25 11504 47
동인
직번) ※보추주의 [Brother Pierrot] 갸루 낭자애 수사관과 자지 쥠초밥
qlalfsla
05/25
14878
39
직번) ※보추주의 [Brother Pierrot] 갸루 낭자애 수사관과 자지 쥠초밥
동인
qlalfsla
05/25 14878 39
정보
여름 전에 나오는 갓겜
aemeath
05/25
10175
52
여름 전에 나오는 갓겜
정보
aemeath
05/25 10175 52
미번
[미번/이종간/촉수] 태양의 기사 에리카 0.1.9.1 핫픽스버전 (치트판)
루파조아
05/25
13704
71
[미번/이종간/촉수] 태양의 기사 에리카 0.1.9.1 핫픽스버전 (치트판)
미번
루파조아
05/25 13704 71
영상
mmd - 비스크돌 코스프레 실루엣 야스댄스 - Thumbs Up
madrush
05/25
32113
260
mmd - 비스크돌 코스프레 실루엣 야스댄스 - Thumbs Up
영상
madrush
05/25 32113 260
복구
[요청 복구]For the queen
오우즉시반말
05/25
20633
64
[요청 복구]For the queen
복구
오우즉시반말
05/25 20633 64
복구
[요청복구] 장탈기사 님포리아 v1.07
zadvoskoi
05/25
11911
33
[요청복구] 장탈기사 님포리아 v1.07
복구
zadvoskoi
05/25 11911 33
정보
35살 처녀 마법사 속편근황
sorbe123
05/25
6255
16
35살 처녀 마법사 속편근황
정보
sorbe123
05/25 6255 16
s/somisoft
• 143,985 subscribers여러가지 다루는 서브
Created 05/17/2025, 14:58:43
Deleted comment.
Deleted comment.
Deleted comment.