Waterfox-Classic icon indicating copy to clipboard operation
Waterfox-Classic copied to clipboard

https://chaturbate.com/ JavaScript freezes

Open rami123 opened this issue 3 years ago • 11 comments

https://chaturbate.com/ freezes in clean Firefox classic install version 2021.11

I get message: "a web page is slowing down your browser"

rami123 avatar Dec 23 '21 07:12 rami123

If you use block Origin block gstatic.com.

https://i.imgur.com/Mr2ctmn.jpg

Killogy avatar Dec 23 '21 09:12 Killogy

Firefox

So you're writing in wrong place. This isn't Mozilla's forum.

hawkeye116477 avatar Dec 23 '21 19:12 hawkeye116477

Firefox

So you're writing in wrong place. This isn't Mozilla's forum.

I'm sure he meant Watefox Classic 2021.11. This issue is only occurring under Waterfox Classic, under Waterfox G4 this issue is not reproduced.

Killogy avatar Dec 23 '21 19:12 Killogy

Yes I meant Watefox Classic 2021.11, not FireFox or Waterfox G4.

rami123 avatar Dec 23 '21 19:12 rami123

If you use block Origin block gstatic.com.

https://i.imgur.com/Mr2ctmn.jpg

@Killogy
I have blocked gstatic.com, but it does not help.

rami123 avatar Dec 24 '21 11:12 rami123

If you use block Origin block gstatic.com. https://i.imgur.com/Mr2ctmn.jpg

@Killogy I have blocked gstatic.com, but it does not help.

For me blocking only gstatic.com fixes this problem.

Blocking www.gstatic.com or www.google.com or google.com also fixes this problem, so test blocking some of those domains.

Killogy avatar Dec 24 '21 17:12 Killogy

you have to disable the explicit filter on gstatic.com to be able to block it per domain.

Squall-Leonhart avatar Feb 21 '22 07:02 Squall-Leonhart

Just a quick update, chatrubate is not that important, but I tried to understand better what is causing sites not to load. At least in this case when I whitelisted gstatic.com in ublock, chatrubate become slightly more responsive so ublock log could be used to see what runs. After I analyzed the log, I added this rule to uBlock My Filters and it solved the problem: ||www.gstatic.com/*.js$script,domain=chaturbate.com,important

This says that every java script that run on chaturbate.com and is originated from www.gstatic.com will be blocked. (Important tag at the end gives this rule priority over other rules)

Like many of you might know, other sites with problems like GitHub have other causes not work, like the need for Google Webcomponents that can be solved with Polly extension (https://github.com/WaterfoxCo/Waterfox-Classic/issues/41)

rami123 avatar Jun 28 '22 08:06 rami123

I looked into it, and the freeze is being caused by a mutation observer getting caught in an infinite loop. It looks like Bug 1428246 should fix it.

WaywardHeart avatar Jun 28 '22 19:06 WaywardHeart

I looked into it, and the freeze is being caused by a mutation observer getting caught in an infinite loop. It looks like Bug 1428246 should fix it.

Thanks

rami123 avatar Jun 29 '22 03:06 rami123

I looked into it, and the freeze is being caused by a mutation observer getting caught in an infinite loop. It looks like Bug 1428246 should fix it.

this looks like a right pain in the ass to bring over.

This says that every java script that run on chaturbate.com and is originated from www.gstatic.com will be blocked. (Important tag at the end gives this rule priority over other rules)

unfortunately not a great idea as this nasty site does some whacky things that leak memory if any scripts fail to load.

https://webcompat.com/issues/115500

Squall-Leonhart avatar Jun 02 '24 12:06 Squall-Leonhart