uBlock Origin Legacy wishlist/feature requests

Add-ons for Pale Moon and other applications
General discussion, compatibility, contributed extensions, themes, plugins, and more.

Moderators: Lootyhoof, FranklinDM

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2895
Joined: 2012-08-19, 20:32

Re: uBlock Origin Legacy wishlist/feature requests

Unread post by back2themoon » 2025-05-19, 14:59

Yet another website throwing blank spaces my way. This is occurring at an alarmingly increasing rate these last two weeks. Can you please check if you get them as well? I need to find out whether something is going on with my filterlist selections. Note this is only happening on uBO Legacy. Thanks.

https://englishbasics.net/login-vs-logon-difference/

User avatar
Night Wing
Knows the dark side
Knows the dark side
Posts: 5443
Joined: 2011-10-03, 10:19
Location: Piney Woods of Southeast Texas, USA

Re: uBlock Origin Legacy wishlist/feature requests

Unread post by Night Wing » 2025-05-19, 15:27

back2themoon wrote:
2025-05-19, 14:59
Yet another website throwing blank spaces my way. This is occurring at an alarmingly increasing rate these last two weeks. Can you please check if you get them as well? I need to find out whether something is going on with my filterlist selections. Note this is only happening on uBO Legacy. Thanks.

https://englishbasics.net/login-vs-logon-difference/
I have no problems seeing the pages on the link you posted. Even "surfed" around on that page using the different topic buttons and their respective pages.

But I do not use the Windows 10 operating system like you do. On this hard drive I am typing this post with, it is installed with 64 bit Linux Mint 22.1 (Xia) Xfce. I am also using uBlock Origin 1.16.6.0 and I have never added any more filtering lists than what it comes with.
Linux Mint 22.1 (Xia) Xfce w/Pale Moon, Waterfox, Firefox
MX Linux 23.6 (Libretto) Xfce w/Pale Moon, Waterfox, Firefox
Linux Debian 12.11 (Bookworm) Xfce w/Pale Moon, Waterfox, Firefox

User avatar
Gemmaugr
Fanatic
Fanatic
Posts: 138
Joined: 2025-02-03, 07:55

Re: uBlock Origin Legacy wishlist/feature requests

Unread post by Gemmaugr » 2025-05-19, 15:38

back2themoon wrote:
2025-05-19, 14:59
Yet another website throwing blank spaces my way. This is occurring at an alarmingly increasing rate these last two weeks. Can you please check if you get them as well? I need to find out whether something is going on with my filterlist selections. Note this is only happening on uBO Legacy. Thanks.

https://englishbasics.net/login-vs-logon-difference/
The site in the link you provided works for me (I use latest uCyborg uBO), without allowing anything in eMatrix. Only one error shows up in the console. On Win 10, I have to add, since the poster before me said you do as well.

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2895
Joined: 2012-08-19, 20:32

Re: uBlock Origin Legacy wishlist/feature requests

Unread post by back2themoon » 2025-05-19, 15:44

Thanks. Yes, the website works fine. The problem is with the blank spaces. So, you are not getting these?
space1.png
space2.png
You do not have the required permissions to view the files attached to this post.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37676
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: uBlock Origin Legacy wishlist/feature requests

Unread post by Moonchild » 2025-05-19, 16:49

The "blank spaces" are ad placeholders.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
Night Wing
Knows the dark side
Knows the dark side
Posts: 5443
Joined: 2011-10-03, 10:19
Location: Piney Woods of Southeast Texas, USA

Re: uBlock Origin Legacy wishlist/feature requests

Unread post by Night Wing » 2025-05-19, 17:02

back2themoon wrote:
2025-05-19, 15:44
The problem is with the blank spaces. So, you are not getting these?
space1.png
space2.png
No. I do not get any blank spaces.
Linux Mint 22.1 (Xia) Xfce w/Pale Moon, Waterfox, Firefox
MX Linux 23.6 (Libretto) Xfce w/Pale Moon, Waterfox, Firefox
Linux Debian 12.11 (Bookworm) Xfce w/Pale Moon, Waterfox, Firefox

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2895
Joined: 2012-08-19, 20:32

Re: uBlock Origin Legacy wishlist/feature requests

Unread post by back2themoon » 2025-05-19, 17:22

Moonchild wrote:
2025-05-19, 16:49
The "blank spaces" are ad placeholders.
Yes, I know. What I am saying is that very recently an increasing amount of websites started showing these "blank spaces" / ad placeholders. Since this is not occurring with uBO for FF with similar filterlists, and it did not occur on uBO Legacy either until recently, I am trying to find out if:

1. I have some conflicting filterlists causing this.
2. This is a uBO Legacy limitation, which cannot "decode"/support certain newer data from the filterlists, which implement newer uBO features.
3. A Pale Moon missing feature which might also cause this? Don't know if it's technically possible, but perhaps newer uBO adblocking functions may rely on such features. I don't know.

So, I tried with AI. It does provide correct, per-site filters for me which get rid of the blanks (using "the power of XUL" - not my words) but after asking some further questions, I got these, among others:
Modern ad networks (like Google AdSense) now deploy placeholder divs with randomized classes that:

Load invisible ad containers first (creating blank spaces)
Later fill them via JavaScript (which uBO Legacy blocks)
Use CSS min-height or aspect-ratio to enforce spacing

CSS Grid/Flexbox adoption: Sites now use modern layouts where empty containers still occupy space
AdTech's class rotation: tdi_37, tdi_43 etc. are dynamically generated to avoid static filters
Lazy-loading ads: Ads load after page render, leaving empty <ins>/<span> placeholders
uBO Legacy's missing :has() cannot target parents of blocked elements to collapse space
Many APIs (e.g., declarativeNetRequest) simply don’t exist in Pale Moon.

For example, server sends HTML with innocent-looking containers:

Code: Select all

<div class="tdi_58" style="min-height:250px"> <!-- Hidden ad space -->
  <ins class="adsbygoogle" data-ad-client="ca-pub-123"></ins>
</div>
uBO Legacy blocks adsbygoogle but can't remove the parent div (due to random tdi_* classes)
CSS forces the space via min-height (which isn't blocked by traditional filters)

Modern uBO (Firefox/Chrome) uses:

:has() selector: ##div:has(> .adsbygoogle) → Removes entire container
CSS :empty ##div.tdi_58:empty → Cleans up leftovers
JS-based anti-adblock reversal (not possible in XUL)

Pale Moon's limitation: Its engine (Goanna) lacks these modern CSS4 features.
Night Wing wrote:
2025-05-19, 17:02
No. I do not get any blank spaces.
Thank you. This makes me hopeful that most of the above AI text is nonsense, and there is some unusual conflict in my filterlists setup which I'll have to look into.
Last edited by back2themoon on 2025-05-19, 17:51, edited 2 times in total.

User avatar
sidology
Fanatic
Fanatic
Posts: 102
Joined: 2021-12-04, 22:07

Re: uBlock Origin Legacy wishlist/feature requests

Unread post by sidology » 2025-05-19, 17:40

back2themoon wrote:
2025-05-19, 17:22
What I am saying is that very recently an increasing amount of websites started showing these "blank spaces" / ad placeholders.
Did you disable "Parse and enforce cosmetic filters" in "Filter lists" tab?

User avatar
Gemmaugr
Fanatic
Fanatic
Posts: 138
Joined: 2025-02-03, 07:55

Re: uBlock Origin Legacy wishlist/feature requests

Unread post by Gemmaugr » 2025-05-19, 17:41

back2themoon wrote:
2025-05-19, 17:22
Night Wing wrote:
2025-05-19, 17:02
No. I do not get any blank spaces.
Thank you. This makes me hopeful that most of the above AI text is nonsense, and there is some unusual conflict in my filterlists which I'll have to look into.
Just to confirm it twice, and with the added showing of the screenshots. I do not get these blank spaces either.

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2895
Joined: 2012-08-19, 20:32

Re: uBlock Origin Legacy wishlist/feature requests

Unread post by back2themoon » 2025-05-19, 17:47

sidology wrote:
2025-05-19, 17:40
Did you disable "Parse and enforce cosmetic filters" in "Filter lists" tab?
Nope.
Gemmaugr wrote:
2025-05-19, 17:41
Just to confirm it twice, and with the added showing of the screenshots. I do not get these blank spaces either.
Thanks.

User avatar
sidology
Fanatic
Fanatic
Posts: 102
Joined: 2021-12-04, 22:07

Re: uBlock Origin Legacy wishlist/feature requests

Unread post by sidology » 2025-05-19, 18:05

sshot-1.png
You do not have the required permissions to view the files attached to this post.

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2895
Joined: 2012-08-19, 20:32

Re: uBlock Origin Legacy wishlist/feature requests

Unread post by back2themoon » 2025-05-19, 18:19

Sidology, you've already asked that and I answered. We have the same, default settings there. "Parse and enforce cosmetic filters" is ticked/enabled etc. Can't make it any clearer than that. ;)

