Danbooru Smart Canvas

Creates an adaptive canvas to enable zoom & pan for images on Danbooru (when viewing original) using scroll & drag, and click to set zoom to 1x/reset zoom

이 스크립트를 설치하려면 Tampermonkey, Greasemonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Userscripts와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 유저 스크립트 관리자 확장 프로그램이 필요합니다.

(이미 유저 스크립트 관리자가 설치되어 있습니다. 설치를 진행합니다!)

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

(이미 유저 스타일 관리자가 설치되어 있습니다. 설치를 진행합니다!)

작성자
Broodyr
일일 설치 수
1
총 설치 수
6
평점
0 0 0
버전
1.1
생성일
2025-06-02
갱신일
2025-06-05
크기
21.6KB
라이선스
MIT
적용 사이트

Enhance your image viewing experience on Danbooru! This script allows you to zoom and pan with your mouse when viewing a full-size image post. It sets the image within a canvas based on your browser size, maximizing the usage of screen space, and automatically scrolls it fully into view. The image will initially be scaled down to fill the canvas (if image is larger), or shown at original size (if image is smaller).

How to Use:

  • Zoom: Use your mouse scroll wheel to zoom in and out of the image (up to 3x zoom)
  • Pan: When zoomed in, click and drag the image to pan around
  • 1x Zoom/Reset:
    • Click the image once to set the zoom level to 100% (1x)
    • If already at 1x zoom, click again to reset the image to fit within the canvas
  • Scroll-to-canvas: Clicking on the zoom indicator (top right of canvas) will scroll the canvas perfectly into view

Settings:

These can be configured from your userscript manager's menu.

[Default] Setting: Description

  • [Enabled] Panning: Allows panning the image. If you prefer to keep the default image dragging behavior at all zoom levels, you can disable this. Note that the image is always draggable at the initial zoom level, regardless of this setting
  • [Enabled] Autoscrolling: Automatically scrolls to the canvas on canvas creation