I've heard about Ghostery, a browser extension/plugin that blocks web trackers. But according to this link it sells our data. Are add-ons and plugins open source in Firefox? Is there another alternative to Ghostery?

  • 11
    If anyone wants to look into the "evil" code of Ghostery: download addons.mozilla.org/firefox/downloads/latest/9609/… (right click, save as), rename it to .zip, look into ./resources/ghostery/lib/*.js. But Ghostery was always blunt what the GhostRank feature does, so I don't understand any outcry about it.
    – Kijewski
    Aug 28, 2015 at 11:13
  • 1
    Perhaps it is worth to mention Disconnect and uMatrix. I like Request Policy the most and it is already packaged for Debian.
    – Onlyjob
    Aug 29, 2015 at 23:09
  • Related on our sister-site for Software Recommendations: Alternative to Ghostery (tracker-blocker) add-on for Firefox?
    – Izzy
    Mar 8, 2016 at 12:41
  • Firefox Addons are provided as xpi files, which can be un-zipped and contain their often minified source code (HTML, CSS, JS, JSON). You'd still need to be wary of auto-updates to the plugin though and run a diff every time to check for changes.
    – René Roth
    Jun 28, 2021 at 11:23

3 Answers 3


You can prevent Ghostery from selling your data by opting out of the Ghost Rank feature. The feature is opt-in, so if you didn't already opt in there is nothing you need to do. It is then safe for you to use.

Using a clone of Ghostery which is identical in every aspect except not having the Ghost Rank feature would make no practical difference from running Ghostery without opting in to Ghost Rank. If your intention is to actively punish Ghostery for their evil data trading by boycotting them, then you will achieve nothing. They already gain nothing from you commercially when you run Ghostery with Ghost Rank disabled. If anything you help them by uninstalling Ghostery because you no longer consume any of their resources.

But if you are really looking for an alternative option: the classical method is to edit your operating systems hosts file and forward the hostnames of known trackers and advertising networks to There are recommended blocklists available which you can find with a websearch (I can't vouch for their quality, so I won't recommend any specific ones). The advantage is that it doesn't just block advertisements in one web browser, but in all web browsers you have installed and in any other applications which might access these hosts for whatever reason. The drawback is that you will have to maintain your blocklist manually.

  • you mean Sharing Options in Ghostery preferences?
    – CatCoder
    Aug 28, 2015 at 8:22
  • Is it open source?
    – CatCoder
    Aug 28, 2015 at 8:22
  • 10
    No. Ghostery is not. But both Privacy Badger (eff.org/privacybadger) and Disconnect.me (github.com/disconnectme/disconnect.me) are free software.
    – Ole Tange
    Aug 28, 2015 at 17:09
  • to be fair, I just checked and the "ghost rank" feature on my system is disabled. So it appears that the default is off, and one has to activate it, which sounds honest
    – Ant
    Aug 28, 2015 at 20:55
  • 3
    Note that privacy badger and ghostery are based on totally different approaches: Ghostery has a blacklist, privacy badger relies on "detecting tracking behavior". I don't know disconnect.me, so I don't know which approach it takes. Aug 29, 2015 at 7:04

Another plugin worth mentioning is Privacy Badger. It's fairly new, but from the EFF, to which I would trust not to do any bad stuff.

It's also fairly intelligent since it's not using Blacklist which is always a race against tracker vendors, but uses an algorithm to determine what it should block. I'm using it and am pretty happy with it.

The only downside is: Companies can say the won't track and then Privacy Badger won't block them. The question is if the companies stick with their word, or if they will still try to track you. But you can always change the settings from Privacy Badger and it will never overwrite your own settings unless you switch back to default.

Edit: I've found the talk I heard at the CCCamp (VIDEO).

  • 3
    This is a useful comment but doesn't answer the actual question.
    – Lilienthal
    Aug 28, 2015 at 11:40
  • 13
    @Lilienthal Well he asked if there are alternatives. Since I can't say anything on how Ghostery sells the data (Which I assume noone can who's not on the inside), I wanted to present him an alternative.
    – Thanathan
    Aug 28, 2015 at 11:41
  • 1
    If the question is indeed asking for alternatives then it would be closed. You should throughly answer the question, not just part of it.
    – Braiam
    Aug 29, 2015 at 8:27

Another plugin worth mentioning is Request Policy (Continued). It blocks all requests to domain other than the one shown in the address bar. Directly after installation, some common third party domains are whitelisted.

It is probably harder to use than the other plugins, since many web pages do not work without adding some domains to the whitelist (e.g. the stackexchange network, they pull JS from Google). Also, some websites (e.g. Microsoft and Adobe) become utterly broken, I've yet to find whitelist-settings to make them work. But the plugin also speeds up many websites by blocking all the ads and other stuff you really need to see.

Since the website you are currently viewing can track you in any case, and the browser won't do requests to it when showing other pages, this seems like the optimum achievable in privacy (along with some cookie-settings and referer control).

  • Bad news for the Stack Exchange network then if anyone uses that plugin...
    – AStopher
    Aug 29, 2015 at 8:56
  • Just allow requests from *.stackexchange.com to google (ajax.googleapis.com I think)
    – Jost
    Aug 29, 2015 at 9:37
  • Stack Exchange uses multiple domains, such as stacksnippets.com, stackapps.com, and even Stack Overflow/Super User.
    – AStopher
    Aug 29, 2015 at 10:16
  • 1
    One can whitelist multiple domain. It's a whitelist.
    – Jost
    Aug 30, 2015 at 10:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .