Warning: Some posts on this platform may contain adult material intended for mature audiences only. Viewer discretion is advised. By clicking ‘Continue’, you confirm that you are 18 years or older and consent to viewing explicit content.
It turns out Google Chrome ships a default, hidden extension that allows code on `*.google.com` access to private APIs, including your current CPU usage
You can test it out by pasting the following into your Chrome DevTools console on any Google page:
chrome.runtime.sendMessage(
"nkeimhogjdpnpccoofpliimaahmaaome",
{ method: "cpu.getInfo" },
(response) => {
console.log(JSON.stringify(response, null, 2));
},
);
More notes here: https://simonwillison.net/2024/Jul/9/hangout_servicesthunkjs/
It baffles me people use chrome.
Why? There was a time when chrome was significantly better, and most people hate change.
I remember back in the day everyone used Firefox. Then Chrome came out and there was a nice ad campaign and it was actually way faster.
Then slowly everyone switched to Chrome. At some point in the last 15 years, it switched to Firefox being superior.
I switched back to Firefox maybe like 7~ years ago? But I did it for open source reasons.