Skip to content

Commit

Permalink
Added dummy target
Browse files Browse the repository at this point in the history
  • Loading branch information
pl853 committed Jul 15, 2020
1 parent db91672 commit c61324e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ <h1>The GeoStack Project</h1>
var links = document.getElementsByTagName('a');
for (var i = 0; i < links.length; i++) {
if (/^(https?:)?\/\//.test(links[i].getAttribute('href'))) {
links[i].target = 'dummypage';
links[i].rel = 'noopener';
}
}
Expand Down

0 comments on commit c61324e

Please sign in to comment.