I am writing a javascript open multiple URLs on the same tab. I know how to open a link in a new tab.
window.open(your_url,"_blank")
However, my client wants me to open just one tab with multiple URLs. Imagine you have a javascript
var urlList=['https://www.google.com', 'www.youtube.com']
I want to open then one by one on the same new tabs with interval 10secs. First, I do
window.open(urlList[0],"_blank")
But then if I am still doing that for the second one, it opens another new tab, not on the old one. Any knows how to specify the opened tab?