javascript - Reload all tabs -
my question quite simple. i'm developing google chrome extension , wanted know how can reload page. must use chrome api or jquery api ?
thansk in advance.
here easier solution using background page:
chrome.tabs.getallinwindow(null, function(tabs) { for(var = 0; < tabs.length; i++) { chrome.tabs.update(tabs[i].id, {url: tabs[i].url}); } });
Comments
Post a Comment