I’m trying to make an extension that crashes all tabs in chrome window so that they don’t load on opening chrome (when having too many tabs).
But when I try to use
chrome.tabs.update(null, {url:”chrome://crash”})
or
chrome.tabs.update(null, {url:”about:crash”})
they don’t work, although using
chrome.tabs.update(null, {url:”chrome://tasks”})
works well
Is there any workaround to do that?
when this works too I’d like to loop on all the open tabs to do the same thing and I don’t know how.
you can simply getAll active windows and loop through its tabs then change its url to data:text/html
you can download the extension and try it http://d.pr/f/wXaZ