Newbie-friendly steps for anyone attempting this on Windows - this is how I did it anyway:
Install Git, either installer or portable:
https://git-scm.com/
Install Python:
https://www.python.org/
On Windows, open Advanced System Settings (via Start Menu, or right-click/Properties on This PC)
Open Environment Variables
On System variables, double-click on Path (or single-click + Edit)
You need to add two lines here. Press New and insert this first line:
C:\Users\YourUserName\AppData\Local\Programs\Python\Python310\
(the 310 number is the currently installed Python version - it could be different, you need to navigate to that folder and verify)
Press New again and similarly add this second line: (again, mind the Python version no. and the correct user name)
C:\Users\YourUserName\AppData\Local\Programs\Python\Python310\Scripts\
Press OK to all Settings windows to close them
Open Git Bash (it's part of Git which you downloaded earlier)
Go to the linked uBlock Origin build instructions, or use the already provided message by andyprough.
You need to copy each code line in turn, paste it in the Git Bash window, press Enter, wait for it to finish and move on to the next code line. First line of code is:
Code: Select all
git clone https://github.com/gorhill/uBlock-for-firefox-legacy.git
All required 5 lines are in andyprough's message above. This process will download files so no firewall should prevent the process.
In the final line of code, you might get an error about zip not being available. If so, it means you won't have a ready-made .xpi file. You can create it yourself, easily. Locate the created
\uBlock-for-firefox-legacy\dist\build\uBlock0.firefox-legacy folder, open it, select all files and folders within and add them all to single .zip file, for example
uBlock0.firefox-legacy.zip. Rename .zip to .xpi and this is your final uBO extension file which can now be installed to Pale Moon.
Do not zip the uBlock0.firefox-legacy folder, you need to zip its contents.
If you used the portable version of Git, the uBlock-for-firefox-legacy folder should be within the folder where you extracted the portable Git version.
If you installed Git, well, I don't remember 100% and I've now uninstalled it. It should be somewhere within your C:\Users\YourUserName\ or C:\Users\YourUserName\Documents\ folders.
You will also find the uAssets folder next to it, but it's not required at this point. You can delete everything when you've created your final .xpi file (and verified it works). Backup your Pale Moon profile before doing anything. A Windows restore point wouldn't hurt either.
I'll just add that uBO is certainly one of the most important extensions out there - if not the most important.