Fixed Eclipsed Moon Extension

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

Moderators: FranklinDM, Lootyhoof

User avatar
laki2
Hobby Astronomer
Hobby Astronomer
Posts: 21
Joined: 2025-04-13, 20:13

Fixed Eclipsed Moon Extension

Post by laki2 » 2026-01-12, 22:30

Hi everyone,

Recently I was thinking a bit about developing some extensions and themes for pale moon.

For now, I have just fixed the Eclipsed Moon extension (a user agent switcher), because I tried using it and noticed that it wasn't working since pale moon changed the way it handles the user agent. I also noticed (albeit after fixing it, I'm not sure if the original version works) that it doesn't work with basilisk, so I managed to fix that as well (testing still needed).

Now how do I get the modified extension published? I wouldn't mind maintaining the extension, but I cannot provide any guarantees as I am not very experienced yet.

Can I share the extension here for someone to test? :think:

Thanks! :D

User avatar
UCyborg
Astronaut
Astronaut
Posts: 726
Joined: 2019-01-10, 09:37
Location: Slovenia

Re: Fixed Eclipsed Moon Extension

Post by UCyborg » 2026-01-12, 23:04

Other people have shared their modified extensions here as well, I don't think it's a problem.

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

Re: Fixed Eclipsed Moon Extension

Post by moonbat » 2026-01-12, 23:29

User agent switchers are of no use from a privacy perspective and will only break websites. It's a waste of time trying to fix this extension in particular. Pale Moon already has site specific overrides for individual sites that break because of UA sniffing. There are multiple other ways to uniquely identify an individual browser than merely looking at the user agent, you're better off with a properly configured adblocker.
"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
Jabber: moonbat@hot-chili.net

Falna
Astronaut
Astronaut
Posts: 541
Joined: 2015-08-23, 17:56
Location: UK / France

Re: Fixed Eclipsed Moon Extension

Post by Falna » 2026-01-13, 13:34

laki2 wrote:
2026-01-12, 22:30
Recently I was thinking a bit about developing some extensions and themes for pale moon....
Now how do I get the modified extension published? I wouldn't mind maintaining the extension, but I cannot provide any guarantees as I am not very experienced yet.
Cool!

The information here will be useful: READ FIRST when you want to publish add-ons.

Forked extensions :
● Add-ons Inspector ● Auto Text Link ● Copy As Plain Text ● Copy Hyperlink Text ● FireFTP button replacement ● gSearch Bar ● Navigation Bar Enhancer ● New Tab Links ● Number Tabs ● Print Preview Button and Keyboard Shortcut 2 ● Scrollbar Search Marker ● Simple Marker ● Tabs To Portfolio ● Update Alert ● Web Developer's Toolbox ● Zap Anything

Hint: If you expect a reply to your PM, allow replies...

User avatar
laki2
Hobby Astronomer
Hobby Astronomer
Posts: 21
Joined: 2025-04-13, 20:13

Re: Fixed Eclipsed Moon Extension

Post by laki2 » 2026-01-13, 16:41

moonbat wrote:
2026-01-12, 23:29
User agent switchers are of no use from a privacy perspective and will only break websites. It's a waste of time trying to fix this extension in particular. Pale Moon already has site specific overrides for individual sites that break because of UA sniffing. There are multiple other ways to uniquely identify an individual browser than merely looking at the user agent, you're better off with a properly configured adblocker.
I already fixed the extension, which took about 15 minutes. One of the main motivations was simply that it hadn’t been updated in nearly 10 years and was still being distributed on the Pale Moon addons site despite being broken on current versions. Keeping obviously non functional extensions around helps no one, and it’s safe to assume there are users who still find this functionality useful (I have seen some forum posts).

When it comes to the usability of websites, most websites will work fine with a modified user agent. I can modify the addon to ignore sites with an override.

An issue with UA switching is that it can become ineffective when switching the user agent for a specific website too often/at all, since the website will know what IP the requests are coming from anyway, linking your browsing sessions and making it obvious that you are switching the UA. This can be mitigated by enabling a whitelist from the UA rotation.

From a privacy perspective, UA switching alone is insufficient, as is poisoning canvas data, but when used together with other fingerprint reduction techniques (cookies, font, canvas, etc) it can be pretty powerful. The Pale Moon user agent is very unique and will make you stick out like a sore thumb when a website which uses it for tracking/spying inevitably looks at it (increases fingerprintability)

