Sheezy Image Viewer

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

< Feedback em Sheezy Image Viewer

Avaliação: Bom - o script funciona

§
Publicado: 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];

Publicar resposta

Faça o login para publicar uma resposta.