Welcome young old uBlockUXP

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

Moderators: Lootyhoof, FranklinDM

User avatar
Donieck69
Hobby Astronomer
Hobby Astronomer
Posts: 17
Joined: 2024-05-18, 10:35

Welcome young old uBlockUXP

Unread post by Donieck69 » 2025-04-09, 15:12

Hi
I am learning PHP and Javascript. I'm from Poland. I decided to form uBlock Origin legacy under the name uBlockUXP. Can you tell me what do you expect from this add-on?

This link for this repository https://github.com/Donieck/uBlockUXP . I won't change the licence, because it is very good!

I need tips and feedback, which improve this addon!!!

Thanks uCyborg and gorhill for these hard piece of work

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

Re: Welcome young old uBlockUXP

Unread post by back2themoon » 2025-04-09, 18:08

Hello and congratulations on your ambitious project.
Donieck69 wrote:
2025-04-09, 15:12
Can you tell me what do you expect from this add-on?
I think what everyone expects is for the UXP version to get some of the newer, important features from the current uBO version for Firefox, and make some of the filterlists that currently do not work, compatible with UXP again.

However, I am not sure if creating yet another fork is a good idea. This would be the fourth version, if we include JustOffs. Perhaps it'd be best to coordinate everyone's efforts into a single version, as discussed in the recent uBO topic? I mean, you suggested a few names there and went to create a fork anyway.

Furthermore, is this complex extension really ideal to use as a learning tool?

User avatar
Nigaikaze
Board Warrior
Board Warrior
Posts: 1336
Joined: 2014-02-02, 22:15
Location: Chicagoland

Re: Welcome young old uBlockUXP

Unread post by Nigaikaze » 2025-04-09, 20:45

I agree that focusing everyone's efforts on improving an existing version would be better than creating yet another fork.
Donieck69 wrote:
2025-04-09, 15:12
Thanks uCyborg and gorhill for these hard piece of work
And thank you JustOff. Don't forget JustOff.
Nichi nichi kore ko jitsu = Every day is a good day.

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 5583
Joined: 2015-12-09, 15:45

Re: Welcome young old uBlockUXP

Unread post by moonbat » 2025-04-10, 01:21

The one thing I would like from the current uBlock to be backported is the UI for the logger and filters. Best to combine efforts as back2themoon suggested.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
sinfulosd
Apollo supporter
Apollo supporter
Posts: 32
Joined: 2022-07-13, 03:01

Re: Welcome young old uBlockUXP

Unread post by sinfulosd » 2025-04-10, 03:49

There are A LOT of features that I'd expect them to be backported from the upstream version onto the UXP-based extension version, but the major ones are:
  • Utilizing the complete power and control that UXP offers into the addon, making it do stuff that are not possible to be done in the Webextension version, like tapping directly into the browser’s networking stack, allowing it to block, modify, or redirect requests even before they hit higher-level APIs.
  • Introduction of scriptlets like trusted-set-attr, trusted-override-element-method, and trusted-prevent-dom-bypass to enhance content manipulation capabilities.
  • Addition of urlskip= and ipaddress= options, providing more granular control over network filtering.
  • Support for EasyList's { remove: true } syntax and improvements to the spoof-css scriptlet.
  • Mitigations for delayed execution in Pale Moon and enhancements to scriptlets like prevent-setTimeout and prevent-setInterval.
  • Complete UI enhancements.
  • Backporting all the security and bugfixes.
Overall, I'd like to see all the changelog of the upstream version of uBlock origin onto the UXP-based one.

However, I do support back2themoon opinion of coordinating everyone's efforts into a single version, so I'd suggest you to just make a pull request into UCyborg's github page and post your own contribution into it.

We could make use of your skills onto other extensions for you to either fork or update to the latest upstream version counterpart. We have a lot of other extensions that are in need of some small refinements and pulling the latest features of their upstream counterparts into them, like Greasemonkey for Pale Moon. It won't require much effort and it's not a very complicated extension for you to use it as a learning experiment, making it a perfect start for you to understand how to apply latest features into it and making your first contribution into the community.
Linux Mint 22.1 x64 Cinnamon
Pale Moon 33.7.0, Firefox 137.0, Ungoogled Chromium 136.0

User avatar
frostknight
Astronaut
Astronaut
Posts: 572
Joined: 2022-08-10, 02:25

Re: Welcome young old uBlockUXP

Unread post by frostknight » 2025-04-10, 05:43

Nigaikaze wrote:
2025-04-09, 20:45
And thank you JustOff. Don't forget JustOff.
Agreed, he also helped a lot, I wonder if he is alive still.
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!

User avatar
Donieck69
Hobby Astronomer
Hobby Astronomer
Posts: 17
Joined: 2024-05-18, 10:35

Re: Welcome young old uBlockUXP

Unread post by Donieck69 » 2025-04-10, 07:27

Also thanks for JustOff.

User avatar
Donieck69
Hobby Astronomer
Hobby Astronomer
Posts: 17
Joined: 2024-05-18, 10:35

Re: Welcome young old uBlockUXP

Unread post by Donieck69 » 2025-04-10, 07:52

Is any UXP documentation ? Thanks for sharing this

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

