How do I open the url in a new tab? I know I must use _blank or window.open, but I cannot get it to work.
var url = 'https://google.com',
delay = 5000; // Milliseconds: 1sec x 1000
setTimeout(function () {
window.location = url;
}, delay);