We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Этот сайт имеет ограниченную функциональность, пока мы проводим техническое обслуживание для улучшения его работы. Если какая-либо статья не решила вашу проблему и вы хотите задать вопрос, наше сообщество поддержки ждёт вас: @FirefoxSupport в Твиттере и /r/firefox на Reddit.

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

Cookie permission button not working

  • 7 ответов
  • 1 имеет эту проблему
  • 1 просмотр
  • Последний ответ от 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.

Выбранное решение

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

Прочитайте этот ответ в контексте 👍 0

Все ответы (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.

Изменено af32vxl

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

Выбранное решение

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