Open link in new tab in GitHub

Ensures all <a> tags on GitHub Pages open in a new tab

Autor
wxupjack
Instalaciones diarias
0
Instalaciones totales
1
Calificaciones
0 0 0
Versión
0.1
Creado
11/7/2025
Actualizado
11/7/2025
Tamaño
1,49 KB
Licencia
MIT
Funciona en

Open link in new tab in GitHub

GitHub defaults to opening new pages in the current tab. By modifying the target attribute of the <a> tag, this script can force new pages to open in a new tab. However, for some special links, such as issue redirects, they will still open in the current tab.