user.js not working properly Topic is solved

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
_JaSn
Newbie
Newbie
Posts: 5
Joined: 2026-05-05, 15:51

user.js not working properly

Post by _JaSn » 2026-05-05, 16:51

Operating system: Fedora KDE Plasma 43
Browser version: 34.2.2
32-bit or 64-bit browser?: 64-bit
Problem URL:
Browser theme (if not default): Micro Moon
Installed add-ons: eMatrix
Installed plugins: (about:plugins):

If possible, please include the output of help->troubleshooting information (as text):
**PASTE troubleshooting information here**

Additional notes
- I am using the extracted tarball to use Pale Moon, no installation.
- I am a new user, so forgive me if this is because of some silly mistake!

On my end, Pale Moon does not properly apply my user.js file. Here are the contents:

// user.js
user_pref("canvas.poisondata", true);
user_pref("device.sensors.enabled", false);
user_pref("dom.idle-observers-api.enabled", false);
user_pref("dom.keyboardevent.code.enabled", false);
user_pref("geo.enabled", false);

user_pref("layers.acceleration.enabled"; true);
user_pref("network.http.pipelining.aggressive", true);
user_pref("network.http.pipelining.max-optimistic-requests", 5);
user_pref("network.http.pipelining.maxreqests", 20);
user_pref("network.http.pipelining.maxsize", 240000);
user_pref("network.http.referer.spoofSource", true);
user_pref("network.http.referer.trimmingPolicy"; 2);
user_pref("network.http.referer.XOriginPolicy", 2);
user_pref("network.http.referer.XOriginTrimmingPolicy", 2);
user_pref("webgl.disabled", true);

What's strange is that this doesn't seem to be a matter of incorrect syntax, or file misplacement, or anything that could fundamentally just outright prevent the user.js from being read. In the first block, the prefs shown are applied; in the second block, they are not.
""The reasonable man adapts himself to the world. The unreasonable man persists in trying to adapt himself to the world. Therefore, all progress depends on unreasonable man."

_JaSn
Newbie
Newbie
Posts: 5
Joined: 2026-05-05, 15:51

Re: user.js not working properly

Post by _JaSn » 2026-05-05, 17:35

Forgot to mention that I also have Startpage as my search engine. Idk, could be important.
""The reasonable man adapts himself to the world. The unreasonable man persists in trying to adapt himself to the world. Therefore, all progress depends on unreasonable man."

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

Re: user.js not working properly

Post by Moonchild » 2026-05-05, 17:39

user_pref("layers.acceleration.enabled"; true);
You used a semicolon instead of a comma. so you broke the syntax/grammar rules, and the rest of the file wasn't parsed.
"Praise from a narcissistic person is always a poison dart. They don't share the stage, so discernment matters." - Dr. Ramani
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

_JaSn
Newbie
Newbie
Posts: 5
Joined: 2026-05-05, 15:51

Re: user.js not working properly

Post by _JaSn » 2026-05-05, 17:45

Oh wow, silly me, I did not see that. Thanks!
""The reasonable man adapts himself to the world. The unreasonable man persists in trying to adapt himself to the world. Therefore, all progress depends on unreasonable man."