User avatar
Gemmaugr
Fanatic
Fanatic
Posts: 138
Joined: 2025-02-03, 07:55

Re: uBlock Origin Legacy wishlist/feature requests

Unread post by Gemmaugr » 2025-05-19, 19:08

back2themoon wrote:
2025-05-19, 17:47
sidology wrote:
2025-05-19, 17:40
Did you disable "Parse and enforce cosmetic filters" in "Filter lists" tab?
Nope.
Gemmaugr wrote:
2025-05-19, 17:41
Just to confirm it twice, and with the added showing of the screenshots. I do not get these blank spaces either.
Thanks.
Not sure it this will help, but here are the filterlists I'm using (which I'm sure is a mess, not to mention having to zoom out to 60% to get them all in one):
You do not have the required permissions to view the files attached to this post.

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2895
Joined: 2012-08-19, 20:32

Re: uBlock Origin Legacy wishlist/feature requests

Unread post by back2themoon » 2025-05-19, 19:22

Thanks, Gemmaugr. I will check them out. It is a bit of a mess though, since you have some duplicates and overlapping filters (EasyList + Optimized, also check EasyList - Other Annoyances and the last "Online Malicious..." both of which indicate they are not being used. Probably due to overlap with other filterlists or even dead links. Look for significant differences between the "Used" and "out of" numbers.

You also have a lot of filters in total. I seem to remember reading somewhere that going over 500.000 may cause uBO to struggle. But perhaps that's only valid for my ancient CPU.

User avatar
UCyborg
Lunatic
Lunatic
Posts: 358
Joined: 2019-01-10, 09:37
Location: Slovenia

Re: uBlock Origin Legacy wishlist/feature requests

Unread post by UCyborg » 2025-05-20, 13:44

In case of uBO filter lists, less is more.

Goodydino
Keeps coming back
Keeps coming back
Posts: 902
Joined: 2017-10-10, 21:20

Re: uBlock Origin Legacy wishlist/feature requests

Unread post by Goodydino » 2025-05-20, 20:21

back2themoon wrote:
2025-05-19, 15:44
Thanks. Yes, the website works fine. The problem is with the blank spaces. So, you are not getting these?
space1.png
space2.png
There is a setting in uBlock Origin "Hide placeholders of blocked elements". Why not use that? It works for me.

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2895
Joined: 2012-08-19, 20:32

Re: uBlock Origin Legacy wishlist/feature requests

Unread post by back2themoon » 2025-05-20, 20:31

That's a default setting and I haven't touched it. It is enabled.

person45
Fanatic
Fanatic
Posts: 111
Joined: 2017-10-20, 07:00

Re: uBlock Origin Legacy wishlist/feature requests

Unread post by person45 » 2025-05-24, 04:23

back2themoon wrote:
2025-05-19, 09:16
the latest, non-beta release.
Thank you. 1.16.6.0 is working while I'm signed on to youtube.