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

Support YouTube "privacy-enhanced mode" (youtube-nocookie.com) #82

Closed
bershanskiy opened this issue Aug 6, 2019 · 6 comments
Closed

Comments

@bershanskiy
Copy link
Contributor

Summary

This extension already supports URLs like https://www.youtube.com/embed/* used for embedding YouTube in iframes on other pages, so I think it should also support URLs like https://www.youtube-nocookie.com/embed/* used for embedding videos in YouTube "privacy-enhanced mode".

Details

From official Google documentation (under "Turn on privacy-enhanced mode" dropdown):

Privacy Enhanced Mode allows you to embed YouTube videos without using cookies that track viewing behavior.
...
To use Privacy Enhanced Mode, change the domain for the embed URL in your HTML from https://www.youtube.com to https://www.youtube-nocookie.com...

youtube-nocookie.com is an official YouTube domain that serves videos for iframes without setting cookies. Some site administrators prefer these URLs over regular ones for simplifying compliance with EU regulations (e.g., cookie directive or GDPR). Some users install browser extensions or scripts that automatically switch the URL for a slight improvement in privacy (reducing behavioral tracking, but not the number of ads).

I believe it would be nice if this extension supported this mode as well, however, this feature might need to be optional because if users do not want to be tracked by YouTube, they might not want to be tracked by this extension. Note that it's already possible in modern Chrome/Chromium versions (user can individually disable sites under extension's permissions). Something similar should eventually land in Firefox.

@ajayyy
Copy link
Owner

ajayyy commented Aug 6, 2019 via email

@NDevTK
Copy link
Contributor

NDevTK commented Aug 7, 2019

@ajayyy I did :D should be the same as the "normal" domain

@ajayyy
Copy link
Owner

ajayyy commented Aug 11, 2019

Maybe some parts can be disabled on this domain?

@NDevTK
Copy link
Contributor

NDevTK commented Aug 11, 2019

Well I think its the same as http://www.youtube.com/embed
Hope after the UI change most things can be done without leaving the player

@ajayyy
Copy link
Owner

ajayyy commented Aug 11, 2019

I am referring to:

I believe it would be nice if this extension supported this mode as well, however, this feature might need to be optional because if users do not want to be tracked by YouTube, they might not want to be tracked by this extension. Note that it's already possible in modern Chrome/Chromium versions (user can individually disable sites under extension's permissions). Something similar should eventually land in Firefox.

@bershanskiy
Copy link
Contributor Author

@ajayyy Ultimately, there are two approaches: make access to youtube-nocookie.com required (install-time permission) or make it optional (runtime permission).
I'd prefer the install-time permission approach. @officialnoob already added URL regex to the array, that should make extension work on these videos (I haven't tested). However, I would also recommend disabling all automatic information collection, even if it is enabled globally. I'd leave enabled all information communication explicitly initiated by the user (including video reporting and casting votes on previously skipped segments) but would disable all information collection not initiated by the user (view count). Just consider adding this detail to the privacy policy.
Optional permissions are kinda a pain to do because you need to interact with the user more and most users do not care.

@ajayyy ajayyy closed this as completed Aug 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants