為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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

  • 1 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 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.

所有回覆 (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.