CentBrowser Forum
Download Shutdown extension - Printable Version

+- CentBrowser Forum (https://www.centbrowser.net/en)
+-- Forum: Product Related (https://www.centbrowser.net/en/forumdisplay.php?fid=1)
+--- Forum: Bugs & Suggestions (https://www.centbrowser.net/en/forumdisplay.php?fid=4)
+--- Thread: Download Shutdown extension (/showthread.php?tid=1164)



Download Shutdown extension - lator - 10-06-2016

I have problems with this extension. It should close the browser when the downloads finish. When I use it in Chrome the extension shuts down Chrome but in Cent Browser it only closes the tab and it opens new tab page.


RE: Download Shutdown extension - xuandung38 - 10-06-2016

(10-06-2016, 07:50 AM)lator Wrote: I have problems with this extension. It should close the browser when the downloads finish. When I use it in Chrome the extension shuts down Chrome but in Cent Browser it only closes the tab and it opens new tab page.

Send me your extension by zip file ! I will try to fix it for u . Biggrin


RE: Download Shutdown extension - lator - 10-06-2016

(10-06-2016, 08:03 AM)xuandung38 Wrote:
(10-06-2016, 07:50 AM)lator Wrote: I have problems with this extension. It should close the browser when the downloads finish. When I use it in Chrome the extension shuts down Chrome but in Cent Browser it only closes the tab and it opens new tab page.

Send me your extension by zip file ! I will try to fix it for u . Biggrin

Thanks


RE: Download Shutdown extension - lator - 10-06-2016

https://chrome.google.com/webstore/detail/download-shutdown/igfmbhdbojmlaclcokamjiilmpoibmlk


RE: Download Shutdown extension - Admini - 10-06-2016

Our default closing policy is not the same with Chrome.
You must change "When closing the last tab" to "Close browser window" to make this extension work.


RE: Download Shutdown extension - lator - 10-06-2016

I don't have that option.

In the extension code there is this
Code:
function shutdown() {
   chrome.tabs.query({}, function(tabs) {
       for (var t = 0; t < tabs.length; t++)
           chrome.tabs.remove(tabs[t].id)
   });
}



RE: Download Shutdown extension - Admini - 10-07-2016

lator, what I said in #5 was not referring the extension itself, but the browser.
It is an option within "Tab options" section.


RE: Download Shutdown extension - lator - 10-07-2016

(10-07-2016, 05:08 PM)CentBrowser Wrote: lator, what I said in #5 was not referring the extension itself, but the browser.
It is an option within "Tab options" section.

Thanks, it works