O
O
other_letter2021-10-26 11:34:39
Google Chrome
other_letter, 2021-10-26 11:34:39

How to make mailto: links look like plain text?

I want mailto addresses to be treated as plain text.
Usually I use Win + Chrome, but I would not like to become attached, except perhaps to the OS.

How to make these links be inserted into various handlers, I can google, but how NOT to be processed?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
Yan, 2021-10-29
@other_letter

Install extension
https://chrome.google.com/webstore/detail/no-mailt...

I
Ilya Pavlyukov, 2021-10-26
@ilya310300

To stop the default behavior when a link is clicked, you need to catch the click event and call its method to cancel the default action:

function onClick(e) { 
    e.preventDefault(); 
}

ref: https://developer.mozilla.org/ru/docs/Web/API/Even...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question