Has performance improved on heavier "javascript all the things!" websites?

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
User avatar
browserman
Newbie
Newbie
Posts: 3
Joined: 2026-01-06, 16:05

Re: Has performance improved on heavier "javascript all the things!" websites?

Post by browserman » 2026-01-06, 16:29

Hi, related to this,
I am constantly enabling/disabling javascript in about:config, since disabling it means 10 times faster browsing or so, aside from the fact added privacy of not having scripts running, but need to enable as soon as some site requires it. So my suggestion is to have a button in the browser to enable/disable javascript. I think Firefox had such a button long long time ago. So what do you other people here think about this? Just wanted to lift the idea.

User avatar
Gemmaugr
Lunatic
Lunatic
Posts: 381
Joined: 2025-02-03, 07:55

Re: Has performance improved on heavier "javascript all the things!" websites?

Post by Gemmaugr » 2026-01-06, 18:07

browserman wrote:
2026-01-06, 16:29
Hi, related to this,
I am constantly enabling/disabling javascript in about:config, since disabling it means 10 times faster browsing or so, aside from the fact added privacy of not having scripts running, but need to enable as soon as some site requires it. So my suggestion is to have a button in the browser to enable/disable javascript. I think Firefox had such a button long long time ago. So what do you other people here think about this? Just wanted to lift the idea.
https://addons.palemoon.org/addon/togglejscript/

User avatar
browserman
Newbie
Newbie
Posts: 3
Joined: 2026-01-06, 16:05

Re: Has performance improved on heavier "javascript all the things!" websites?

Post by browserman » 2026-01-07, 19:16

Gemmaugr wrote:
2026-01-06, 18:07
browserman wrote:
2026-01-06, 16:29
Hi, related to this,
I am constantly enabling/disabling javascript in about:config, since disabling it means 10 times faster browsing or so, aside from the fact added privacy of not having scripts running, but need to enable as soon as some site requires it. So my suggestion is to have a button in the browser to enable/disable javascript. I think Firefox had such a button long long time ago. So what do you other people here think about this? Just wanted to lift the idea.
https://addons.palemoon.org/addon/togglejscript/
Great! Thank you (although I had hoped everone wanted this as standard feature :) )

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

Re: Has performance improved on heavier "javascript all the things!" websites?

Post by moonbat » 2026-01-07, 22:21

browserman wrote:
2026-01-07, 19:16
although I had hoped everone wanted this as standard feature
Most modern websites are unusable if you completely disable javascript, it's a crude hammer compared to using an adblocker that will get rid of unwanted ads and tracking scripts. Anyhow the point of having an extension system is because if you ask n users for what features they consider important, you'll get n different replies. Makes no sense to bloat the browser with features that are better off as extensions, for those that want them as in your case.
Pale Moon's strength is its powerful extension system that Firefox chose to ditch in 2017; you can customize it as much or as little as you want. For some people just an adblocker is enough, for others like me there's over a hundred extensions installed without any problems of slowness. For still others that may be using the browser on an isolated network with no internet access, makes no sense to forcibly integrate an adblocker the way other browsers do.
Pale Moon's motto of "Your browser your way" isn't an empty slogan.
"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

User avatar
Mæstro
Keeps coming back
Keeps coming back
Posts: 798
Joined: 2019-08-13, 00:30
Location: Casumia

Re: Has performance improved on heavier "javascript all the things!" websites?

Post by Mæstro » 2026-01-08, 22:09

moonbat wrote:
2026-01-07, 22:21
Most modern websites are unusable if you completely disable javascript,
Among the benefits of abandoning NoScript which I have noticed is that websites which would break if NoScript is used to block JavaScript will run properly if µBlock is used for the same purpose instead. The most prominent example known to me is Pixiv.
Life is a fever dream Mæstro would enjoy.
All posts 100% organic. Ash is the best letter.
What is being nice online?
Debian 10 ELTS / Official PM build

User avatar
andyprough
Board Warrior
Board Warrior
Posts: 1242
Joined: 2020-05-31, 04:33

Re: Has performance improved on heavier "javascript all the things!" websites?

Post by andyprough » 2026-01-08, 22:44

