-
Notifications
You must be signed in to change notification settings - Fork 51
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
Add tests for awesome mailto: links #16
Comments
@fulldecent this tool: |
Nice, that tool works great. |
@fulldecent just to clarify, it's not a PR to public html-proofer repository, it's going to be a private extension? |
Yes, this is correct. We will follow the process here https://github.com/gjtorikian/html-proofer#custom-tests I do not think html-proofer is interested to include that extension in its normal product. We can do that work here https://github.com/fulldecent/html-proofer-mailto-awesome I suppose that you can set it up as a gem project. Then I will publish the gem to ruby gems. Then we will import it to https://github.com/fulldecent/lightning-sites in the |
Added PR with extension: fulldecent/html-proofer-mailto_awesome#1 |
I think the extension can be done more modularly. I have asked for help at gjtorikian/html-proofer#415 |
Please use this approach: https://github.com/gjtorikian/html-proofer#custom-tests |
This is have it's done now. |
This should not be a fork. Here is the repository for this module: https://github.com/fulldecent/html-proofer-mailto-awesome We just want a simple class using the example in https://github.com/gjtorikian/html-proofer#custom-tests Then I can publish as a gem. Then we can pull this gem from lightning-sites and call that custom class when we call html-proofer using Ruby. |
I pushed mailto-awesome class and gemspec into https://github.com/fulldecent/html-proofer-mailto-awesome |
This looks good so far. Please update this file I started: https://github.com/fulldecent/html-proofer-mailto-awesome |
OK, the https://github.com/fulldecent/html-proofer-mailto_awesome project is now published to ruby gems at https://rubygems.org/gems/html-proofer-mailto_awesome Please use this gem from https://github.com/fulldecent/lightning-sites |
Ready to use html-proofer-mailto_awesome from lightning-sites |
I updated mailto_awesom, so it can be run optionaly: added option check_mailto_awesome |
Fixed in fa757fe |
Discussion
This is a not-awesome mailto link:
This is an awesome link:
We should use awesome links as psychological warfare against users. Users will send us emails with stupid or annoying emails that we don't want. So instead we prefill the email with the message we want to receive. It takes active cognitive effort for the user to put in their unwanted message.
You can make these with a tool like:
Actually that link does not work with /n, please recommend a better tool.
Also see http://stackoverflow.com/a/41365892/300224
Work plan
The text was updated successfully, but these errors were encountered: