[Support] uBlock Origin

No, it is not checked.

This works on my side, I can’t reproduce this specific filter not being applied.

However, two things regarding the generic filter ##.cc_banner:

  • I introduced a silly regression in the DOM surveying code in the latest dev build. I need to fix this.
  • Generic filters are not applied on gsmarena.com because generic cosmetic filtering is disabled on that site by the EasyList filter @@||gsmarena.com^$generichide.

As said above, your issue is because of the EasyList filter @@||gsmarena.com^$generichide, it prevents generic filters from being applied.

Anyways, looking at how this cookie notice works, you can use the following filter to disable the notice: /cookieconsent.. This is better than a cosmetic filter because it blocks the script which creates the notice. From the look of it, this is a library used on many sites, so this should take care of many cases of cookie notices.

Edit: made the suggested filter more broad: /cookieconsent.

:man_facepalming:

Static filter /libs/cookieconsent2/ found in:

Adguard’s Annoyance List

and

Static filter /cookieconsent. found in:

Fanboy’s Annoyance List

Great, works like a charm!

Yes, gwarser, annoyance lists have not been ticked (so far).

Thank you guys I learned a lot!

I’m now on 1.14.17b3, and this filter works only if I disable generichide:

www.gsmarena.com##.cc_banner

@@||gsmarena.com^$generichide,badfilter

? Never mind, I can reproduce with Firefox 56, while it works with Chromium.

I don’t know yet. Works on ESR only.

On other channels I cannot even select picker from context menu - interface will not show up.

Edit:

Fixed, thank you.

Sorry I corrected my answer above, I could reproduce it with Firefox. Fixed in 1.14.17b4.

Can you elaborate? I could bring up the element picker on gsmarena.com with 1.14.17b3.

On 1.14.17b3 Picker was working only when selected from UBO Popup.
1.14.17b4 fixes this.

Just recently using Firefox version 56 with U block origin and yahoo home page there is a blank white space I guess where a ad is but U block origin is having trouble blocking it, if you refresh a few times blank white space goes away but comes back after re opening browser, I tried different browsers and disable all addons , and refresh firefox and different computers , the white blank space still appears , thoughts or suggestions ? not sure what else to try ?

Removal of uBlock Origin did not solve the problem so, uBlock Origin is not the culprit. Thanks for reply.

When using incognito/private browsing mode most stuff is kept in memory and away from disk. However. for ublock to function properly some persistence is necessary. What gets written to disk? For instance, does turning ublock off for a domain record that on disk? And without the user doing anything, does it record anything that could give clues to the sites you have visited?

Hey there, I’m having severe trouble with uBlock Origin. Loading webpages heavily increases RAM usage. After 20 to 30 minutes of browsing sites like YouTube and reddit, Firefox takes up ~2 GB of RAM and becomes sluggish and unresponsive. With uBlock Origin deactivated, Firefox behaves normally and doesn’t use more than 400 to 600 MB of RAM, so this is definitely an issue with this add-on.
I already un- and reinstalled Firefox, same with uBlock Origin. Right now I’m using the latest Firefox 64 kbit version 56.0.2 and the latest uBlock Origin version 1.14.16 on Windows 10.

Does anybody have an idea what I could try to do? I love this add-on and don’t want to replace it with a worse alternative…

Do you by any chance have a lot of filters, specially cosmetic filters? Any scripts like say YouTube+ or anything that is used for media extraction (save video) because if a lot of things are injected into the page, it can cause memory leaks and performance issues.

Also, some sites, I have experienced it myself, will cause things to slow down because uB0 is doing its job. For example, they are the kind that ticker style constantly use Ajax to load/lazy load ads into the page or stream, and since uB0 blocks on the network level, each time this happens, you will notice a little degradation and hit and it can add up on the same tab; specially worse if you have multiple tabs open in which this is happening. Just some things to consider.

Thanks for your help! I have like ~5 filters, so that shouldn’t be a problem. I also tried to reproduce the problem with a clean install of uBlock and exactly the same memory leaks happened.

Follow exactly the repro steps detailed here: https://bugzilla.mozilla.org/show_bug.cgi?id=1386177#c10.

When following exactly the steps, replace…

  • “Nightly” with whatever Firefox version you are using.
  • Steps 12-19 with whatever you are doing on Youtube which causes your memory issue.

The purpose of these steps is to highlight the memory which is reportedly “leaking”: this could allow to confirm whether uBO or something else is causing the issue (at this point there is no reason to believe there is such an issue with uBO). Following as accurately as possible these steps is important – so as to not pollute the results with noise.

Unfortunately, so far none of those who have reported such issue have been willing to report back the results of these steps – I don’t understand why. Hopefully you will be more willing to collaborate in narrowing your memory issue.

1 Like

Hi Raymond, many thanks for your help. I followed the steps and this is the result: https://pastebin.com/KTTP6faa I’ve also run the test with the newest version of uBlock Origin, since the problem started occuring only for the last 2 weeks or so: https://pastebin.com/05Mf68QP

The test could not reproduce the issues, the browser ran smoothly and the RAM distribution seemed to work fine. It does look like it’s not uBlock Origin’s fault then. Do you have any hint for me what could possibly cause this problem then? Again, everything works fine on my default Firefox profile after I deactivate uBlock Origin, so what could get in its way? Thanks so much for your help, in any case :slight_smile:

How many subscriptions do you have? You may only have a few filters of your own but you could have a lot of subscriptions. Also, check to make sure you are not getting hit with a Coin harvesting script that is not covered in the Resource Abuse list that has been maintained. You might have encountered something new that is not on there and is the reason why your memory is getting so exhausted.

1 Like