This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

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.

Learn More

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

  • 3 پاسخ
  • 3 have this problem
  • 7 views
  • آخرین پاسخ توسّط 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?

Chosen solution

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:

example@example.com

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...

Read this answer in context 👍 0

All Replies (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

Chosen Solution

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:

example@example.com

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...

Modified by jscher2000 - Support Volunteer

more options

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