Open link in new tab in GitHub

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

Autor
wxupjack
Instalações hoje
0
Total de instalações
3
Avaliações
0 0 0
Versão
0.1
Criado
11/07/2025
Atualizado
11/07/2025
Tamanho
1,49 KB
Licença
MIT
Aplicável a

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。