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

I HAVE A BOX THAT COMES UP EVERYTIME I WANT TO LEAVE A PAGE

  • 2 replies
  • 4 have this problem
  • 18 views
  • Last reply by cor-el

more options

EVERY TIME I WANT TO LEAVE A PAGE A BOX COMES UP AND IT SAYS ARE YOU SURE YOU WANT TO NAVIGATE AWAY FROM THIS PAGE CLICK OK TO CONTINUE OR CANCEL TO STAY ON CURRENT PAGE AND I CANT GET RID OF IT

EVERY TIME I WANT TO LEAVE A PAGE A BOX COMES UP AND IT SAYS ARE YOU SURE YOU WANT TO NAVIGATE AWAY FROM THIS PAGE CLICK OK TO CONTINUE OR CANCEL TO STAY ON CURRENT PAGE AND I CANT GET RID OF IT

All Replies (2)

more options

You can close the tab by temporarily disabling JavaScript.

In the Tools menu select Options to open the Options dialog. In the Options dialog select the Content panel, then de-select the "Enable JavaScript" setting. Close the Options dialog, and you should then be able to close the tab. You can re-enable JavaScript afterwards.

Note, Firefox 4 will give an option to stop displaying the alert dialog boxes in situations like this, so you will be able to close the tab without disabling JavaScript.

more options

Such an alert is done via JavaScript.
If it happens on every page then you may have malware.
If it only happens on specific pages then it can be a script on that page.

You can disable JavaScript temporarily to make it possible to close that tab and then re-enable JavaScript.

Tools > Options > Content : [-] Enable JavaScript

See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked