Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter Out from URL #115

Open
aseguramcgrew opened this issue Sep 13, 2023 · 0 comments
Open

Filter Out from URL #115

aseguramcgrew opened this issue Sep 13, 2023 · 0 comments

Comments

@aseguramcgrew
Copy link

Describe the feature

I use this extension pretty regularly. One issue (for me) I keep running into is when I use the extension, it opens the image with the "?q=75&fit=clip&auto=format" after the image extension. This means, I have to use the extension to open each image in a separate window and manually delete the "?q=75&fit=clip&auto=format" at the end of each link. If the page is updated with 200+ images, it requires me to open 200+ pages, delete the extra code, and then reload the page without those additional attributes.

Is there a way to get this extension to automatically remove anything after the image extension? That would make using the select all and download feature much easier when a website uses these additional lines of code to alter the image.

If you look at the examples below, you'll be able to see that if you just remove the "?q=75&fit=clip&auto=format" at the end of each link, it will load the full resolution copy of the picture you're trying to save.

URL

Main Page: https://www.beyonce.com/
Images (Before Removing Attributes):
https://cdn.sanity.io/images/fvrrd1kn/production/9d30671480ea552daa7daecb7bc78d0472a97f88-1691x2172.jpg?q=75&fit=clip&auto=format
https://cdn.sanity.io/images/fvrrd1kn/production/3feedb1baafb7c61be02a2a66d72adf10e5beef3-3000x4500.jpg?q=75&fit=clip&auto=format

Images (After Removing Attributes):
https://cdn.sanity.io/images/fvrrd1kn/production/9d30671480ea552daa7daecb7bc78d0472a97f88-1691x2172.jpg
https://cdn.sanity.io/images/fvrrd1kn/production/3feedb1baafb7c61be02a2a66d72adf10e5beef3-3000x4500.jpg

Screenshots

If applicable, add screenshots to help explain your idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant