Open Every Link in a Web Page In a New Tab

Found this nifty trick in a github comment.

If you add this bit of code in the <head> section of an HTML 5 page, clicking on every link will open in a new tab.

<base target="_blank">

This tag is mostly used to set a URL to resolve all relative links on a page. But it offers an additional attribute target to set a default target policy for links.

You can, of course, override the target attribute on a link to link basis, if you are using this feature.

tech
Ansible privilege escalation with expect when you don't have root shell privileges Creating a Certificate Authority in 2020 for Your Soho