-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Request: removeHttpPrefix to remove https (also to work with srcset attribute) #43
Comments
But then you will have problems with links, if you're currently using "http", so all links also will use "http", please test what you are doing :) PS: I added "doRemoveHttpsPrefixFromAttributes()"
changes are available in version 4.1.0 |
Thank you. Slightly related question: So perhaps an option should be made available - so as to be able to clear (either) schema from page resources without altering href/external links. Just a thought. Not relevant to my use-case. I can manage with the above change. Also, would you consider an option similar to |
@abuyoyo I like your idea, maybe you can create a pull request for this change? |
What is this feature about (expected vs actual behaviour)?
Allow removing of
https:
as well ashttp:
prefixes.I believe this should be done by the existing function. A single function that removes both schemes is optimal IMO.
Also remove prefix from
srcset
attribute as well assrc
attribute.This is technically a separate issue but it's all to do with the same hunk of code.
Does it take minutes, hours or days to fix?
It takes a few seconds to fix.
The text was updated successfully, but these errors were encountered: