Greasy Fork is available in English.

Sheezy Image Viewer

1/8/2024, 9:16:09 PM

< Opinie na Sheezy Image Viewer

Ocena: Dobry - skrypt działa

§
Napisano: 30-03-2024

Thanks for the script, it looks very extensive!
All features work and feel very smooth and intuitive! ^^

Currently, there seems to be a bug.
I'm not sure if this is different with violentmonkey, but in line 303 you write
return document.querySelector(`${_config.ImgDOM} canvas`).getAttribute('style').match(/--src:url\('(.*?)'\)/)[1];
but the current style attribute has a space before "url(" in Firefox/Chrome.
So, I propose either adding the space or maintaining compatibility with
return document.querySelector(`${_config.ImgDOM} canvas`).getAttribute('style').match(/--src:\s?url\('(.*?)'\)/)[1];

Odpowiedz

Zaloguj się, by odpowiedzieć.