TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Chrome Now Officially Lets You Open All Email Links In Gmail

82 点作者 dotpot大约 13 年前

14 条评论

driverdan大约 13 年前
For those interested the API it's using is navigator.registerProtocolHandler.<p><a href="http://www.w3.org/TR/html5/timers.html#custom-handlers" rel="nofollow">http://www.w3.org/TR/html5/timers.html#custom-handlers</a><p><a href="http://updates.html5rocks.com/2011/06/Registering-a-custom-protocol-handler" rel="nofollow">http://updates.html5rocks.com/2011/06/Registering-a-custom-p...</a>
dchest大约 13 年前
This is an odd wording: "Allow ... [No] [Use Gmail]". This may confuse people who will think that in order to use Gmail, you have to click this button.<p>Oh, I should submit a bug report instead of posting here.
评论 #3648322 未加载
评论 #3649099 未加载
zalew大约 13 年前
in FF you just go to preferences <a href="http://i.imgur.com/Nf6hK.png" rel="nofollow">http://i.imgur.com/Nf6hK.png</a>
评论 #3648627 未加载
tbassetto大约 13 年前
And if you want to open mailto links in Gmail with Firefox (and Opera I guess): <a href="http://updates.html5rocks.com/2012/02/Getting-Gmail-to-handle-all-mailto-links-with-registerProtocolHandler" rel="nofollow">http://updates.html5rocks.com/2012/02/Getting-Gmail-to-handl...</a>
mike-cardwell大约 13 年前
On the front page of my website where I display a mailto link, I also have GMail and Yahoo specific compose links:<p>"Email: mymailtolink (Compose with GMail/Yahoo)"<p><a href="https://grepular.com/" rel="nofollow">https://grepular.com/</a><p>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:<p><a href="https://grepular.com/Abusing_HTTP_Status_Codes_to_Expose_Private_Information" rel="nofollow">https://grepular.com/Abusing_HTTP_Status_Codes_to_Expose_Pri...</a>
评论 #3648117 未加载
joejohnson大约 13 年前
Google finally incorporates another obvious feature, obviating the need for a silly chrome add-on. Yay.
pragmatic大约 13 年前
Edit: Mea Culpa. I see this is for desktop links.<p>I clicked the help last night when this popped up and must have read it incorrectly.<p>However, this can still cause problems if you have 2 email clients, say Outlook for my corporate mail and gmail for my personal mail.<p>IT departments are going to love this.
评论 #3648250 未加载
评论 #3648249 未加载
marcusf大约 13 年前
A complete aside, but the pushState/client side rendering implementation on the blog surprised and confused me massively. It seems like the wrong tool for a blog.
评论 #3648381 未加载
lucb1e大约 13 年前
It took them a while to build that in. So secure and fast, but something as basic as this (which the competition got since day one) has no priority apparently.
评论 #3649512 未加载
MatthewPhillips大约 13 年前
What other protocols can developers use this new method with?
评论 #3648080 未加载
评论 #3648941 未加载
评论 #3649757 未加载
kevinherron大约 13 年前
When I tried this out yesterday with a pinned gmail tab clicking the email link opened up a <i>new</i> tab and loaded gmail :(
评论 #3648074 未加载
Metapony大约 13 年前
Creepy.
BenoitEssiambre大约 13 年前
finally
angelortega大约 13 年前
This really great!