how to force a browser page to close?

edited June 2014 in Chit chat
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

  • edited May 2014
    I don't get any of those, but it may be because I'm using Chrome with Adblock Plus (and the fact that I don't really browse a lot).
  • edited May 2014
    Somebody has been looking at naughty stuff ;)
    Every night is curry night!
  • edited May 2014
    Hah, yeah - stop surfing porn. :lol:
    Website: Tardis Remakes / Mostly remakes of Arcade and ZX Spectrum games.
    My games for the Spectrum: Dingo, The Speccies, The Speccies 2, Vallation, SQIJ.
    Twitter: Sokurah
  • edited May 2014
    How do you two know that these porn sites do that then? :-)
  • edited May 2014
    Vampyre wrote: »
    How do you two know that these porn sites do that then? :-)

    I read about it in the post above mine. ;)
    Website: Tardis Remakes / Mostly remakes of Arcade and ZX Spectrum games.
    My games for the Spectrum: Dingo, The Speccies, The Speccies 2, Vallation, SQIJ.
    Twitter: Sokurah
  • edited May 2014
    Sokurah wrote: »
    I read about it in the post above mine. ;)

    But he didn't mention porn. "Naughty" sites could cover many things :-)
  • edited May 2014
    Okay, you got me. :-D :lol:
    Website: Tardis Remakes / Mostly remakes of Arcade and ZX Spectrum games.
    My games for the Spectrum: Dingo, The Speccies, The Speccies 2, Vallation, SQIJ.
    Twitter: Sokurah
  • edited May 2014
    Heh :D
    Every night is curry night!
  • edited May 2014
    zxbruno is right, use Adblock Plus (or maybe something similar, depending on which browser you use) and you get rid of all (or most, I suppose some sites might have newer pop-ups that can by pass the blocker, until the blocker is updated, then the pop ups are updated, etc) pop ups.

    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.
  • edited May 2014
    Personally I use NoScript, that stops all scripts running outright. You then enable scripts site-by-site if you want the interactive elements.

    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.
    Joefish
    - IONIAN-GAMES.com -
  • edited May 2014
    Somebody has been looking at naughty stuff ;)

    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.
  • edited June 2014
    (None of the keyboard options to close a window - eg. Alt-F4, Ctrl-W, Ctrl-Shift-W - would close this window.)

    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".
  • edited June 2014
    Try (for firefox anyway) Adblock Plus Pop-up Addon, very good!
    http://jessehakanen.net/adblockpluspopupaddon/
  • edited June 2014
    CTRL + F4 closes the current tab in a browser. Try that.
  • edited June 2014
    MrCheese wrote: »
    CTRL + F4 closes the current tab in a browser. Try that.

    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.
  • edited June 2014
    I have adblock plus on firefox and this still happens.

    I always pull task manager up and shut it down from there...
  • edited June 2014
    beanz wrote: »
    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.
Sign In or Register to comment.