I have come across pages from time to time that try to prevent me from closing them by continuously opening dialog boxes. Generally these come up as pop-ups or hidden red… (read more)
I have come across pages from time to time that try to prevent me from closing them by continuously opening dialog boxes. Generally these come up as pop-ups or hidden redirects from other pages, rather than from a site that I actually intended to visit. The only fix that currently works is to drag the offending tab into it's own window and ignore it. This allows me to continue browsing, but the only way to get rid of it is to force quit Firefox.
When I did a web search for a way to prevent any further dialogs from opening from a given page all I could find were repeated requests to get rid of the feature and no way to get it back now that it's gone.
My suggestion would be to make an option available, if it does not already exist and easily accessible to force close a tab. This action should kill any scripts that it might be running and close it with out permitting any dialog boxes, pop-up windows or any other action. Placing it in the right click menu alongside "close tab" would be ideal, though if this is considered dangerous in the hands of the average user then create it and use a preferences bit to enable it so advanced users can enable it themselves.