diff --git a/1.7-Setting-Extension-Permission-Exceptions.md b/1.7-Setting-Extension-Permission-Exceptions.md index f1cc1d6..42e1fa2 100644 --- a/1.7-Setting-Extension-Permission-Exceptions.md +++ b/1.7-Setting-Extension-Permission-Exceptions.md @@ -2,7 +2,9 @@ Cookies control access to **local storage** and **indexedDB**. The `ghacks user.js` denies cookies by default. This is the pref `network.cookie.cookieBehavior` (see `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. +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. Extension IndexedDB entries are located in your `profile\storage\default` directory and start with `moz-extension`. + +![](https://github.com/ghacksuserjs/ghacks-user.js/blob/master/wikipiki/exceptions03.png) 1 `Extensions` = Web Extensions API, `Legacy Extensions` = legacy APIs or the Add-on SDK. @@ -21,7 +23,22 @@ You have two choices - For `Set Cookies`, uncheck `use default` and check `Allow` - Restart Firefox for the extension to start using storage -### :small_orange_diamond: Notes -- You can view cookie exceptions under Options > Privacy & Security > History > custom settings > Accept cookies from websites > Exceptions -- The exception uses the extension's `UUID`, which is a random unique value generated on each install of the extension. Be aware of that if you uninstall, reinstall. +![](https://github.com/ghacksuserjs/ghacks-user.js/blob/master/wikipiki/exceptions01.png) +### :small_orange_diamond: Notes + +- The exception uses the extension's `Internal UUID`, which is a random unique value generated on each install of the extension. So be aware of that if you uninstall and reinstall. +- You can view cookie exceptions under Options > Privacy & Security > History > custom settings > Accept cookies from websites > Exceptions + +![](https://github.com/ghacksuserjs/ghacks-user.js/blob/master/wikipiki/exceptions02.png) + +`Pro Tip`: If you are not sure what extensions require IndexedDB + * enable first party cookies in your `user.js` and restart + * check the options (if any) for each extension + * look in your `profile\storage\default` directory for `moz-extension` entries (see pic 1) + * add these entries manually via the cookies exceptions dialog + * just replace `+++` with `://` (see pic 3) + * directory: `moz-extension+++e0cc77c6-3785-4297-a034-7896f46563af` + * exception: `moz-extension://e0cc77c6-3785-4297-a034-7896f46563af` + * set cookies in the `user.js` back to none and restart + * clean out any unwanted cookies and storage collected during this exercise