Windows 10 reached EOS (end of support) on October 14, 2025. For more information, see this article.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Mulongo oyo etiyamaki na archive. Tuna motuna mosusu soki osengeli na lisalisi

Javascript download link on Mac not working after 15.0.1 FF upgrade

more options

After upgrading to Firefox 15.0.1, a javascript link supplying a DMG download on our company website is not working. Link still works on previous version of Firefox and Safari.

Javascript: window.open("File.dmg", '_parent', 'download');

Any suggestions?

Thanks, Chris

P.S. Reporting this issue on a Windows 7 PC, but pasting troubleshooting Info below from Mac in question.

After upgrading to Firefox 15.0.1, a javascript link supplying a DMG download on our company website is not working. Link still works on previous version of Firefox and Safari. Javascript: window.open("File.dmg", '_parent', 'download'); Any suggestions? Thanks, Chris P.S. Reporting this issue on a Windows 7 PC, but pasting troubleshooting Info below from Mac in question.

Ezalaki modifié na c2k2e

All Replies (3)

more options

Does it make any difference if you omit all but the first parameter? In other words:


window.open("File.dmg");

If the server sets disposition to attachment, this should not disturb the current page any more than your current approach.

more options

Thanks for your suggestion, this did not change the behavior. Same thing, it just does nothing when you click the link. On a side note, I need the '_parent' in there due to Safari, otherwise it opens (and leaves open) a blank tab for this download. Not a big deal, I could have added logic to detect Safari/Firefox and offer two separate links customized for the browsers. Thanks again though.

more options

Could you check for any errors in Firefox's Error Console?

Tools > Web Developer > Error Console


Also, generally speaking, when you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.

1. Clear Firefox's Cache Completely

(WIN) orange Firefox button or Tools menu > Options > Advanced
(MAC) Firefox > Preferences > Advanced

On the Network mini-tab > Cached Web Content : "Clear Now"

2. Remove the site's cookies in this dialog

Tools > Page Info > Security > "View Cookies" button

Then try reloading the page. Does that make any difference?