mailto 链接在 Chrome Gmail 中被阻止为不安全内容 [英] mailto link is blocked as insecure content in Chrome Gmail

查看:53
本文介绍了mailto 链接在 Chrome Gmail 中被阻止为不安全内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在发送到 mailto:blahblah 的加密 HTML 电子邮件中有一个链接,但它在 Chrome Gmail 中被阻止.我能做些什么吗?

I've got a link in an encrypted HTML email that goes to mailto:blahblah, but it's being blocked in Chrome Gmail. Anything I can do about this?

例子:

1) 我在 加密 GMail 网络客户端 (https://gmail.com - 注意 https 中的 s.

1) I open an encrypted HTML email message inside of my encrypted GMail web client (https://gmail.com - notice the s in https).

2) 电子邮件包含以下格式的链接:<a href="mailto:user@example.com">向用户发送电子邮件.</a>

2) The email contains a link in the folloiwng format: <a href="mailto:user@example.com">Email the user.</a>

3) 我点击了该链接,但它被阻止了,因为 GMail 和/或 Chrome 将 mailto 链接视为不安全的内容.

3) I click on the link, but it is blocked because GMail and/or Chrome is treating the mailto link as insecure content.

4) 我将 target="_blank" 添加到上述链接中,问题就消失了.

4) I add target="_blank" to the aforementioned link and the problem goes away.

消息的其余部分显示并正常运行,因为消息我的电子邮件客户端都在使用加密.唯一不起作用的是 mailto 链接.

The rest of the message displays and functions correctly because, again, both the message and my email client are using encryption. The only thing that does not work is the mailto link.

额外问题:mailto 链接如何根据 HTTP 和 HTTPS 等协议进行分类?W3C 文档的链接会很有帮助.

Bonus question: how are mailto links classified with regard to protocols such as HTTP and HTTPS? Links to a W3C document would be helpful.

推荐答案

从这里:mailto 链接在框架 chrome 中不起作用(通过 https)

建议使用 target="_top" 而不是 target="_blank".

The suggestion is to use target="_top" instead of target="_blank".

这篇关于mailto 链接在 Chrome Gmail 中被阻止为不安全内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