Open link in new tab in GitHub

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

Autor
wxupjack
Dnevne instalacije
0
Ukupno instalacija
3
Ocene
0 0 0
Verzija
0.1
Napravljeno
11/07/2025
Ažurirano
11/07/2025
Size
1,49 КБ
Licenca
MIT
Važi za

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。