Imaglr Scale Content to Screen

Scale videos and images on Imaglr to fit on one screen

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

Δημιουργός
ceodoe
Ημερήσιες εγκαταστάσεις
0
Σύνολο εγκαταστάσεων
5
Βαθμολογίες
0 0 0
Έκδοση
1.3
Δημιουργήθηκε την
25/01/2026
Ενημερώθηκε την
26/01/2026
Μέγεθος
2 KB
Άδεια
Public Domain
Εφαρμόζεται σε

Scales down images on Imaglr so that they occupy a maximum of 90% of the height of the screen. This avoids having to scroll to see entire images, especially helpful if you use scaling on higher-DPI displays.

This was originally "written" by ChatGPT (after a gorillion attempts and iterations) since I didn't want to spend time figuring out Imaglr's layout (which uses a framework with a kajillion CSS rules). It works for now, but if Imaglr change their site layout, it may bork in the future.

I've since modified it some because even after many iterations, LLMs are gonna LLM and make stupid mistakes all the time.