SO - 30412393
by Arun P Johny
HTML
<a href="http://stackoverflow.com" target="_blank">StackOverflow</a><br>
<a href="https://facebook.com" target="_blank">Facebook (secure)</a>
JavaScript
jQuery(function($){
$("a[href^='http://'], a[href^='https://']").click(function(e) {
setTimeout(function() {
window.location.href = $(this).attr("href");
}, 1200);
console.log($(this).attr("href"));
e.preventDefault();
});
})