I like to use an "all" bookmark (using a bit of javascript) to open several websites, in several tabs, with a single click. Here's a quick demo of what I'm talking about:
This works fine when accessing the bookmark from the bookmark manager, or when viewing any webpage. For some reason, though, if I try to run the "all" bookmark from chrome's "new tab" screen, it prevents all new tabs from opening (the window.open commands), and only redirects the current page (window.location). Is there anything I can do to allow multiple tabs to be opened from the "new tab" screen?Code:javascript:(function(){%20window.location=%22http://site.com%22;%20window.open('http://site.com');%20window.open('http://site.com');%20window.open('http://site.com');%20})();
p.s. I'm aware I can make a bunch of sites open as chrome loads. That's not what I'm looking for; I want to load the tabs on demand.


LinkBack URL
About LinkBacks



Reply With Quote
