If Safari/Firefox have already downloaded files then they keep a download manager window open. When the user downloads a new file from my site, is there any way to force that download manager window to the front of all windows?
+1
A:
I don't think so. The Download manager is not under the site's control. Maybe through a Firefox extension, but definitely not using normal JavaScript.
Pekka
2010-04-07 18:40:46
+1
A:
Can't you make the download window close on completion? Then it will re-open each time, which usually results in it being on top.
MJB
2010-04-07 19:04:46
How do I make it close on completion? If I can do that, I assume I should be able to make it the focus/front window.
psychotik
2010-04-08 06:10:56
I think the OP is talking about how to do this programmatically, from the site's end.
Pekka
2010-04-08 08:58:30
Yea that's what I don't get - how can the site close the download window?
psychotik
2010-04-08 09:22:10
That;s how I understood the question -- get the site to close it programmatically. I don't know of any way to do that, but I was suggesting that if FFX can ALWAYS close the download window, then won't it always have to OPEN it new each time, putting it on top?
MJB
2010-04-08 12:55:51
Sorry -- forgot to say that under about:config there is an option called browser.download.manager.focusWhenStarting and browser.download.manager.closeWhenDone. I think those will do what you want.
MJB
2010-04-08 12:58:40