www.tomshardware.com buggy javascript

Shonk.

Reputable
May 22, 2020
14
2
4,515
I have noticed for a while when on the main tomsharware website my cpu pegged on 2 cpu cores

I decided to look into this tonight some of your javascript is buggy with firefox its either fine on chrome or chrome is limiting cpu use

any javascript with responsive.js in its name peg's 2 cpu cores

an example of a few (there are more than 3 btw)
https://vanilla.futurecdn.net/tomsh...s/header/impact-lazyload-format-responsive.js
https://widgets.future-fie.co.uk/js/w/responsive.js

I have had to resort to blocking these scripts with the following

||*responsive.js$script,domain=www.tomshardware.com

But this needs fixing

tomshardware.png
 

Colif

Win 11 Master
Moderator
I think this is being taken care of, they discovered it was using too much last weekend and its a problem with many websites run by Future.

It is mainly Firefox that it happens on, and only front pages. The forums are okay.

Disabling the javascript files that are loaded one by one shows me that it's the "responsive.js" file from "hawk.pcgqamer.com" that keeps CPU usage high.

from another future forum. Admin here are aware.
 
Last edited:
OK, just saw this thread. Yeah, I'm getting high CPU usage on the homepage using Firefox. Nice to see that someone else has seen it as well. I do hope Tom's fixes it soon; I'd hate to leave this site over bad web programming.

As of today, June 1, 2020, it still isn't fixed. Perhaps they feel their Firefox audience is low enough that they don't care or they don't feel it's worth the time investigating & fixing?
 

Colif

Win 11 Master
Moderator
As far as I know, its an error not intentional.

I am just a volunteer here, I know admin have asked the devs to look at it.

This year isn't normal so I could guess reason is any number of things.
 
Aug 4, 2020
1
0
10
I just signed up to say... goodbye.

It is pathetic that a tech site of all things can't seem to fix a simple problem like this.
I don't know what the issue is, but it has been months, so I can only conclude they simply don't care.
Someone kindly provided a line to block the responsible scripts, but it does not work for me.

I suspect nobody who needs to see this will ever see it buried here on the forum, but I've made the
attempt. Trying to leave feedback from the main page is an exercise in futility as one ends up on
a generic Future contact page where the possible topics are things like Advertising, Investors and
Press. Which speaks volumes all by itself.

So, regular visitor for the better part of 20 years checking out,
-paul
 

uerseya

Distinguished
Jul 17, 2010
7
0
18,510
It seems like any site owned by the same company, Toms Hardware and PC Gamer in my specific case are doing this.

If I have a either of those websites open as my active window then my CPU usage sits at 40-50%, using Firefox taskmanager shows a 'blob' object hogging resources.

Cryptomining???

If you completely disable Javascript the issue is resolved though images don't load, disabling individual scripts eventually give you:

https://www.tomshardware.com/cc.html

Or

https://www.pcgamer.com/cc.html

So what is happening? Why do any Future Publishing websites do this? Tech Radar's the same.

This isn't a Toms Hardware problem it's apparently something across multiple websites ... ?

Again Cryptomining???
 

Shonk.

Reputable
May 22, 2020
14
2
4,515
This is still happening it uses up 2 whole cpu cores
i suspect crypto mining

scummy

This is by design
back to blocking js on toms


Untitled.png