Suppose I have a site with this code:
<!DOCTYPE html> <body> <a href="https://www.google.com/">1</a><br> <a href="https://www.google.com/" target="_blank">2</a><br> <a href="https://www.google.com/" onclick="window.open(this.href);return false;">3</a><br> </body> </html>
but I do not want to open any new tabs or windows. I know I can drag the link into the address bar to force open the link in the current tab instead of a new one, but it is too cumbersome.
Is there a more convenient way to do it, like keyboard shortcut or maybe an extension?