Sheezy Image Viewer

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

< Sheezy Image Viewerについてのフィードバック

レート:良 – スクリプトは良好に動作する

§
投稿日: 2024/03/30

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];

返信を投稿

返信を投稿するにはログインしてください。