0

In Firefox, what is the fastest way to toggle allowing all third-party cookies vs allowing none of them?

Currently, in Firefox v65.0.2, you have to follow all these steps to enable all third-party cookies:

  1. Open Firefox Options
  2. Go to the Privacy and Security tab in Options
  3. Uncheck 'Cookies'

Then, to toggle it back to blocking all of them, you have to follow all these steps:

  1. Open Firefox Options
  2. Go to the Privacy and Security tab in Options
  3. Check 'Cookies'
  4. Click the drop-down next to 'Cookies'
  5. Select 'All cookies' from the dropdown

Is there a faster or more efficient way to do this?

  • Write an AHK macro? – DavidPostill Mar 5 at 20:40
  • @DavidPostill Thanks David. I was thinking about that. But I don't think it's possible to write a true AHK macro toggle, because it won't know the state of the Cookies checkbox (unless AHK has advanced to that level). I could write 2 macros, and assign them to 2 different key combinations, but I would prefer something a little more elegant. – RockPaperLizard Mar 5 at 20:43
  • This Firefox Extension maybe? – Anaksunaman Mar 6 at 0:47
  • @Anaksunaman Thanks so much. That extension toggles all cookies, so it won't work, but it's exactly the right idea. – RockPaperLizard Mar 6 at 4:32
  • Not a problem =). Sorry it wasn't more useful. – Anaksunaman Mar 6 at 6:52
0

TL;DR

Type about:config?filter=network.cookie.cookieBehavior in your address bar, press TAB, press ENTER and set the value you desire.

  • 0 = Accept all cookies by default
  • 1 = Only accept from the originating site (block third-party cookies)
  • 2 = Block all cookies by default

Source:

http://kb.mozillazine.org/Network.cookie.cookieBehavior#Possible_values_and_their_effects

https://www.privacytools.io/#about_config

Two cents:

You may write an extension to modify these values with the click of a button if you know javascript and absolutely need the quickest way to do the above task. Personally, I would just bookmark the above link and modify the values as required.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.