Join us and the lead editor of IRL, Mozilla's multi-award-winning podcast, for a behind-the-scenes look at the pod and to contribute your ideas for the next season, themed: "AI and ME." Mark your calendar and join our Community Call on Wednesday, Aug 7, 17:00–17:45 UTC. See you there!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do I block cookies for a long list of websites at once?

  • 1 reply
  • 1 has this problem
  • 1 view
  • Last reply by WestEnd

more options

I have a long list (~200) of websites where I need to block cookies. The list is in a .txt format. How do I block all these cookies at once?

Note that I don't want to disable all cookies, only some of them (those in my list).

I know that I can block cookies for each of these websites one by one, this is described here: https://support.mozilla.org/en-US/kb/block-websites-storing-site-preferences But this would take a very long time. I need something fast which can be done repeatedly (for example whenever I get a new laptop).

I need this because the websites in question use my cookies to remember that I use an adblocker and then they show me their ads in another way. When I block cookies for these websites then there are no ads at all.

I have a long list (~200) of websites where I need to block cookies. The list is in a .txt format. How do I block all these cookies at once? Note that I don't want to disable all cookies, only some of them (those in my list). I know that I can block cookies for each of these websites one by one, this is described here: https://support.mozilla.org/en-US/kb/block-websites-storing-site-preferences But this would take a very long time. I need something fast which can be done repeatedly (for example whenever I get a new laptop). I need this because the websites in question use my cookies to remember that I use an adblocker and then they show me their ads in another way. When I block cookies for these websites then there are no ads at all.

All Replies (1)

more options

Your only other choice is to use a hosts type blocker where you add those txt files into the hosts file and then through that way it will block your 200+ sites from injecting cookies. Otherwise beyond a Browser you will have to ask a computer shop to help you do this if your not able to do this to fix your site cookie problems.