-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
Cloak e-mail #3886
Comments
Proposal: this should have fallback option (html+css) in case js in turned off (or fails to load for some reason). Something like this: https://stackoverflow.com/questions/21421948/protect-e-mail-address-with-css-only |
Another option is to use an inline base64 data encoded image, if it doesn't have to be linked. |
Email address should be readable by people with disables. |
I've started working on this feature. I'm done with the html+css variant but it is quite limited, text not selectable, no link and I assume not readable in a screen reader. I think I'll be done with a js variant the next couple of days. |
@dzwiedziu-nkg I've submitted a PR for this. Let me know if you think the obfuscation is to simplistic. |
This issue has been automatically marked as stale because it has not had recent activity. The resources of the Hugo team are limited, and so we are asking for your help. |
This would still be a useful feature. What about integrating the pull request #3935? |
This issue has been automatically marked as stale because it has not had recent activity. The resources of the Hugo team are limited, and so we are asking for your help. |
I still think this would be very useful :-) |
This issue has been automatically marked as stale because it has not had recent activity. The resources of the Hugo team are limited, and so we are asking for your help. |
Still useful IMHO. Suggesting integration of PR #3935. |
This issue has been automatically marked as stale because it has not had recent activity. The resources of the Hugo team are limited, and so we are asking for your help. |
Still a good way to minimize spam on a Hugo site. |
Just published the This can be closed as far as I'm concerned. |
@martignoni Thank you. You inspired me to a theme components section to the Awesome Hugo List: https://github.com/budparr/awesome-hugo |
This issue has been automatically marked as stale because it has not had recent activity. The resources of the Hugo team are limited, and so we are asking for your help. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Feature request: cloak email.
Take an email address like example@mail.com. If that was to appear on one of your posts/pages, it could easily be ‘scraped’ or ‘harvested’ automatically to add that email address to a spam list of some sort. Cloaking is all about making that harder to do.
Joomla!, WordPress and other popular CMS provides feature named "cloak email". It cause replace any
<a href="mailto:example@mail.com">mailto:example@mail.com</a>
to uglified JavaScript which generate original mailto link after webpage was loaded in browser.Proposal: implement build-in shortcode for it. It must be implemented in Go because uglify function is should not be trivial.
The text was updated successfully, but these errors were encountered: