Code:
<html>
<head>
<script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>
</head>
<body>
<a id="go" href="go">go</a>
<script>
$("#go").trigger("click");
</script>
</body>
</html>
This script doesn't open the link go
when visiting the page.