trackerninja.codeberg.page makes Palemoon lagging

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.

Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
User avatar
KSAKS
Apollo supporter
Apollo supporter
Posts: 42
Joined: 2019-02-21, 09:44

trackerninja.codeberg.page makes Palemoon lagging

Post by KSAKS » 2026-01-21, 12:15

This website https://trackerninja.codeberg.page behaves very slow in Palemoon and makes the browser lagging. I tested same website in Firefox 115 ESR based TOR Browser and there it is not lagging at all. I'm testing it in Palemoon 34.0.0 64bit Portable with default settings and no addons.

User avatar
KSAKS
Apollo supporter
Apollo supporter
Posts: 42
Joined: 2019-02-21, 09:44

Re: trackerninja.codeberg.page makes Palemoon lagging

Post by KSAKS » 2026-01-22, 18:50

Seems to be caused by something in the website CSS. If I block https://trackerninja.codeberg.page/css/style.css then there is no slowdown. Just all that fancy crap there is of course not loaded and page layout is little bit broken.

User avatar
adoxa
Astronaut
Astronaut
Posts: 580
Joined: 2019-03-16, 13:26
Location: Qld, Aus.

Re: trackerninja.codeberg.page makes Palemoon lagging

Post by adoxa » 2026-01-22, 23:51

Here's a Modify HTTP Response filter to remove animations (all of them, there's too many to bother tracking down any in particular).

Code: Select all

[["trackerninja.codeberg.page",["/css/style.css",["/animation:/g","x-$&"]]]]

User avatar
KSAKS
Apollo supporter
Apollo supporter
Posts: 42
Joined: 2019-02-21, 09:44

Re: trackerninja.codeberg.page makes Palemoon lagging

Post by KSAKS » 2026-01-23, 05:32

adoxa wrote:
2026-01-22, 23:51
Here's a Modify HTTP Response filter to remove animations (all of them, there's too many to bother tracking down any in particular).

Code: Select all

[["trackerninja.codeberg.page",["/css/style.css",["/animation:/g","x-$&"]]]]
Thanks, but tt is still slow even if I use this filter, but yes that is actually what I was planning to remove all the crap in the css this or other way, because it doesn't hurt and stress only my browser, but as well my eyes and brain. Actually I'm wondering why it is even allowed to modify basic controls of the browser like the scrollbar with CSS. Such thing should be possible to fully disable in the browser and don't allow crazy web developers to touch basic browser controls.

On the other side it works smoothly in other browsers, so PM should handle it as well if something like that unfortunately exists.

User avatar
KSAKS
Apollo supporter
Apollo supporter
Posts: 42
Joined: 2019-02-21, 09:44

Re: trackerninja.codeberg.page makes Palemoon lagging

Post by KSAKS » 2026-01-23, 08:14

If I try /background:/g to x-$& then there is no more lagging. Question is what part exactly is doing that, because there are lot of hits inside the css for background.

edit: So it is caused by background: linear-gradient parts in the CSS. This fixes the slowdown:

Code: Select all

/background:\s*linear-gradient\([^)]*\)/g

Code: Select all

x-$&
edit2:
This is the final Modify HTTP Response filter to remove the lagging and most annoying crap on this website:

Code: Select all

[["trackerninja.codeberg.page",["/css/style.css",["/animation:/g","x-$&","/background:\\s*linear-gradient\\([^)]*\\)/g","x-$&","/::?-webkit-scrollbar[^}]*\\}|\\@keyframes\\s+rgbScroll\\s*\\{[^}]*\\}/g",""]]]]

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

Re: trackerninja.codeberg.page makes Palemoon lagging

Post by Moonchild » 2026-01-23, 09:32

I tried running a css stress test in case it was one particular class causing the issue but the results were inconclusive. so I don't really have an idea. There's way too much going on on that page to just start stabbing randomly at styles.
"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
Moonchild
Project founder
Project founder
Posts: 38825
Joined: 2011-08-28, 17:27
Location: Sweden

Re: trackerninja.codeberg.page makes Palemoon lagging

Post by Moonchild » 2026-01-23, 10:20

Linear gradients shouldn't be a problem per se, but they can be expensive if you have hundreds of individual, non-repeating gradients on a page (especially if stacked, like the page seems to do). I never got around to parallelizing this (and normally this wouldn't be needed). So it's pretty much a corner case.
"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
KSAKS
Apollo supporter
Apollo supporter
Posts: 42
Joined: 2019-02-21, 09:44

Re: trackerninja.codeberg.page makes Palemoon lagging

Post by KSAKS » 2026-01-23, 10:33

Moonchild wrote:
2026-01-23, 10:20
Linear gradients shouldn't be a problem per se, but they can be expensive if you have hundreds of individual, non-repeating gradients on a page (especially if stacked, like the page seems to do). I never got around to parallelizing this (and normally this wouldn't be needed). So it's pretty much a corner case.
Thank you for answer Moonchild and yeah I fully agree and understand. Basically I solved the problem for me by the replace filter above (+ I added some more custom blocking there, because I really hate such blinking and similar crap). While I was doing the tests, the webpage also few times fully crashed PM, but I'm unable to reproduce it.