diff --git a/decrypt/index.html b/decrypt/index.html index b0fb3d56cd..10bfe64959 100644 --- a/decrypt/index.html +++ b/decrypt/index.html @@ -128,6 +128,17 @@ form.password.value = ''; message.innerHTML = clean; + + var a = message.getElementsByTagName('a'); + for (let i = 0; i < a.length; i++) + if (a[i].href) { + a[i].rel = 'noopener noreferrer'; + a[i].setAttribute('target', '_blank'); + a[i].onclick = function() { + return confirm('Go to ' + a[i].href + ' ?'); + }; + } + form.style.display = 'none'; content.style.display = 'block'; } catch (e) {