• 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.
    • B Offline
      beli3ver @aarontheissueguy
      last edited by 3 Feb 2022, 15:21

      @aarontheissueguy Thank you, this means so much to me.
      Well, not only the advertising people spend a lot of money, also preventing the advertising costs a lot of time and money.

      1 Reply Last reply Reply Quote 2
      • ? Offline
        A Former User @beli3ver
        last edited by 3 Feb 2022, 15:40

        @beli3ver
        Hello,
        thank you very much for your message.
        (I think anyone who works for free or provides infrastructure and gets too little or no monetary donations should reach out).

        Sometimes I think that the developers and maintainers of "important apps* should be co-funded by the foundation. It should not be that the developers pay everything themselves and get nothing for their work. And at some point give up and refer the app, I find very sad. A consideration is also whether everything always has to be free.... Maybe you should pay for the operating system and updates. Also for apps, then you would see at the same time how many users and interest there really is....
        ... I know it is difficult and complex....

        Greetings and thank you for your work....

        ...without Ubuntu Touch I wouldn't have a smartphone anymore....

        Translated with www.DeepL.com/Translator (free version)

        A 1 Reply Last reply 3 Feb 2022, 16:22 Reply Quote 2
        • A Offline
          aarontheissueguy @Guest
          last edited by 3 Feb 2022, 16:22

          @john-silver I think cofunding is not really an option considering that the monetary resources of the foundation are also quiet limited. Either way I agree, that not everything has to be free of charge. Implementing something like paid apps is pretty hard to implement on UT at the moment I guess.

          ? 1 Reply Last reply 3 Feb 2022, 21:19 Reply Quote 1
          • C Offline
            cliffcoggin
            last edited by 3 Feb 2022, 16:34

            I too had no idea that maintenance required so much time and money. Thank you for your devotion.

            1 Reply Last reply Reply Quote 1
            • ? Offline
              A Former User @aarontheissueguy
              last edited by 3 Feb 2022, 21:19

              @aarontheissueguy
              if you love something and want to preserve it, it also costs something ... it's no use to anyone if in 1 or 2 years everyone gives up ... and we have to go back to Android or Apple ... it is a Freiheihtskampf and not a nerd story ...
              sorry, but this is a matter of the heart for me ...
              it's actually a matter of life and death, so simple is the question ...
              Greetings

              ? 1 Reply Last reply 3 Feb 2022, 21:35 Reply Quote 0
              • ? Offline
                A Former User @Guest
                last edited by A Former User 2 Mar 2022, 21:52 3 Feb 2022, 21:35

                @john-silver
                I know these are harsh words, but we'll never get anywhere like this...
                freedom is our highest good...
                please give everything..
                Thank you for your commitment...
                FIGHT... maybe you will get into the history books, if such a thing still exists....
                :raised_fist:

                1 Reply Last reply Reply Quote 0
                • T Offline
                  TotalSonic @beli3ver
                  last edited by 8 Feb 2022, 17:48

                  @beli3ver - how difficult would it be for you to transfer your block list server files to a third party hosting service like https://owncube.com ? That way someone else with dedicated staff towards this would be the ones to maintain the server part of that. If that it possible and if the cost to host this for a year was in a range I could afford to do, I would be happy to front the costs for this for the initial year, in hopes of making some of this back via asking for community donations towards this.

                  Best regards,
                  Steve Berson

                  1 Reply Last reply Reply Quote 2
                  • D Offline
                    domubpkm
                    last edited by 9 Feb 2022, 06:04

                    What is certain is that UT cannot do without an ad blocker. And the effect will be immediate by changing the channel (e.g. from stable to rc) no more blocking... or blocking by workaround.

                    1 Reply Last reply Reply Quote 1
                    • J Offline
                      jezek
                      last edited by 9 Feb 2022, 16:23

                      @beli3ver Is there any reason, other than user has to download more data, why there has to be a server? Can't the list update, duplicate remove, etc be done at user side, whenever he chooses?

                      jEzEk

                      T 1 Reply Last reply 9 Feb 2022, 22:21 Reply Quote 0
                      • T Offline
                        TotalSonic @jezek
                        last edited by 9 Feb 2022, 22:21

                        @jezek said in Why uAdBlock currently no longer works:

                        @beli3ver Is there any reason, other than user has to download more data, why there has to be a server? Can't the list update, duplicate remove, etc be done at user side, whenever he chooses?

                        I am not Malte, but the reason there needs to be a server, and one that is maintained on top of that, is that the block lists all need to be updated on a regular basis for them to effectively work, and apparently according to Malte, that the block lists take up a gigantic 400 GB of data in total. So, if the app had to have all of the lists included within it, it would be a huge install (and potentially one that would be too large for some devices), that would need to be updated regularly to and from the Open Store. With a server holding the block lists, the user can just access the needed data for just the lists they choose , and the app within the Open Store doesn't need to be constantly updated.

                        Best regards,
                        Steve Berson

                        K 1 Reply Last reply 10 Feb 2022, 09:14 Reply Quote 0
                        • K Offline
                          Keneda @TotalSonic
                          last edited by 10 Feb 2022, 09:14

                          @totalsonic
                          Couldn't the app use list already existing ?
                          Like some from uBlock Origin or so ?

                          2015-2023 : Meizu MX4 ☠️⚰️✝️
                          2023-2024 : Nexus 5 ☠️⚰️✝️
                          2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
                          🇲🇫🇬🇧

                          T 2 Replies Last reply 10 Feb 2022, 09:20 Reply Quote 1
                          • T Offline
                            TotalSonic @Keneda
                            last edited by 10 Feb 2022, 09:20

                            @keneda - yes it could, if it was a smaller list - like the original version by Marius had. Perhaps the current lists could be optimized so it didn't require as much as server space as well - I'm not sure.

                            Best regards,
                            Steve Berson

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              TotalSonic @Keneda
                              last edited by 10 Feb 2022, 09:27

                              @keneda - I believe there are likely a number of different ways that an Ad Blocker for UT could be coded that would not need to have its own dedicated list server (and one storing some 400GB of data at that) - my comments here are just based on what Malte states in his original post, and wanting to figure out a way this could be restored - not that this is the only way to go about things.

                              Best regards,
                              Steve Berson

                              1 Reply Last reply Reply Quote 0
                              • J Offline
                                jezek @beli3ver
                                last edited by jezek 2 Oct 2022, 16:07 10 Feb 2022, 16:02

                                @beli3ver said in Why uAdBlock currently no longer works:

                                Currently we have 13 lists, which in all possible combinations comes to a total file size of almost 400 GB.

                                @TotalSonic I understand this quote as, there are 13 lists and they are doing all possible combinations of the 13 lists, for every combination one file, so the user can easily download it.

                                The largest list (all 13 together) was still about 100 MB at the end.

                                See, this kind of supports my claim.

                                I predict that for all 13 lists, there will be no more than 150 200 MB for one update, if not using the server and do the downloading & merging at user side. Or am I horribly wrong?

                                But, even if it was 400MB for updating all 13 lists, it would be more acceptable for me than not working app.
                                Edit: I missread GB & MB. Ignore this statement, please. 😉

                                jEzEk

                                1 Reply Last reply Reply Quote 1
                                • 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.

                                          dizzyD 1 Reply Last reply 20 Mar 2022, 15:13 Reply Quote 1
                                          • dizzyD 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
                                            • First post
                                              Last post