InkBunny Smart Image Opener

Automatically open images in full size on InkBunny

Maker
Willy Fox
Dagelijks aantal installaties
0
Totaal aantal installaties
2
Beoordelingen
0 0 0
Versie
0.0.4
Gemaakt op
14-09-2024
Bijgewerkt op
14-09-2024
Grootte
1,61 KB
Licentie
MIT
Wordt toegepast op

Inkbunny.net script to open post images in a full size. It doesn't work if the post contains several pages, but it will open the full-size image if you navigate to the post page from the post itself. Writes console logs every step for debuggung.

Logic:
You open the post, if there's only one image - open it fullsized.
If there's more than 1 page - opens as default.
If you opened the page from the post - open it fullsized.

Checked on Tampermonkey with Brave browser.
Enjoy!

***

Скрипт для открытия полноразмерного файла изображения в посте на Inkbunny. Он не работает, если пост содержит несколько страниц, но он откроет полноразмерное изображение, если вы перейдете на страницу поста из самого поста. Пишет отладку каждого своего шага в консоли браузера.

Логика:
Пост открывается. Если в нём только одна картинка - открыть в полном размере.
Если в посту больше одной картинки - открыть как обычно.
Если страница поста открыта из поста - открыть в полном размере.

Проверено на Tampermonkey в браузере Brave.
Приятного просмотра!