browserman wrote:
2026-01-06, 16:29
Hi, related to this,
I am constantly enabling/disabling javascript in about:config, since disabling it means 10 times faster browsing or so, aside from the fact added privacy of not having scripts running, but need to enable as soon as some site requires it. So my suggestion is to have a button in the browser to enable/disable javascript. I think Firefox had such a button long long time ago. So what do you other people here think about this? Just wanted to lift the idea.
You are the type of person that would get a huge amount of mileage out of using the eMatrix extension: https://addons.palemoon.org/addon/ematrix/

Most people don't want to fiddle with enabling and disabling scripting from different domains for each individual website, but if you are willing to do the work to determine the minimum amount of scripts that should be allowed per site, you could lock those per-site settings down and have a greatly improved browsing experience.

User avatar
frostknight
Keeps coming back
Keeps coming back
Posts: 828
Joined: 2022-08-10, 02:25

Re: Has performance improved on heavier "javascript all the things!" websites?

Post by frostknight » 2026-01-10, 09:39

Mæstro wrote:
2026-01-08, 22:09
Among the benefits of abandoning NoScript which I have noticed is that websites which would break if NoScript is used to block JavaScript will run properly if µBlock is used for the same purpose instead.
I was a heavy user of noscript for a long time, until I learned of ematrix.

Its pretty darn good.

I refuse to allow javascript to have full power on my computer tho lol
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
__NM64__
Lunatic
Lunatic
Posts: 397
Joined: 2013-10-17, 05:29
Location: minus 4 hours UTC

Re: Has performance improved on heavier "javascript all the things!" websites?

Post by __NM64__ » 2026-01-15, 02:03

Other than the javascript-based "making sure you're not a bot!" checks that have become rather prevalent in the last year, I actually find that websites today are more likely to be usable at all when javascript is disabled than maybe 5 years ago?

If I remember correctly I think it has something to do with download speed and processing time, i.e. basically trying to be able to display content your page sooner as an almost "placeholder" when it's not yet fully loaded (presumably because the increase in high-end CPU performance in both PC and mobile and availability of ultra-fast internet co-exists with consumers keeping older devices for longer than ever and the seemingly never-ending growing popularity of mobile in developing countries and ever-present reality that internet speeds can be literally an order of magnitude slower in even rural developed countries)
Mæstro wrote:
2026-01-08, 22:09
Among the benefits of abandoning NoScript which I have noticed is that websites which would break if NoScript is used to block JavaScript will run properly if µBlock is used for the same purpose instead. The most prominent example known to me is Pixiv.
As a rather heavy consumer of pixiv and also a user of if µBlock, can you clarify this? Do you just mean using standard µBlock in its largely default arrangement as-is, or do you mean doing something fancier and custom?
CPU: Xeon E3-1285 v4 (4c/8t Broadwell/Intel 5th gen) @ 3.7GHz 1.152v (3.4GHz uncore)
GPU: Intel integrated Iris Pro Graphics P6300
RAM: 4x8GB Corsair Vengence @ DDR3-1600
OS: Linux Mint Xfce + [VM] Win7 SP1 x64 

User avatar
Mæstro
Keeps coming back
Keeps coming back
Posts: 798
Joined: 2019-08-13, 00:30
Location: Casumia

Re: Has performance improved on heavier "javascript all the things!" websites?

Post by Mæstro » 2026-01-15, 14:09

__NM64__ wrote:
2026-01-15, 02:03
As a rather heavy consumer of pixiv and also a user of if µBlock, can you clarify this? Do you just mean using standard µBlock in its largely default arrangement as-is, or do you mean doing something fancier and custom?
Advanced mode enabled with the following rules, of which all but the last are global:

Code: Select all

* * 1p-script block
* * 3p block
* * 3p-frame block
* * 3p-script block
* * image noop
* * inline-script block
www.pixiv.net pximg.net * noop
I get better results on a test page this way than clicking to disable scripts in µBlock’s default interface on the lower right.
Life is a fever dream Mæstro would enjoy.
All posts 100% organic. Ash is the best letter.
What is being nice online?
Debian 10 ELTS / Official PM build

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

Re: Has performance improved on heavier "javascript all the things!" websites?

Post by UCyborg » 2026-01-15, 22:47

https://www.half-life.com/en/halflife/25th hogs my CPU 100% (4 cores) with zero JavaScript. To be fair, it does with Chromium too, but at least there things still animate while on Pale Moon, it's all a slideshow. The game which the page is about works much better.

