LBRY: A Decentralized Digital Content Marketplace
- - + + Save as PDF + + +
{{ content }}
@@ -50,7 +53,7 @@
// Handle external links
const links = document.links;
for (var i = 0; i < links.length; i++) {
- if (links[i].hostname != window.location.hostname) {
+ if (links[i].hostname != window.location.hostname && !links[i].href.startsWith("javascript:")) {
links[i].target = '_blank';
links[i].className += ' external-link';
links[i].rel = "noopener";