• 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

    Prevent background execution of sites

    Opera for Android
    2
    9
    1531
    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.
    • RichardMoser
      RichardMoser last edited by

      Sites like Facebook installs their scripts to be executed in background without user's consent for it. I can't find how to disable it with the latest Opera Android.

      For example, once visited Facebook and closed all Facebook tabs, you'll be getting Opera notifications in Android system bar about every event in your Facebook account (posts, messages, etc...).

      Moreover, today I've got such a notification saying something like "Facebook website was updated in background". This is just too much.

      How can we forbid certain (too "smart" websites) from executing in background?

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

        @RichardMoser You can disable notifications in settings page. However, I don't think you can prevent sites from running in background.

        Reply Quote 0
          1 Reply Last reply
        • RichardMoser
          RichardMoser last edited by RichardMoser

          Yes, we could just disable notifications on per site basis. However, it won't prevent them from silently executing.

          Having random JS scripts from visited websites silently executing in the background without a user even knowing about them and not being able to disable it is just crazy.

          You could just tap a wrong link, bad site has been opened and silently installed its scripts for background execution and who knows what those scripts would silently do.

          Not only those scripts could:

          1. affect the whole device performance
          2. battery life
          3. consume cellular data plan,
            they could just completely compromise user's privacy and security.

          I think there must be the following:

          1. Whenever a website tries to install a script for the background execution, Opera must ASK the user if they actually permit it.
          2. There must be a possibility to view such sites and disable it in any moment after previously permitting such scripts.
          3. Isn't it natural to un-install such scripts automatically when user closes the last tab of such the website? (They could visit hundreds swebsites a day. So, we potentially have hundred thousands of background scripts executing silently after a year of Opera usage???)

          Can you provide a workaround of how can we un-install already installed background scripts for the moment? Is the only way for that to re-install Opera completely?

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

            @RichardMoser Scripts are installed but loaded when you visit the site. I have no idea how you can unload them without closing Opera.

            Reply Quote 0
              RichardMoser 1 Reply Last reply
            • RichardMoser
              RichardMoser @leocg last edited by RichardMoser

              @leocg What do you mean by "without closing Opera" (especially on Android which manages app lifetime automatically)?

              Nevertheless, please read the issue again. Here is reproduction in a few steps:

              1. Visit facebook.com and login to it.
              2. Close the tab, kill Opera Android activity according to your Android launcher (I guess this is what you've meant). You could even restart Android device.
              3. Weeks after that, you still would get Opera notifications from Facebook even if you've never visited it again.
              Reply Quote 0
                leocg 1 Reply Last reply
              • leocg
                leocg Moderator Volunteer @RichardMoser last edited by

                @RichardMoser Opera has an exit button and thought maybe it would remove all data from memory.

                Reply Quote 0
                  RichardMoser 1 Reply Last reply
                • RichardMoser
                  RichardMoser @leocg last edited by RichardMoser

                  @leocg It doesn't help. The thing is those scripts aren't just in-memory ones; they are registered with Opera permanently once you visit such (who knows, maybe every?) site for the first time.

                  Reply Quote 0
                    leocg 2 Replies Last reply
                  • leocg
                    leocg Moderator Volunteer @RichardMoser last edited by

                    @RichardMoser Well, this is how web works nowadays.

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

                      @RichardMoser Did you try cleaning your browsing data? Or maybe use private mode for those sites?

                      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-