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

بۇلار بۇ قوليازمىنىڭ كود يېڭىلانغان نەشرىلىرى. بارلىق نەشرىنى كۆرسىتىش

  • v1.1 2025-06-05

    Big update!

    • Lots of refactoring and tidying up
    • Added an Autoscroll option (enabled by default - you'll like it!)
    • Fixed a bug that was messing up CSS transitions on the canvas and enabled a smooth transition effect
    • The canvas & image now resizes with the browser seamlessly
    • Set the zoom indicator to show 2 decimals
    • Made clicking the zoom indicator trigger the autoscroll functionality on-demand (even if the option is disabled)
    • Miscellaneous styling tweaks
  • v1.0.2 2025-06-02

    Fixed an issue with annotations (notes) not appearing correctly on the canvas.

  • v1.0.1 2025-06-02

    Increased the default zoom display (top-right) font size, and added a constant to the top of the script to allow users to easily modify as desired.

  • v1 2025-06-02