Currently the reload strategy of the browser action is either all windows or current window. It would be nice to extend it so the user can customize it.
/**
* Reload Routine. It checks which option the user has allowed (All windows, or
* or just the current window) then initiates the request.
*/
ReloadController.prototype.reload = function(info, tab)
{
if (this.cachedSettings.reloadAllWindows) { // All Windows.
this.reloadAllWindows()
}
else { // Current Window.
chrome.windows.getCurrent(this.reloadWindow.bind(this))
}
}
Currently the reload strategy of the browser action is either all windows or current window. It would be nice to extend it so the user can customize it.