Join us to show up for other Firefox users 🦊. Earn fun badges and Mozilla swag vouchers! Find out more: https://mzl.la/askafox150

Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

חיפוש בתמיכה

יש להימנע מהונאות תמיכה. לעולם לא נבקש ממך להתקשר או לשלוח הודעת טקסט למספר טלפון או לשתף מידע אישי. נא לדווח על כל פעילות חשודה באמצעות באפשרות ״דיווח על שימוש לרעה״.

מידע נוסף

Javascript download link on Mac not working after 15.0.1 FF upgrade

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.

השתנתה ב־ על־ידי c2k2e

כל התגובות (3)

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.

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.

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?