All Chromium browsers including Brave give special access to system/tab CPU/GPU only for Google domains

I have not seen that this was discussed before.
For those who don’t wanna go through X,

“Google Chrome gives all *.google.com sites full access to system / tab CPU usage, GPU usage, and memory usage. It also gives access to detailed processor information, and provides a logging backchannel.

This API is not exposed to other sites - only to *.google.com.
Brave also has the same behaviour as Chrome and Edge here. The extension that allows Google to retrieve this information exclusively from *.google.com is also pre-installed in Brave.”

1 Like

Ungoogled Chromium seems to exclude this “feature”.

3 Likes

Brave lets you disable this in its extensions settings, with this toggle.

Always wondered what it did. Glad I always disabled it.

Running this code in the dev console lets you test the API (from a comment on the HN discussion):

chrome.runtime.sendMessage(
    'nkeimhogjdpnpccoofpliimaahmaaome', {
        method: 'cpu.getInfo'
    }, response => {
        console.log('CPU Info:\n', JSON.stringify(response, null, 2));
    }
);

I tested this with the Hangouts extension on and off, and confirmed google sites can get the special info when it’s turned on, and not when turned off.

14 Likes

Ty 4 ur service. :heart::hugs: no need to uninstall Brave and panic :rofl:

1 Like

I'm shocked. Shocked! Well... not that shocked.

We do already tell people to disable that though. I don’t know why Brave doesn’t disable it by default :thinking:

6 Likes

I even worry to use electron apps just because they are based on chromium :smiley: :smiley:

3 Likes

Electron apps are often terrible, but not because of Chromium.

Tbh, I have disabled it so far just because it has name Google, but did not know that was the behaviour. :grinning:

Brave delivers:

Screenshot 2024-07-17 at 20.41.08

14 Likes