Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider removing/disabling Idle Detection API #1659

Closed
nicolaasjan opened this issue Sep 23, 2021 · 25 comments
Closed

Consider removing/disabling Idle Detection API #1659

nicolaasjan opened this issue Sep 23, 2021 · 25 comments
Labels
discussion Not actionable yet; need community feedback question

Comments

@nicolaasjan
Copy link

Official Chromium now has a controversial feature called:
"Idle Detection API" (enabled by default).

You can check the internal page:
chrome://settings/content/idleDetection

Mozilla:
mozilla/standards-positions#453 (comment) (@tantek from Mozilla)
Apple:
https://lists.webkit.org/pipermail/webkit-dev/2020-October/031565.html

Can this "feature" be removed from Ungoogled Chromium or at least be set to disabled by default?

@networkException
Copy link
Member

I don't see why the feature should be removed from ungoogled-chromium. It appears to not be connected with any Google services and as such does not violate the objectives of this project. Privacy tweaks (as stated in the readme) are mainly available as opt in flags, the idle detection api can be disabled even easier by opening the settings.

@nicolaasjan
Copy link
Author

I don't see why the feature should be removed from ungoogled-chromium. It appears to not be connected with any Google services and as such does not violate the objectives of this project.

You've got a point there.

Privacy tweaks (as stated in the readme) are mainly available as opt in flags, the idle detection api can be disabled even easier by opening the settings.

That's why I also suggested to disable this new "feature" by default, as it is clearly a privacy issue.

@Ahrotahn
Copy link
Contributor

The idle detection api is permission-based like the others in the chrome://settings/content list, so it can't be used without the user's knowledge.
You can test it out on this site: https://idle-detection.glitch.me/
Clicking the Ephemeral checkbox should show a bubble asking if you'd like to allow or deny the site's usage of the api.

It would be weird to have just that one permission disabled by default instead of, for example, access to USB devices, location, camera, and microphone as well.

Personally I'd never grant a site usage for the majority of the entries there but I like knowing what sites are requesting those permissions and when, so I leave the radio buttons on 'ask'.

@PF4Public PF4Public added discussion Not actionable yet; need community feedback question labels Sep 25, 2021
@PF4Public
Copy link
Contributor

Given the ability to set this setting in your profile, which should be preserved for you, there seems to be very little benefit of disabling it via ungoogled-chromium patches.

@DutchPete
Copy link

It should be removed but it SHOULD be disabled by default. The reason is that many people won't even be aware of the toggle existing, so will inadvertently leave it to enabled. Since it is a privacy issue it does not make sense to have the default setting at enabled.

Switching the default setting to disabled surely is no big deal programming-wise?

@nicolaasjan
Copy link
Author

It should be removed but it SHOULD be disabled by default.

I think you mean:

It shouldn't be removed but it SHOULD be disabled by default.

Mozilla and Apple already decided that Firefox and Safari won't support the Idle Detection API, at least not in its current form because it has the potential for abuse.
Their engineers believe that the API may be abused for dark usage patterns or to run expensive computations when the device is idle (users tricked into clicking OK).

@networkException
Copy link
Member

Users tricked into clicking ok

ungoogled-chromium users are not in this group of users.

There is no need for the browser to disable it by default, you can change it in the settings easily. I would even go as far as to say that changing this default would defeat the object to keep the ungoogled-chromium experience close to chromium.

@DutchPete
Copy link

@nicolaasjan thanks for pointing out the typo: yes it should read should not.

@DutchPete
Copy link

@networkException

you can change it in the settings easily

I am fully aware of that, but with that policy you ignore the fact, as I pointed out, that many people won't even be aware of the toggle existing, so will inadvertently leave it to enabled. Since it is a privacy issue it does not make sense to have the default setting at enabled.

Since Ungoogled Chromium was created precisely to improve privacy by blocking/taking away certain Google privacy invading features, I cannot marry that noble principle with letting unsuspecting users fall into this trap, when it is so easy to provide that togglable protection upfront.

@nicolaasjan
Copy link
Author

ungoogled-chromium users are not in this group of users.

Most of them probably not, but not all of them, I'm afraid.

I would even go as far as to say that changing this default would defeat the object to keep the ungoogled-chromium experience close to chromium.

I get that, but IMO exceptions should be be considered when google makes controversial decisions like this.

@ltguillaume
Copy link

ltguillaume commented Sep 27, 2021

@DutchPete As far as I can see, there is no enabled. It's either disabled or ask (per site), which most definitely isn't the same as enabled.

What remains is whether Ungoogled Chromium should disable this by default by principle. I would be all for it, but as you can see by the extra privacy-related flags added to it, they're all disabled by default, so it's not the project's general approach.

@DutchPete
Copy link

they're all disabled by default

That being the case it makes even less sense to not disable this one too. After all, a site asking a browser user permission to know when they are using a device is highly unusual.

