Linkify

Convert plain text URLs and emails into clickable links

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

Autor
Baarometh
Denně instalací
0
Celkem instalací
4
Hodnocení
0 0 0
Verze
2025.10.15.1
Vytvořeno
14. 10. 2025
Aktualizováno
16. 10. 2025
Size
7,5 KB
Kompatibilita
Kompatibilní s Firefox Kompatibilní s Chrome Kompatibilní s Opera Kompatibilní s Safari Kompatibilní s Edge
Licence
MIT
Spustit na
všech stránkách

Linkify

Linkify detecta URLs y correos en texto plano y los convierte en enlaces clicables y seguros en cualquier página. Respeta el contenido ya enlazado, no toca código ni formularios y funciona también en contenido cargado dinámicamente.

Características clave

  • Convierte http, https, ftp, www y correos a <a> reales
  • Normaliza www. y dominios sin protocolo; correos → mailto:
  • Evita etiquetas sensibles: A, SCRIPT, STYLE, CODE, PRE, formularios y áreas editables
  • No usa innerHTML; construye nodos de forma segura
  • Observa cambios con MutationObserver y recorre texto con TreeWalker
  • Añade target="_blank" y rel="noopener noreferrer nofollow ugc"
  • Solo en la ventana principal para reducir coste y efectos laterales
  • Compatible con Chrome, Firefox, Edge, Opera y Safari
  • Sin dependencias, sin llamadas externas, sin rastreo

Uso típico

  • Chats, foros, wikis y paneles internos que muestran texto plano
  • Emails renderizados en web donde se necesitan enlaces rápidos

Notas

  • Patrón robusto para casos comunes. No pretende validar todos los RFC al detalle.
  • Ajustable: puedes modificar el patrón y los atributos del enlace según tu política.