EgoZero / static /js /open_in_new_tab.js
vincentjliu's picture
initial commit
be068d8
raw
history blame contribute delete
186 Bytes
document.addEventListener('DOMContentLoaded', function () {
document.querySelectorAll('a').forEach(function(anchor) {
anchor.setAttribute('target', '_blank');
});
});