This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

On a Mac, how do I close tabs or windows where dialogs have popped up trying to download malware and you cannot close them?

  • 1 reply
  • 1 has this problem
  • 3 views
  • Last reply by TonyE

more options

On a Mac, how do I close tabs or windows where dialogs have popped up trying to download malware and you cannot close them? I think it's Ctrl+F4 on a PC. I would like to close just these tabs or windows instead of having to quit the whole firefox program.

On a Mac, how do I close tabs or windows where dialogs have popped up trying to download malware and you cannot close them? I think it's Ctrl+F4 on a PC. I would like to close just these tabs or windows instead of having to quit the whole firefox program.

All Replies (1)

more options

The equivalent of Control+F4 is Command+W, I have not tried it but you may still get the alert boxes when closing a tab using this method.

The AlertCheck add-on can be used to block the infinite loops such as this - https://addons.mozilla.org/firefox/addon/alertcheck - This functionality is built into Firefox 4.

An alternative method in Firefox 3.6.* is to temporarily turn off JavaScript. Open the Firefox preferences window, go to the Content panel and de-select the setting "Enable JavaScript" then click OK. You will then be able to close the tab, and can then re-enable JavaScript.