为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How can I get GoogleMail to open in a new tab when it is set as the mail application and I click on a MailTo link?

  • 3 个回答
  • 12 人有此问题
  • 14 次查看
  • 最后回复者为 arne.b

more options

I have a webpage that has a mailto anchor tag. If in Firefox I have GoogleMail set up as my mailto application, how can I get GoogleMail to open in a new tab when I click on my link? I have tried setting the target to "_blank" but this has not worked....

At the moment GoogleMail opens in the current tab, which is not ideal...

Any help appreciated!

I have a webpage that has a mailto anchor tag. If in Firefox I have GoogleMail set up as my mailto application, how can I get GoogleMail to open in a new tab when I click on my link? I have tried setting the target to "_blank" but this has not worked.... At the moment GoogleMail opens in the current tab, which is not ideal... Any help appreciated!

所有回复 (3)

more options

Try ctrl+left click.

more options

Many Thanks for the suggestion. It does work as a work-around but doesn't really solve the problem.

I was looking for something that would happen automatically, rather than for the user to have to remember to ctrl+left click. I would have thought that setting the target to "_blank" would have been a realistic option as that is how all other tab / windows would work so was wondering if there is an equivalent of "_blank" for Firefox to open a webmail in another tab (something like "_mail" for instance)....

more options

I have the same problem. Writing an email is a completely different thing from browsing the web and often you will need information from the website that includes the "mailto:"-link to write the mail. Thus opening the mail client in the same window really is not an example of ergonomic GUI design.

Manual workarounds will not work as nowadays often mailto-links are scrambled in a javascript to prevent spam. The new tab/window will then show the javascript command in the address bar, which will, of course, fail to function.

Opening Gmail in a new window or new tab by standard when using it as the default mailto-client in Firefox would be most welcome.

BTW this is how it works Chrome by standard, too. And I actually do not want to switch back just because of the handling of mailto-links. But it is too annoying on the long run.