Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

On a webpage, how do you change a text based email address to an URL link?

  • 3 件の返信
  • 3 人がこの問題に困っています
  • 7 回表示
  • 最後の返信者: tbutts

more options

I use to have an add-on that would take email addresses displayed as text in webpages display them as URL link. When I would click the URL link, it would open a new email message. What is the name of this add-on or how do I get this feature working in my browser again?

I use to have an add-on that would take email addresses displayed as text in webpages display them as URL link. When I would click the URL link, it would open a new email message. What is the name of this add-on or how do I get this feature working in my browser again?

選ばれた解決策

I don't recall using one, but I have heard about add-ons that "linkify" any URL in the page so it is clickable. Maybe they would also "linkify" an email address?

As a workaround, you could use bookmarklet. That's a script which you save as a bookmark so you can click the bookmark when you want to run it. Here's how:

(1) Select and copy the following script (it's actually one long line):

javascript:var eml=window.getSelection(); window.location.href="mailto:"+eml; void 0;

(2) Right-click a convenient location on your Bookmarks Toolbar or Bookmarks Menu and choose New Bookmark.

(3) Paste the script into the Location field. Then in the name field, you can type mailto or any name you like.

(4) Click the Add button

Here's an example for testing. Select the email address using the mouse:

[email protected]

Then click the bookmark. Success?

By the way, this script doesn't check that what you selected is a valid email, or remove excess spaces on either end, so it definitely could be improved...

この回答をすべて読む 👍 0

すべての返信 (3)

more options

First I would recommend changing the mailto setting in the Application section of the Firefox Options to the desired email.

You can also look at the network.protocol-handler.external.mailto prefs on the about:config page.

If network.protocol-handler.external.mailto prefs are user set (bold) then right-click and Reset them to the default value.


I am sorry but I could not find an add on that converts emails into mailto links of webpages.

more options

選ばれた解決策

I don't recall using one, but I have heard about add-ons that "linkify" any URL in the page so it is clickable. Maybe they would also "linkify" an email address?

As a workaround, you could use bookmarklet. That's a script which you save as a bookmark so you can click the bookmark when you want to run it. Here's how:

(1) Select and copy the following script (it's actually one long line):

javascript:var eml=window.getSelection(); window.location.href="mailto:"+eml; void 0;

(2) Right-click a convenient location on your Bookmarks Toolbar or Bookmarks Menu and choose New Bookmark.

(3) Paste the script into the Location field. Then in the name field, you can type mailto or any name you like.

(4) Click the Add button

Here's an example for testing. Select the email address using the mouse:

[email protected]

Then click the bookmark. Success?

By the way, this script doesn't check that what you selected is a valid email, or remove excess spaces on either end, so it definitely could be improved...

この投稿は jscher2000 - Support Volunteer により に変更されました

more options

The add-on is Linkification. Thank you for your help.