Mozilla creates Firefox extension to prevent Facebook from tracking you

The nonprofit also paused Facebook ads.
 By 
Kerry Flynn
 on 
Original image replaced with Mashable logo
Original image has been replaced. Credit: Mashable

Facebook tracks its users online, far beyond the app and other services. Given the latest data privacy scandal involving Trump-linked data firm Cambridge Analytica, Mozilla is letting internet users fight back.

A new browser extension called the "Facebook Container" lets Firefox users isolate their activity on Facebook to Facebook.com, making it more difficult to track users' actions elsewhere on the web. The hope is that someone searching for and booking a trip wouldn't then cause related ads to appear on your Facebook feed, for example, without having to go ahead and delete Facebook altogether.

As Mozilla wrote in its blog post,

The pages you visit on the web can say a lot about you. They can infer where you live, the hobbies you have, and your political persuasion. There’s enormous value in tying this data to your social profile, and Facebook has a network of trackers on various websites. This code tracks you invisibly and it is often impossible to determine when this data is being shared.

The extension is far from a perfect solution. Mozilla noted in the blog post that websites that allowed a user to create an account and log-in through Facebook will not work properly within the Facebook Container.

Mozilla's update comes in the wake of Facebook's scandal with Cambridge Anaytica, where at least 50 million Facebook users had their personal data used without their direct consent. As Mozilla explained, this browser wouldn't have prevented that access, but it does give users more control in what type of data Facebook is able to access. Mozilla also announced last week it would "pause" advertising on Facebook and won't return until CEO Mark Zuckerberg "takes stronger action" on safeguarding customers' data.

Here's how the "Facebook Container" works:

1. Download Firefox, if you don't already have it.

Original image replaced with Mashable logo
Original image has been replaced. Credit: Mashable

2. Add the extension to Firefox.

Original image replaced with Mashable logo
Original image has been replaced. Credit: Mashable

3. Browse on Facebook, with a new sense of security.

Original image replaced with Mashable logo
Original image has been replaced. Credit: Mashable

Facebook is far from the only site tracking people on the web, and Mozilla wrote in the blog post that it didn't want to just single them out:

Facebook isn’t unique in their practice of collecting data from your activity outside of the core service, and our goal is not to single out a particular organization, but to start with a well-defined problem that we can solve quickly. As good privacy hygiene, it’s also worth reviewing your privacy settings for each app that you use regularly.

And yet, here we are.

Facebook did not immediately respond to a request for comment. We will update this post if and when we hear back.

Mashable Image
Kerry Flynn

Kerry Flynn is a business reporter for Mashable covering the tech industry. She previously reported on social media companies, mobile apps and startups for International Business Times. She has also written for The Huffington Post, Forbes and Money magazine. Kerry studied environmental science and economics at Harvard College, where she led The Harvard Crimson's metro news and design teams and played mellophone in the Band. When not listening to startup pitches, she runs half-marathons, plays with puppies and pretends to like craft beer.

Mashable Potato

Recommended For You
Firefox browser to add 'AI off-switch,' bucking industry trend
close-up of mozilla firefox app logo on phone screen showing pixels


Popular Chrome extension disabled for containing malware
Google Chrome logo

Firefox adds AI kill switch for users who are sick and tired of AI-everything
Firefox logo

Do you have one of these 17 browser extensions? They could be tracking your browsing history.
safari and chrome apps on phone

More in Tech
How to watch Chelsea vs. Port Vale online for free
Alejandro Garnacho of Chelsea reacts

How to watch 'Wuthering Heights' at home: Margot Robbie and Jacob Elordi's controversial romance now streaming
Margot Robbie and Jacob Elordi embracing in still from "Wuthering Heights"

How to watch New York Islanders vs. Philadelphia Flyers online for free
Matthew Schaefer of the New York Islanders warms up

How to watch Mexico vs. Belgium online for free
Israel Reyes of Mexico reacts

How to watch Brazil vs. Croatia online for free
Vinicius Junior #10 of Brazil leaves

Trending on Mashable
NYT Connections hints today: Clues, answers for April 3, 2026
Connections game on a smartphone

Wordle today: Answer, hints for April 3, 2026
Wordle game on a smartphone


You can track Artemis II in real time as Orion flies to the moon
Victor Glover and Reid Wiseman piloting the Orion spacecraft

NYT Strands hints, answers for April 3, 2026
A game being played on a smartphone.
The biggest stories of the day delivered to your inbox.
These newsletters may contain advertising, deals, or affiliate links. By clicking Subscribe, you confirm you are 16+ and agree to our Terms of Use and Privacy Policy.
Thanks for signing up. See you at your inbox!