Why does my Google Chrome extension open only 25 tabs from many others?

I have a piece of code that just doesn't want to work as a Chrome extension.

As far as I can tell, everything works fine, except that it stops opening pages around tab 25, no matter how many tabs should be open. I checked the code and tried to open each link correctly, but actually it is not. Any ideas?

for (x = 0; x<55; x++){
   window.open();
}
+5
source share
2 answers

25 window.open . . Chromium bugs 2632 3382 , , , " " ( UI-, ) , .

API- , chrome.tabs.create ( PAEz-), API-, .

+3

, - , .
, api....

for (x = 0; x<55; x++){
   chrome.tabs.create({url:"nowhere"+x});
}

... 55 ;)

0

All Articles