Say I want to delay some seconds after clicking on a <a>
link.
I have read some questions and found one here:
function delay (URL) {
setTimeout( function() { window.location = URL }, 500 );
}
However, this would make the page opened in the current window. Not a new one.
How can I have the effect to make it work as target=_blank
while NOT using window.open
popups? Is that even possible?