Owyn / HandyImage

browser userscript (extension) which Shows just fullsize Image with hotkeys & without pop-ups on many image-hosting sites
https://greasyfork.org/scripts/109-handy-image
272 stars 58 forks source link

[BUG\REQUEST] support for a website: VSCO #536

Closed ryancom16 closed 1 year ago

ryancom16 commented 1 year ago

Thanks for the quick update! Just a couple of things I noticed -

  1. @match is too specific https://github.com/Owyn/HandyImage/blob/625906f7e95b59e1e1ef48119c0fac701e0e8eeb/HandyImage.user.js#L899

@match https://vsco.co/uumutcaan/media/ Should be updated to: @match https://vsco.co//media/* to match all users.

  1. With the change above working, handyimage still loads the reduced size image.

Take for instance this url https://vsco.co/erinjimerson/media/63056c17f801bc770d9c9689

The image loaded is https://im.vsco.co/aws-us-west-2/cd2696/112238337/63056c17f801bc770d9c9689/vsco_082322.jpg?w=1200 Which redirects to https://image-aws-us-west-2.vsco.co/cd2696/112238337/63056c17f801bc770d9c9689/1200x800/vsco_082322.jpg

Ideally, it would remove the url parameters "?w=" https://im.vsco.co/aws-us-west-2/cd2696/112238337/63056c17f801bc770d9c9689/vsco_082322.jpg Which resolves to https://image-aws-us-west-2.vsco.co/cd2696/112238337/63056c17f801bc770d9c9689/vsco_082322.jpg

Thank you!

Owyn commented 1 year ago

uumutcaan

right 😆 fixed now.

reduced size

I'll try fixing it

ryancom16 commented 1 year ago

Thank you, the full size is working perfectly now.