خرید بک لینک

Vote count: 0

I need to make 3 new tabs in my chrome extension with a delay of a couple seconds between each of the tabs creation, but when I use the chrome.tabs.create in a for loop for(i=0;i<3;i++) with the setTimeout(function() like so

    for(i=0;i<3;i++){

            setTimeout(function() {

                   search();

            }, 5000);

it just waits for the Timeout to finish and then opens all 3 tabs at once. I have looked at Chrome extension: open tabs with delay but it is a different situation.

asked 34 secs ago

برچسب: i need a hero,i need a job,i need a one dance,i need a doctor,i need a doctor lyrics,i need a hero lyrics,i need a loan,i need a dollar,i need a miracle,i need a forest fire lyrics, نویسنده: استخدام کار تاريخ: پنجشنبه 21 مرداد 1395 ساعت: 13:28

صفحه بندی