Greasy Fork is available in English.

Linkify

Convert plain text URLs and emails into clickable links

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

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

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

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

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

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

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.

(I already have a user style manager, let me install it!)

Autor
Baarometh
Installationen heute
0
Installationen gesamt
4
Bewertungen
0 0 0
Version
2025.10.15.1
Erstellt am
14.10.2025
Letzte Aktualisierung
16.10.2025
Größe
7,51 KB
Kompatibilität
Kompatibel mit Firefox Kompatibel mit Chrome Kompatibel mit Opera Kompatibel mit Safari Kompatibel mit Edge
Lizenz
MIT
Wird angewandt auf
Alle Seiten

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.