I have done some research, and it is pretty easy to detect when a user agent has been modified (e.g. pale moon browser displaying other information as Firefox does, even if it uses a Firefox user agent string). This remains an issue.

By the way, of course I use an ad-blocker/content blocker (nMatrix), I don't think anyone should browse the web without one. However a user agent is still logged and used even with an ad-blocker installed.

User avatar
FranklinDM
Add-ons Team
Add-ons Team
Posts: 643
Joined: 2017-01-14, 02:40
Location: Philippines

Re: Fixed Eclipsed Moon Extension

Post by FranklinDM » 2026-01-13, 17:29

laki2 wrote:
2026-01-13, 16:41
One of the main motivations was simply that it hadn’t been updated in nearly 10 years and was still being distributed on the Pale Moon addons site despite being broken on current versions. Keeping obviously non functional extensions around helps no one, and it’s safe to assume there are users who still find this functionality useful (I have seen some forum posts).
Agreed.

I would also suggest rebranding or renaming the fixed extension, going beyond what was mentioned in the linked forum post. Once submitted, reviewed, and published, I will likely delist the original extension since it hasn't been updated since 2018 and even has a dead link to a file stored from the old add-ons site.

User avatar
laki2
Hobby Astronomer
Hobby Astronomer
Posts: 21
Joined: 2025-04-13, 20:13

Re: Fixed Eclipsed Moon Extension

Post by laki2 » 2026-01-13, 19:34

FranklinDM wrote:
2026-01-13, 17:29
Agreed.

I would also suggest rebranding or renaming the fixed extension, going beyond what was mentioned in the linked forum post. Once submitted, reviewed, and published, I will likely delist the original extension since it hasn't been updated since 2018 and even has a dead link to a file stored from the old add-ons site.
I liked the Eclipsed Moon name, but I guess I could add my name and some other branding? Or do you have any suggestions for a better name? I have made a Phoebus Panel account and will submit it soon after a bit more testing/development!

jarsealer
Moonbather
Moonbather
Posts: 67
Joined: 2025-08-03, 23:56

Re: Fixed Eclipsed Moon Extension

Post by jarsealer » 2026-01-13, 20:57

I have some suggestions I suppose: Crescent(ic) Moon or Cloaked Moon.
Pale Moon, Basilisk and SeaLion arm64 user, on Raspberry Pi 5 (8 GB RAM)

Falna
Astronaut
Astronaut
Posts: 541
Joined: 2015-08-23, 17:56
Location: UK / France

Re: Fixed Eclipsed Moon Extension

Post by Falna » 2026-01-13, 21:09

laki2 wrote:
2026-01-13, 19:34
Or do you have any suggestions for a better name?
Switched Moon, to reflect what it does?

Forked extensions :
● Add-ons Inspector ● Auto Text Link ● Copy As Plain Text ● Copy Hyperlink Text ● FireFTP button replacement ● gSearch Bar ● Navigation Bar Enhancer ● New Tab Links ● Number Tabs ● Print Preview Button and Keyboard Shortcut 2 ● Scrollbar Search Marker ● Simple Marker ● Tabs To Portfolio ● Update Alert ● Web Developer's Toolbox ● Zap Anything

Hint: If you expect a reply to your PM, allow replies...

User avatar
laki2
Hobby Astronomer
Hobby Astronomer
Posts: 21
Joined: 2025-04-13, 20:13

Re: Fixed Eclipsed Moon Extension

Post by laki2 » 2026-01-14, 11:47

Not sure which name is better :think:

User avatar
Moonchild
Project founder
Project founder
Posts: 38838
Joined: 2011-08-28, 17:27
Location: Sweden

Re: Fixed Eclipsed Moon Extension

Post by Moonchild » 2026-01-14, 12:41

Maybe "Moon Agent"/"Moonagent" or something if you want to stick with the "Moon" moniker.
"There is no point in arguing with an idiot, because then you're both idiots." - 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
laki2
Hobby Astronomer
Hobby Astronomer
Posts: 21
Joined: 2025-04-13, 20:13

Re: Fixed Eclipsed Moon Extension

Post by laki2 » 2026-01-14, 16:52

I think I'll go for cloaked moon but hey I may change it up later as im not gonna publish it just yet! It's not a big deal anyway :lol: