how to force a browser page to close?
You know those annoying pages that pop up sometimes when you've clicked on a browser window's Close box, asking if you really want to close the window? Is there any way to force that single page to close without clicking on any of the option buttons which are offered? I'm always suspicious of these interruptions and don't believe that the buttons will do what they are purporting to do, so I always force them to close by opening Task Manager and selecting End Task for the page - but that closes all of the open browser pages even though I only select the annoying one, so I've got to start whatever I was doing all over again. Can I get rid of a single page on its own? Clicking on the X-box or typing Ctrl-W or selecting File:Close or Exit (depending upon the browser) all bring the damned page back again, and it beeps at me as well, which is even more annoying! I thought that there might be something available in the Firefox add-ons library, for example, but I haven't been able to find anything, and pop-up blockers don't block them.
Post edited by Battle Bunny on
Comments
My games for the Spectrum: Dingo, The Speccies, The Speccies 2, Vallation, SQIJ.
Twitter: Sokurah
I read about it in the post above mine. ;)
My games for the Spectrum: Dingo, The Speccies, The Speccies 2, Vallation, SQIJ.
Twitter: Sokurah
But he didn't mention porn. "Naughty" sites could cover many things :-)
My games for the Spectrum: Dingo, The Speccies, The Speccies 2, Vallation, SQIJ.
Twitter: Sokurah
Regarding how to close a pop up without clicking on it, does [ALT] + [F4] work (providing the pop up is the current 'highlighted' window)? If not, you can probably use the browsers key combination for 'Close Window', which in Chrome is [CTRL] + W. Again, this will only work if the pop up is the current, active window.
The only times it gets awkward is paying for things on-line, as then some sites will pull in functionality from other sites (like Paypal or credit card validation) which can fail without giving you the opportunity to allow it. But then you can always switch it off while you make the payment, then switch it back on afterwards.
- IONIAN-GAMES.com -
Well, that is what the Internet was invented for, after all. My local doctor's surgery site does it as well, when the prescription renewal window is closed, although that one doesn't annoy me as it's not trying to sell me something which I don't want. It's not uncommon on commercial sites which don't want you to leave without buying something. There's a few suggestions there to try, so I'll report back whenever I get something to work.
I've found a Firefox extension which does what I want. The first one which I tried was Disallow Script Button, which puts a button in the toolbar which disables scripts on the current page. Which was all I wanted, but unfortunately the button didn't appear on the type of page causing the problem (or at least the one which I used to test it, anyway), even when I selected the Propagate option, so that didn't help.
So I rummaged through the add-ons directory again and found QuickJava, which sets up a little menu at the end of the toolbar to disable various things. By default it has three options to switch off/on Javascript, Java & Flash. So if a page won't go away, just select the JS option, close the offending page, then select JS again to restore normal service.
As it happened the QuickJava button propagated onto the test page, but even if it hasn't it doesn't matter, as the effect is global, so just switch to a page which is showing the button and disable JS from there. Well worth the $5 "suggested contribution".
http://jessehakanen.net/adblockpluspopupaddon/
Already did. All the close actions are intercepted by the script so something is needed which disables the script, which QuickJava does very neatly. I forgot to mention that, as well as providing a menu option for disabling selected features, toggle buttons can be added to the toolbar. It's also handy for rejecting clutter on over-busy pages; eg. some of the newspaper sites have pages which take so long to load it's practically quicker to go out and buy the newspaper.
I always pull task manager up and shut it down from there...
The Windows XP Task Manager isn't selective enough. If I select the problem page in the Task Manager and then End Process it shuts down all of the Firefox processes, not just the problem page. I tried Process Explorer as well, but that had the same problem. With QuickJava I can just close the single page normally, plus I like all the other benefits of the QuickJava extension.