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