Why triggered the redirect?

<!DOCTYPE html>
the <head>
the <body>
 <a href="/tipo-website/" style="font-size:64pt">link</a>
<script type="text/javascript">
<code lang="javascript">
 document.addEventListener('click', function(e){
 return !0

should be redirected to /tipo-site/ and get the parameters that I specified in the address bar, but it works somehow without them
April 4th 20 at 00:38
1 answer
April 4th 20 at 00:40
let timerId = setTimeout(function tick() {
 timerId = setTimeout(tick, 1000);
 var hrefs = document.getElementsByTagName('a');
 el.onclick = function (e) {
 return false;
 }, 1000);

every second will just add the onclick to the new url

Find more questions by tags JavaScript