3 ms·
On the front page of my website where I display a mailto link, I also have GMail and Yahoo specific compose links: "Email: mymailtolink (Compose with GMail/Yah
by mike-cardwell 15y ago
On the front page of my website where I display a mailto link, I also have GMail and Yahoo specific compose links:
"Email: mymailtolink (Compose with GMail/Yahoo)"
https://grepular.com/ https://grepular.com/
I wrote some JavaScript code a while back which would automatically detect if a visitor was logged in to GMail, and would replace all mailto links on my page with GMail compose links instead. I never put it live on my site though as the process of detecting if a user is logged in to gmail is pretty dodgy. In case you're interested in the code, or the detection process:
https://grepular.com/Abusing_HTTP_Status_Codes_to_Expose_Private_Information https://grepular.com/Abusing_HTTP_Status_Codes_to_Expose_Pri...
- zalew 15y agoInteresting experiment, but I don't think webdevs should interfere with what client should be run by the user to send the email. Mailto: works just fine, and it's up to the user to set up the client for mailto.