Moreover, “sites may convince users to give the permission”, something that is open to abuse. So, why not disable it, and if a user feels the need that certain sites may indeed “know”, that means the user is likely to have thought about it and to know what it means, in stark contrast to the unknowing user clicking “yes” to just keep browsing smoothly when a site asks.

@DutchPete
Copy link

I would even go as far as to say that changing this default would defeat the object to keep the ungoogled-chromium experience close to chromium.

In my view that statement does not make sense: considering all the privacy flags UC already has in place, you are arguing this single one destroys the Chromium experience? Come on.

@ltguillaume
Copy link

ltguillaume commented Sep 27, 2021

they're all disabled by default

That being the case it makes even less sense to not disable this one too.

That's not how you should read it: these extra flags are patches on top of the Chromium codebase, optionally giving you extra privacy features. They're disabled by default, which would translate directly to leaving the Idle Detection feature from the Chromium codebase untouched, i.e. ask-per-site.

Moreover, “sites may convince users to give the permission”, something that is open to abuse.

I agree with you on that. In my previous post I was trying to say that enabled isn't a state for that setting, so you shouldn't make it seem like that, that's confusing. Furthermore, I was trying to extrapolate the general approach to such stuff within this project towards this setting.

In my view that statement does not make sense: considering all the privacy flags UC already has in place, you are arguing this single one destroys the Chromium experience? Come on.

In place, but not enabled.

So, why not disable it, and if a user feels the need that certain sites may indeed “know”, that means the user is likely to have thought about it and to know what it means, in stark contrast to the unknowing user clicking “yes” to just keep browsing smoothly when a site asks.

I would generally like to see this approach in Ungoogled-Chromium to be honest, but I'm not sure it will ever come to this.

@DutchPete
Copy link

I would generally like to see this approach in Ungoogled-Chromium to be honest, but I'm not sure it will ever come.

Sure, it is for the devs to decide whether they want to implement it or not. Hopefully they are open to good, valid arguments, but at the end of the day we'll have to defer to them.

@ltguillaume
Copy link

I would generally like to see this approach in Ungoogled-Chromium to be honest, but I'm not sure it will ever come.

Sure, it is for the devs to decide whether they want to implement it or not. Hopefully they are open to good, valid arguments, but at the end of the day we'll have to defer to them.

A project that does have this philosophy is LibreWolf, based on Firefox, but inevitably this will break some sites. This is probably one of the reasons Ungoogled Chromium won't do it.

@DutchPete
Copy link

This is probably one of the reasons Ungoogled Chromium won't do it.

I doubt it because a number of other flags already in place also break sites.

@networkException
Copy link
Member

The important difference is that all those are opt in

@DutchPete
Copy link

The important difference is that all those are opt in

So, disabling Idle Detection API would be right in line with that philosophy and make the feature also an opt-in. Or do I misunderstand?

@nicolaasjan
Copy link
Author

FWIW, Brave disabled it.

@DutchPete
Copy link

@nicolaasjan Thanks, I know, I also use Brave.

@ghost
Copy link

ghost commented Sep 27, 2021

I heard about this via r/privacy. In the thread, a commenter said "WTF ??? I trusted this browser until now ! From now on I will stop recommending to anyone." It currently stands at ~170 upvotes, so there are at least ~170 people who have not responded but feel similarly. Please reconsider.

@networkException
Copy link
Member

For reference it is this comment: https://www.reddit.com/r/privacy/comments/pwkkbj/comment/hehr81w/?utm_source=share&utm_medium=web2x&context=3

I've already stated my reasoning why I personally don't see the need to disable this by default. The r/privacy community at least has a different opinion although I'm sure that if people would actually read the issue the outcry wouldn't be so loud.

I respect the community that has formed around this project and deeply believe in democracy for finding solutions. Even if I personally don't see the need for change as I already said I'm fine to approve such a change if other maintainers aggree

@Eloston
Copy link
Member

Eloston commented Sep 27, 2021

The current focus of ungoogled-chromium is not to address all the privacy issues in Chromium, but this is part of the larger, complex discussion about the project's vision I will be having with the collaborators in the future. There needs to be more clarity about what exactly ungoogled-chromium should encompass, since I've seen developers and the community get confused.

If the change is small enough, it should be fine to include it.

@Ahrotahn
Copy link
Contributor

It wouldn't be a complicated change to have the default set to disabled. The problem is that would only apply for new profiles. Anyone with an existing profile already has the setting set and would still have the permission set to 'ask' after the patch. I believe that has happened to some Brave users since there are some reports that it's not disabled for them. Making a patch to change that would be rather messy and prone to overwrite legitimately-set settings.

I don't mind making a PR to disable this but I'd also like to disable all of the other permissions at the same time. Any argument for someone accidentally allowing the permission for idle detection could equally be made for any of the other ones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Not actionable yet; need community feedback question
7 participants