Open link in new tab in GitHub

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

Autor
wxupjack
Installationen heute
0
Installationen gesamt
3
Bewertungen
0 0 0
Version
0.1
Erstellt am
11.07.2025
Letzte Aktualisierung
11.07.2025
Größe
1,49 KB
Lizenz
MIT
Wird angewandt auf

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.

长期地址
遇到问题?请前往 GitHub 提 Issues。