We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is your feature request related to a problem? Please describe.
I need an option to download the href link that the image points to (the full size image) without downloading the image itself that is displayed.
<a href="https://example.com/c3ef05d58.png?type=orig" target="_blank"> <img src="//example.com/c3ef05d58.png" width="832" height="1216" loading="lazy"> </a>
For example, instead of downloading the src link of an img tag surrounded by an a-tag, I want the option to download the href link of the a-tag.
Describe the solution you'd like
It should only work if the 'img-tag src' has the same extension (.PNG) as the 'a-tag href' except for the query part (?type=orig).
<a href="https://example.com/wall/136865783?u=5b4faa1d-6e74-11ef-8dea-a2a958ef638c" target="_blank"> <img src="/static/assets/images/point-pc-x2.png"> </a>
In this case, SingleFile needs to download img-tag src because the extension of 'a-tag href' is not .PNG.
img-tag src
Describe alternatives you've considered (optional)
Additional context (optional)
The text was updated successfully, but these errors were encountered:
This issue illustrates well what I am describing here #1595. However, in this particular case, this could be solved by integrating a userscript which would replace the src attribute values before saving the page, see here for more info: https://github.com/gildas-lormeau/SingleFile/wiki/How-to-execute-a-user-script-before-a-page-is-saved
src
Sorry, something went wrong.
No branches or pull requests
Is your feature request related to a problem? Please describe.
I need an option to download the href link that the image points to (the full size image) without downloading the image itself that is displayed.
For example, instead of downloading the src link of an img tag surrounded by an a-tag, I want the option to download the href link of the a-tag.
Describe the solution you'd like
It should only work if the 'img-tag src' has the same extension (.PNG) as the 'a-tag href' except for the query part (?type=orig).
In this case, SingleFile needs to download
img-tag src
because the extension of 'a-tag href' is not .PNG.Describe alternatives you've considered (optional)
Additional context (optional)
The text was updated successfully, but these errors were encountered: