How can we stop Youtube from detecting our location on Firefox

I have tried everything I can think of to disable the geo location on my firefox browser. I edited everything I could find in the about:config, I even installed WRTC and still Youtube finds a way to detect my location and spam me with videos from my country (obviously without being logged in). The only working solution so far has been this stupid addon: Hoxx VPN - it’s not safe for privacy but I use it for testing purposes to see if I can deflect any IP tracking.

List of installed addons:

Hoxx VPN

Duckduckgo Essentials

Privacy Badger

uMatrix

uBlock Origins

Decentraleyes

Https Everywhere

Redirect AMP to HTML

Disable WebRTC (and WebRTC Leak Shield just as a backup)

I blocked access to location in options > preferences and in about:config I have changed the following:

geo.enable > false

geo.provider.ms-windows-location > false

Browser.search.region > change to another country initials

media.peerconnection.enabled > false

I have setup cookies to never be remembered, and everything related to cache and passwords to be wiped at every browser restart plus block all 3rd party scripts.

What more could I do?

EDIT: Seems the only sane solution is to run Tor + uBlock

In my case I run youtube on Tor with no logged credentians. My 50mpbs connection is good enought to provide 1080p video playback. When its not that good, I change the route and it works fine. My subscriptions are only bookmarks. Here I discover new content, by watching the recomendations generated by watching my own preferable content. On mobile, I set orbot to route Newpipe and I watch my fake subscriptions, service that the app provides. Im now used to watch in 480p without noticing and happy to have my privacy respected.

had the same problem.

check your language settings in firefox, make sure to only have english.

EDIT:

under general, you have the language section, click the “choose” button, remove every language but english, then check the “Request English versions of web pages for enhanced privacy” checkbox.

Yes, but this is becoming ridiculous. This should be a simple solution to turn of this type of tracking! There is something obvious in the Browser that can disable this, but I have no clue what.

Yeah, it’s a bit of a hassle but this is kind of the only safe way!

Request English versions of web pages for enhanced privacy

I can’t seem to locate this option in my settings. I’m using FF Quantum 66.0 (64-bit) for desktop. Is this your version as well!? The only option I can tick at Languages is: Check your spelling as you type. I also have: Check your spelling as you type which I have already selected only to English but to no avail so far.

Its very easy. Use newpipe

click on the “Choose” button next to “Choose your preferred language for displaying pages”

(above "Check your spelling ").

a popup will open with the options

invidio.us

This alternative is nice, just like d.tube, but sadly Youtube has the most content I’m interested in and just offers better quality and consistency from its content creators. I would really love to give it all up but there is no other hub as prolific as Youtube at the moment. Plus invidious.us has googlevideos script dependencies embedded in their code.

newpipe

This looks promising. I wish they would make a desktop or web version as well. I know I can emulate a device on my PC, but that is besides the point.

Oh, I do have that set up only for English, but Youtube is still finding a way to bypass it. I do use multiple browsers and I suspect they are looking for trackers from the other browser where I am logged in with an account. This freaks me out, because I’m starting to think they use technology that has bypassed our level of being able to prevent it snooping around. Of course, the power is still mine, I can always unplug and reset everything, but before that I really want to understand how is this possible!

If you are logged in to your online account in one browser/profile where a Google script is running while watching YouTube videos in another browser/profile, Google is able to link your YouTube activity with your account identity. If you run two scripts from the same provider at the same time in two different compartments, you are compromising your compartmentalization.

Yes, I ultimately figured that out. Thanks for the info :slight_smile: