![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
Bug Report. In Firefox, either Windows or Linux. Popup screen with extra Are You Sure Close Yes No popup can't be closed because popup Yes/No keeps coming back
This is a spam related bug issue. Go to a website with Torrents for example. Browse around a little and you will get a popup with an extra popup after you try to close. This extra popup screen Are you Sure? yes/no prevents the browser from closing. You can not fast enough kill the webpage, the are you sure popup comes up to quickly to close the spam-window.
Solution make the close/kill this window function more powerful and overrule any Are your sure popups. This is a very very annoying bug and spam related because the popup screens usually try to get you to update your firefox, or a password or something. Make the kill browser function ignore popups and extra popup questions.
This bug is exploited by webpages that try to install spam and spyware or get you to log in somewhere and steel passwords. This exploit to my knowlegde is not used by normal advertising. So fix this bug by making close window overrule any extra popups/ sure yes/no screens when trying to close the spam-window.
Bug is observed in both Ubuntu and Windows, go to a torrentsite like Eztv.ag and bingo you know what I mean.
All Replies (4)
Some sites are more prone to malware-ish advertising...
A site can hook a script to an event (beforeunload) to react when you are trying to close a page. This may trigger a dialog asking you to confirm you want to leave the page (example screenshot attached). I think that might be one of the dialogs you're seeing.
Are you saying the page can show another dialog at the same time, or it opens another window at the same time?
Izmjenjeno
If you are getting a pattern of dialogs similar to the attached, it is a little complicated. You may need to use keyboard actions to "escape." I've seen users post example of sites using a combination of annoying techniques to force you to interact with them. These include:
1. Displaying a text entry dialog (username and password) that returns when you cancel it 2. Triggering a dialog asking if you approve resubmitting previously submitted information 3. Switching to full screen to block use of the menu bar, and when you move the mouse, doing it again 4. Displaying a large text box with instructions that returns whether you OK or Cancel it
Depending on the page you get, your approach may differ.
If you get the combination of #1-#3, try:
- Cancel the resubmission of data
- Press Esc several times in a row quickly to stop the authentication/reload loop
- Use a keyboard shortcut to close the tab, such as Ctrl+w or Ctrl+F4
Hopefully that will allow you to close the tab normally so that the crash recovery doesn't bring it back.
If you get #4, after cancelling it once or twice, a checkbox should appear at the lower left to stop the site from showing more dialogs. Check that box and click OK. Then try to close the tab normally.
Hi, thanks for the quick response. Yes it is this bad page with firefox update. Sometimes it does work closing the popup but often it does not. Not sure why it does or doesn't close maybe the order in which you close the resend/enter password popups?
I have had this issue of not being able to close this very page many times on Windows and Ubuntu. Then the question popup keeps coming back quicker then I can mouse to the close window and press the X.
I will try Ctrl Alt-F4 next time.
Of course closing the whole browser always works. Hopefully Firefox will be able in future to always close (one) page/popup no matter the are you sure or resend questions.
Thanks
A way out of the trap is to (force it if needed) Close Firefox. Wait about 20 seconds for Firefox to finish closing. Right-click on the Firefox icon and select Open New Window. +++++++++++++++++++++++++++++++++ Sometimes this works. If it opens, close it by Menu > File > Exit. This will flush out that web page from the Session Store.
Go to the Mozilla Add-ons Web Page {web Link} (There’s a lot of good stuff here) and search for a good ad / pop-up blocker.