• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Why uAdBlock currently no longer works

Scheduled Pinned Locked Moved App Development
32 Posts 15 Posters 6.6k Views 6 Watching
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.
    • K Offline
      kazord
      last edited by 10 Feb 2022, 17:31

      I don't have the working details on the server side

      but from an optimisation point of view it sould be faster and lighter to have :

      • 1 file for each commun entries in lists and merge client side.
        (exemple 1.txt contains entries only in the list 1, 1-2.txt contains entries common on list 1 & 2 and so on)
        from client side just dl every files that match activated lists.

      • 2 avoid rebuild all if possible (and optimize code/io for lower spec servers)

      With that I hope it's possible to cut the server price a lot (cheapest ovh server is like 3€/m)

      C 1 Reply Last reply 25 Feb 2022, 21:31 Reply Quote 2
      • C Offline
        Capsia @kazord
        last edited by 25 Feb 2022, 21:31

        @kazord Hello! We had the same idea šŸ˜‰
        I've implemented it with many optimizations a few days ago. The result was a script running 45 seconds on Intel i7 or 2 minutes 30 seconds on a Raspberry Pi. The script is single thread so it could be further optimized. The lists were ~17MB of total size when the script ended. Querying the data from Apache takes less than 5 seconds. So far it seems too good to be true, so I wanted to ask @beli3ver if I may take a look at the original sources. The idea is to build this for serverless infrastructure on Netlify that will require very little costs and almost no maintenance. Idk the numbers of requests to uadblock servers, but maybe that could be done also with the free plan.

        Thank you for all your efforts in Uadblock šŸ™‚

        1 Reply Last reply Reply Quote 4
        • D Offline
          domubpkm
          last edited by 27 Feb 2022, 09:58

          Last hosts file that i kept and use, built with 14 (all) uAdBlock blocking lists = 21.2 mb

          1 Reply Last reply Reply Quote 0
          • J Offline
            JosuƩ
            last edited by 27 Feb 2022, 22:43

            I assume that you finally turned it off definitively. I didn't know that this feature had this great cost until now. It is sad to say but this feature looks not sustainable for a small community like ours to keep this working just with donations (I desire to be wrong). I don't know if it could be done in another way. Anyway, Malte, thanks for all the work you have done. I'll try to send you a small donation this week.
            Regards

            1 Reply Last reply Reply Quote 1
            • D Offline
              domubpkm
              last edited by 20 Mar 2022, 13:22

              For those who are not aware, uAdBlock is currently working.

              D 1 Reply Last reply 20 Mar 2022, 15:13 Reply Quote 1
              • D Offline
                dizzy @domubpkm
                last edited by 20 Mar 2022, 15:13

                @domubpkm Hum, I still have a lots of ads...

                Pixel 3a XL - UT stable - Daily driver
                Pinephone - UT dev
                Pinephone Pro - Manjaro Plasma Mobile & Mobian Phosh

                D 1 Reply Last reply 20 Mar 2022, 18:25 Reply Quote 0
                • D Offline
                  domubpkm @dizzy
                  last edited by 20 Mar 2022, 18:25

                  @dizzy Check the size of this file
                  screenshot20220320_192137427.png

                  D 1 Reply Last reply 20 Mar 2022, 19:37 Reply Quote 1
                  • D Offline
                    dizzy @domubpkm
                    last edited by 20 Mar 2022, 19:37

                    @domubpkm 312 bytes ...

                    Pixel 3a XL - UT stable - Daily driver
                    Pinephone - UT dev
                    Pinephone Pro - Manjaro Plasma Mobile & Mobian Phosh

                    D 1 Reply Last reply 20 Mar 2022, 20:10 Reply Quote 0
                    • D Offline
                      domubpkm @dizzy
                      last edited by 20 Mar 2022, 20:10

                      @dizzy That means that uAdBlock doesn't work for you ! You take all ads ! You must update uAdBlock.
                      First open and deactivate uAdBlock, then choose the lists you want, then update. After that, you must be protected. And you can check again the size of hosts file, probably xx mb !

                      K D 3 Replies Last reply 20 Mar 2022, 20:26 Reply Quote 2
                      • K Offline
                        Knalli73 @domubpkm
                        last edited by 20 Mar 2022, 20:26

                        @domubpkm same here. 312 bytes and no blocking at all. I tried several times.

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          dizzy @domubpkm
                          last edited by 20 Mar 2022, 20:59

                          @domubpkm That worked. Thanks for the help!.

                          Pixel 3a XL - UT stable - Daily driver
                          Pinephone - UT dev
                          Pinephone Pro - Manjaro Plasma Mobile & Mobian Phosh

                          1 Reply Last reply Reply Quote 0
                          • K Offline
                            Knalli73 @domubpkm
                            last edited by 21 Mar 2022, 06:25

                            @domubpkm now it works. I don't now if I did something wrong, but it is great to have a adblocker againšŸ‘

                            1 Reply Last reply Reply Quote 2
                            • M Offline
                              magdesign
                              last edited by 27 Mar 2022, 09:26

                              @beli3ver : thank you for all the effort over the years.

                              @domubpkm: does this mean we could share hosts files to do adblocking?

                              Maybe we should check out if we somehow can manage to use tblock on ubports devices.

                              Oneplus 6 (A6003)
                              UBports 16.04 RC 2021-W32

                              1 Reply Last reply Reply Quote 0
                              • F Offline
                                FakeShell @beli3ver
                                last edited by 28 Mar 2022, 15:28

                                @beli3ver
                                Hey
                                I can fulfill the servers
                                If your only issue is the server then drop me a dm in telegram
                                @FakeShell

                                B 1 Reply Last reply 22 Apr 2022, 04:45 Reply Quote 1
                                • B Offline
                                  beli3ver @FakeShell
                                  last edited by 22 Apr 2022, 04:45

                                  So, new version of uAdBlock server is online, mega performant and doesn't eat resources anymore. In addition, after a new review of the app by Brian, there will be a new version with 4 new lists and fix some bugs.

                                  1 Reply Last reply Reply Quote 4
                                  • System referenced this topic on 25 May 2022, 06:35
                                  • System referenced this topic on 25 May 2022, 06:46
                                  • C cliffcoggin referenced this topic on 25 May 2022, 08:03
                                  • First post
                                    Last post