Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Learn More

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

Cookie permission button not working

  • 7 risposte
  • 1 ha questo problema
  • 152 visualizzazioni
  • Ultima risposta di af32vxl

more options

I'm experiencing a long-lived bug, or more possibly file corruption, that became important very recently. Due to another bug in Firefox 65 (https://support.mozilla.org/en-US/questions/1249037), I need to change cookie permissions. In the preference panel under "Cookies and Site Data", the "Manage Permissions" button doesn't work, although being not gray. After clicking this button, the expected window is not shown visibly. However invisible window still blocks keyboard and mouse input to the original firefox window. Clicking away from the center of the screen or Esc would disengage and possibly close the invisible window. The consequence is that I can't see or change permissions from this window. I have been having this problem for several firefox updates so it's more like a corrupted file. Despite that, cookie permissions still function properly and can be updated through the icon on the address bar.

Although there are workarounds such as through the icon on the address bar, this is really inconvenient and makes it hardly possible to edit cross site or cross subdomain cookie permissions. How do I figure out what is wrong and correct it please? I'm using Ubuntu 18.04.

I'm experiencing a long-lived bug, or more possibly file corruption, that became important very recently. Due to another bug in Firefox 65 (https://support.mozilla.org/en-US/questions/1249037), I need to change cookie permissions. In the preference panel under "Cookies and Site Data", the "Manage Permissions" button doesn't work, although being not gray. After clicking this button, the expected window is not shown visibly. However invisible window still blocks keyboard and mouse input to the original firefox window. Clicking away from the center of the screen or Esc would disengage and possibly close the invisible window. The consequence is that I can't see or change permissions from this window. I have been having this problem for several firefox updates so it's more like a corrupted file. Despite that, cookie permissions still function properly and can be updated through the icon on the address bar. Although there are workarounds such as through the icon on the address bar, this is really inconvenient and makes it hardly possible to edit cross site or cross subdomain cookie permissions. How do I figure out what is wrong and correct it please? I'm using Ubuntu 18.04.

Soluzione scelta

Problem found to be in permissions.sqlite where permission='-1' is probably obsolete but neither taken care of properly nor overwritten in recent firefox versions. The following command solves the problem.

sqlite3 /path/to/profile/permissions.sqlite delete from moz_perms where type='cookie' and permission='-1'; .exit

Leggere questa risposta nel contesto 👍 0

Tutte le risposte (7)

more options

And this problem doesn't occur on a new profile. I also migrated (/copied) the whole profile folder from a Mac to Ubuntu a few months ago, before which it was fine.

Modificato da af32vxl il

more options

does the dialog shop up properly when you launch firefox in safemode once?

Diagnose Firefox issues using Troubleshoot Mode

more options

You shouldn't copy a full profile folder from Mac to Linux because some files may contain absolute paths that are not compatible.. Best is to only copy (database) files you really need.

Maybe create a new profile and and check regularly if it keeps working.

more options

Hi cor-el.

Thanks for the suggestion.

Nobody wants to copy the profile folder if there's a reliable & private way to achieve the same. Based on the close relation between the configuration file and the problem, how likely do you think that copying files selectively can maintain the cookie config and meanwhile solve the problem?

To me, a likely solution is to repair some (possibly one) file. Is that viable?

more options

For the cookies you would need cookies.sqlite. For the permissions you need permissions.sqlite. You may have to modify some setting manually in Options/Preferences, but prefs.js is a file that best is not to copy.

more options

Soluzione scelta

Problem found to be in permissions.sqlite where permission='-1' is probably obsolete but neither taken care of properly nor overwritten in recent firefox versions. The following command solves the problem.

sqlite3 /path/to/profile/permissions.sqlite delete from moz_perms where type='cookie' and permission='-1'; .exit