From 2fbf61f11e2f0edbfa51b99800f2a43859d95a2b Mon Sep 17 00:00:00 2001 From: Thorin-Oakenpants Date: Fri, 6 Oct 2017 22:42:57 +1300 Subject: [PATCH] Created 1.7 Extension Exceptions (markdown) --- 1.7-Extension-Exceptions.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 1.7-Extension-Exceptions.md diff --git a/1.7-Extension-Exceptions.md b/1.7-Extension-Exceptions.md new file mode 100644 index 0000000..96eae92 --- /dev/null +++ b/1.7-Extension-Exceptions.md @@ -0,0 +1,25 @@ +Cookies control access to **local storage** and **indexedDB**. The `ghacks user.js` denies cookies by default. This is the pref `network.cookie.cookieBehavior` (2701). A value of `2` denies all cookies, a value of `1` allows first party only. + +Extensions 1 that use local dom storage and/or indexedDB **will break** if they are not allowed a cookie, even though they do not actually set any. Extensions that use such storage include uBlock Origin, uMatrix, Stylus and Violentmonkey. + +You have two choices + - Allow first party cookies and use an extension to clean up and/or block cookies and storage + - Deny all cookies and use site exceptions, **including** exceptions for extensions that need it. And you can still use an extension to clean up and control those cookies and storage if you want. + +1 `Extensions` = Web Extensions API, `Legacy Extensions` = legacy APIs or the Add-on SDK. + +:small_orange_diamond: How To Set Extension Cookie Exceptions + +- Open `about:debugging > Add-ons` +- Click on the `Manifest URL` of the extension +- On the manifest page, right click and select `View Page Info` +- Select the `Permissions` tab +- For `Set Cookies`, uncheck `use default` and check `Allow` +- Restart Firefox for the extension to start using storage + +You can view cookie exceptions under Options > Privacy & Security > History > custom settings > Accept cookies from websites > Exceptions + +:small_orange_diamond: Note +- The exception uses the extension's `UUID`, which is a random unique value generated on each install of the extension. +- If you are cleaning cookies via a third party appllication, such as CCleaner, make sure to keep these cookies +