X
Tap here to go to the mobile version of the site.

Support Forum

It's no longer possible to delete unnamed cookies. Why? It always was in the past.

Posted

I have no other problems deleting individual cookies. Some sites drop unnamed cookies on a computer. I was always able to delete them in the past. With the newer versions of Foxfire it doesn't matter how many times you delete unnamed cookies. They go away when you delete them but they are always back the next time you look.

I have no other problems deleting individual cookies. Some sites drop unnamed cookies on a computer. I was always able to delete them in the past. With the newer versions of Foxfire it doesn't matter how many times you delete unnamed cookies. They go away when you delete them but they are always back the next time you look.
Attached screenshots
Quote

Additional System Details

Installed Plug-ins

None.

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0

More Information

jscher2000
  • Top 10 Contributor
8498 solutions 69429 answers

Hi riplongley, I don't know how to explain 5 cookies for one or more sites that do not have a displayable host name (e.g., example.com). Perhaps there is a bug in the Manage Site Data dialog that can't handle certain host names.

I wonder whether any of the cookie management extensions could provide more information about the site(s), or whether we might need to suggest how to query the cookies.sqlite database directly.

Did you want to look at extensions? https://addons.mozilla.org/firefox/search/?q=cookies&type=extension

Hi riplongley, I don't know how to explain 5 cookies for one or more sites that do not have a displayable host name (e.g., example.com). Perhaps there is a bug in the Manage Site Data dialog that can't handle certain host names. I wonder whether any of the cookie management extensions could provide more information about the site(s), or whether we might need to suggest how to query the cookies.sqlite database directly. Did you want to look at extensions? https://addons.mozilla.org/firefox/search/?q=cookies&type=extension
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17267 solutions 156050 answers

Note that the data manager is this window:

  • chrome://browser/content/preferences/siteDataSettings.xul

Involved JavaScript:

  • chrome://browser/content/preferences/siteDataSettings.js

I can access this window and each of the lines in the Browser Toolbox, but that probably isn't of much help.


SiteDataManager.getSites().then(sites => {this._sites = sites; ....}
_removeCookies(site) {
 for (let cookie of site.cookies) {
  Services.cookies.remove(
   cookie.host, cookie.name, cookie.path, false, cookie.originAttributes);
  }
  site.cookies = [];
},
Note that the data manager is this window: *chrome://browser/content/preferences/siteDataSettings.xul Involved JavaScript: *chrome://browser/content/preferences/siteDataSettings.js I can access this window and each of the lines in the Browser Toolbox, but that probably isn't of much help. ---- *https://dxr.mozilla.org/mozilla-release/source/browser/components/preferences/siteDataSettings.js *https://dxr.mozilla.org/mozilla-release/source/browser/modules/SiteDataManager.jsm <pre><nowiki>SiteDataManager.getSites().then(sites => {this._sites = sites; ....}</nowiki></pre> <pre><nowiki> _removeCookies(site) { for (let cookie of site.cookies) { Services.cookies.remove( cookie.host, cookie.name, cookie.path, false, cookie.originAttributes); } site.cookies = []; },</nowiki></pre>
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.