• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    Blocking “Do you want to leave this site?” Pop-up

    Opera for Windows
    3
    4
    3047
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Former User
      A Former User last edited by

      On several sites, when I try to cancel or leave the page, even refresh it, I get an annoying pop-up asking me:
      “Do you want to leave this site?”

      I find asking for such confirmation quite unnecessary and in the long run annoying.
      The adblocker does nothing to block it. In fact, it's not so much a matter of blocking as automatically answering "Yes".

      I understand that this is not a problem with Opera alone, nevertheless is there a way of getting rid of it?

      Reply Quote 0
        1 Reply Last reply
      • leocg
        leocg Moderator Volunteer last edited by

        Maybe a extension that blocks that javascript may help.

        Reply Quote 0
          1 Reply Last reply
        • sgunhouse
          sgunhouse Moderator Volunteer last edited by

          Some ... some sites (web apps and such) need to save their data before you leave, that is why the function exists. Some sites do misuse it, though. Blocking it completely isn't a good idea. An extension would need a built-in list of sites that require that function, or else they'll need you to click some sort of "Do not show this dialog again" checkbox on a site by site basis. There is probably an extension which can block them, though.

          Reply Quote 0
            1 Reply Last reply
          • A Former User
            A Former User last edited by

            Maybe a extension that blocks that javascript may help.

            JavaScript can be turned off in the Settings, but its recommended position is on for all sites. Next time I come across the pop-up under discussion, I'll try turning JavaScript off and see what happens.

            Now I come to think of it, I don't remember ever seeing the “Do you want to leave this site?” pop-up in old Opera Presto. So there must be a way of doing away with it thru the browser.

            Reply Quote 0
              1 Reply Last reply
            • First post
              Last post

            Computer browsers

            • Opera for Windows
            • Opera for Mac
            • Opera for Linux
            • Opera beta version
            • Opera USB

            Mobile browsers

            • Opera for Android
            • Opera Mini
            • Opera Touch
            • Opera for basic phones

            • Add-ons
            • Opera account
            • Wallpapers
            • Opera Ads

            • Help & support
            • Opera blogs
            • Opera forums
            • Dev.Opera

            • Security
            • Privacy
            • Cookies Policy
            • EULA
            • Terms of Service

            • About Opera
            • Press info
            • Jobs
            • Investors
            • Become a partner
            • Contact us

            Follow Opera

            • Opera - Facebook
            • Opera - Twitter
            • Opera - YouTube
            • Opera - LinkedIn
            • Opera - Instagram

            © Opera Software 1995-