r/firefox • u/12Emil34 • 3d ago
Solved Massive cpu usage by blocking gstatic
I hope this is the correct place to ask. Because of privacy concerns I am blocking gstatic with the NoScript extension. Opening a video page on youtube (not on the homepage though) leads to constant massive cpu load which disappears on allowing gstatic. In the network tab I see hundreds of blocked requests to gstatic per second, which I assume is the culprit.
Is there any way to fix this without just allowing it? Maybe block it somehow differently? gstatic is quite the notorious tracker, allowing it permanently is not an option.
0
Upvotes
5
u/SSUPII on 3d ago
Gstatic is the main Google CND for images, scripts, and other general assets. Youtube is currently surviving on your system thanks to them being cached, but scripts especially are updated daily and another script is infinitely retrying on failure to update.
Youtube will eventually break if you don't let it update its assets. Either allow it or don't use the official Youtube frontend.
1
u/Anon-7878 3d ago
You're triggering a retry loop because yt expects to load a resource from gstatic. What's the exact URL in network tab? You could use uBO to block individual requests instead of noscript blocking the entire domain.
0
u/FckXFckMusk 3d ago
Maybe block the .js file that has the code that does this
-5
u/AnyPortInAHurricane 3d ago
you want to engage on the most public place in the universe but maintain 100% privacy ?
no one cares what you're doing