Re: Welcome young old uBlockUXP

Unread post by UCyborg » 2025-04-10, 08:29

I wonder if taking the latest stable uBO as a base and reimplementing XUL browsers' specific platform code would be better approach at this point.

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 5583
Joined: 2015-12-09, 15:45

Re: Welcome young old uBlockUXP

Unread post by moonbat » 2025-04-10, 08:32

UCyborg wrote:
2025-04-10, 08:29
I wonder if taking the latest stable uBO as a base and reimplementing XUL browsers' specific platform code would be better approach at this point.
Sounds good - it would be a great help if the logger could be implemented as a sidebar or bottom bar like in the pure XUL Adblock Latitude (and original Adblock Plus for FF) instead of a separate tab.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

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

Re: Welcome young old uBlockUXP

Unread post by UCyborg » 2025-04-10, 09:06

Most people into development are pretty crazy, writing code for them is like breathing to us plain folks. And the base extension keeps changing. Maybe if you got the base XUL glue code together based on newer version, you could pull the other updates automatically.

User avatar
Donieck69
Hobby Astronomer
Hobby Astronomer
Posts: 17
Joined: 2024-05-18, 10:35

Re: Welcome young old uBlockUXP

Unread post by Donieck69 » 2025-04-10, 09:37

And the base extension keeps changing. Maybe if you got the base XUL glue code together based on newer version, you could pull the other updates automatically.
This is simple method looking very good.

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

Re: Welcome young old uBlockUXP

Unread post by UCyborg » 2025-04-10, 10:17

Not sure about simple, but XUL parts wouldn't be subject to frequent updates I think.

But I remember reading some history of the code and from what I understood, the codebase used to have some ugly bits to keep XUL support specifically, which were later removed. At least according to the author.
back2themoon wrote:
2025-04-09, 18:08
Furthermore, is this complex extension really ideal to use as a learning tool?
IMHO, anything to do with this browser is probably the worst to pick when starting out.

BenFenner
Keeps coming back
Keeps coming back
Posts: 823
Joined: 2015-06-01, 12:52
Location: US Southeast

Re: Welcome young old uBlockUXP

Unread post by BenFenner » 2025-04-10, 11:32

Donieck69 wrote:
2025-04-09, 15:12
Hi
Hello, and welcome!
Donieck69 wrote:
2025-04-09, 15:12
I am learning PHP
Cool. Cool cool cool cool. Beware the pitfalls. If you have questions along the way I have 13+ years experience and may be of some help.
Donieck69 wrote:
2025-04-09, 15:12
and Javascript.
My condolenses.

User avatar
Donieck69
Hobby Astronomer
Hobby Astronomer
Posts: 17
Joined: 2024-05-18, 10:35

Re: Welcome young old uBlockUXP

Unread post by Donieck69 » 2025-04-10, 11:59


User avatar
Donieck69
Hobby Astronomer
Hobby Astronomer
Posts: 17
Joined: 2024-05-18, 10:35

Re: Welcome young old uBlockUXP

Unread post by Donieck69 » 2025-04-10, 12:02

Beware the pitfalls. If you have questions along the way I have 13+ years experience and may be of some help.
Thanks for helpful hand

User avatar
sinfulosd
Apollo supporter
Apollo supporter
Posts: 32
Joined: 2022-07-13, 03:01

Re: Welcome young old uBlockUXP

Unread post by sinfulosd » 2025-04-10, 12:36

UCyborg wrote:
2025-04-10, 08:29
I wonder if taking the latest stable uBO as a base and reimplementing XUL browsers' specific platform code would be better approach at this point.
I have always thought of this approach as the sanest and most logical approach of them all, instead of relying on an extension that was made back in 2021 and very hard to pinpoint all the missing features and QoL changes that were implemented at that time. Last time I checked, the upstream version of uBlock Origin went through a lot of code cleanup, making it easier to backport its features.

I personally support this idea.
Linux Mint 22.1 x64 Cinnamon
Pale Moon 33.7.0, Firefox 137.0, Ungoogled Chromium 136.0

User avatar
Donieck69
Hobby Astronomer
Hobby Astronomer
Posts: 17
Joined: 2024-05-18, 10:35

Re: Welcome young old uBlockUXP

Unread post by Donieck69 » 2025-04-11, 09:19

Dear uCyborg,
you would have to communicate somehow!
I suggest to send me mail to daniel.8wp(at)wp.pl. this is my emergency email

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

Re: Welcome young old uBlockUXP

Unread post by UCyborg » 2025-04-13, 07:39

You're welcome to try yourself. This stuff is way over my head, I don't have a plan to attempt this by myself.

User avatar
frostknight
Astronaut
Astronaut
Posts: 572
Joined: 2022-08-10, 02:25

Re: Welcome young old uBlockUXP

Unread post by frostknight » 2025-04-14, 09:06

I hope you guys produce a new release at some point, we could use it whenever.

I would like it to be on feature parity of the new ublock origin and better if possible.

I cannot however help you, because I know very little on coding.

I mostly follow instructions to do what I need to do/want to do.
Off-topic:
That's how I installed Hyperbola GNU/Linux-Libre on a few computers.
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!