User avatar
frostknight
Keeps coming back
Keeps coming back
Posts: 828
Joined: 2022-08-10, 02:25

Re: Has performance improved on heavier "javascript all the things!" websites?

Post by frostknight » 2026-01-16, 00:20

UCyborg wrote:
2026-01-15, 22:47
https://www.half-life.com/en/halflife/25th hogs my CPU 100% (4 cores) with zero JavaScript. To be fair, it does with Chromium too, but at least there things still animate while on Pale Moon, it's all a slideshow. The game which the page is about works much better.
I just visited the website and i have no lag that I can see...

Though I am using palemoon + linux tho with an i5-8250u and i have most javascript blocked, not all.
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
Gemmaugr
Lunatic
Lunatic
Posts: 381
Joined: 2025-02-03, 07:55

Re: Has performance improved on heavier "javascript all the things!" websites?

Post by Gemmaugr » 2026-01-16, 07:54

UCyborg wrote:
2026-01-15, 22:47
https://www.half-life.com/en/halflife/25th hogs my CPU 100% (4 cores) with zero JavaScript. To be fair, it does with Chromium too, but at least there things still animate while on Pale Moon, it's all a slideshow. The game which the page is about works much better.
Only blocking google Youtube on that site, the page still spam dozens of "reflow: 0ms function trigger, jquery-3.4.1.min.js line 2" every second. That is most likely the cause me thinks.

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

Re: Has performance improved on heavier "javascript all the things!" websites?

Post by UCyborg » 2026-01-16, 07:57

Task Manager looks like this on work laptop, 4 core Intel with Hyper-Threading. The site animates, but turns to a slideshow if Pale Moon is pinned only to 4 real cores.

Image

This article still heavily applies to modern web development: Software disenchantment

@Gemmaugr
You can turn off JavaScript in about:config, usage will still be high.

User avatar
Mæstro
Keeps coming back
Keeps coming back
Posts: 798
Joined: 2019-08-13, 00:30
Location: Casumia

Re: Has performance improved on heavier "javascript all the things!" websites?

Post by Mæstro » 2026-01-16, 22:04

UCyborg wrote:
2026-01-15, 22:47
https://www.half-life.com/en/halflife/25th hogs my CPU 100% (4 cores) with zero JavaScript. To be fair, it does with Chromium too, but at least there things still animate while on Pale Moon, it's all a slideshow. The game which the page is about works much better.
Not for me, but then again, I disable CSS animations now that I have cancelled my Fanbox subscriptions and no longer need it on any sites for them to render. :angel:
Life is a fever dream Mæstro would enjoy.
All posts 100% organic. Ash is the best letter.
What is being nice online?
Debian 10 ELTS / Official PM build

Lucio Chiappetti
Keeps coming back
Keeps coming back
Posts: 871
Joined: 2014-09-01, 15:11
Location: Milan Italy

Re: Has performance improved on heavier "javascript all the things!" websites?

Post by Lucio Chiappetti » 2026-01-16, 22:34

Looking at this thread reminds me a few years ago of a taxi driver imprecating against "those web pages stuffed with javascripts" A power user in disguise ? :D
The reasonable man adapts himself to the world: the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. (G.B. Shaw)

User avatar
frostknight
Keeps coming back
Keeps coming back
Posts: 828
Joined: 2022-08-10, 02:25

Re: Has performance improved on heavier "javascript all the things!" websites?

Post by frostknight » 2026-01-17, 00:55

UCyborg wrote:
2026-01-16, 07:57
Task Manager looks like this on work laptop, 4 core Intel with Hyper-Threading. The site animates, but turns to a slideshow if Pale Moon is pinned only to 4 real cores.

This article still heavily applies to modern web development: Software disenchantment
Hmm... could be a windows bug. I don't know what it would be though.

Looking here:

https://www.intel.com/content/www/us/en ... tions.html

It looks like it might be as fast as mine due to it being very high performance.

So I don't know why it would be clogged like that.

Very odd.
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
Moonchild
Project founder
Project founder
Posts: 38665
Joined: 2011-08-28, 17:27
Location: Sweden

Re: Has performance improved on heavier "javascript all the things!" websites?

Post by Moonchild » 2026-01-17, 07:28

If using intel integrated graphics, this might be a driver issue
"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