remove debug log

This commit is contained in:
Jonas Leder 2021-07-31 20:40:50 +02:00
parent f4e978d4a9
commit 642df29625
No known key found for this signature in database
GPG key ID: CC3C488E27DFF5CA

View file

@ -2,7 +2,6 @@ document.onreadystatechange = function () {
document.querySelectorAll("a").forEach((element) => {
let href = element.href;
if(href.indexOf(location.hostname) === -1){
console.log(href);
element.target = "_blank";
}
});