Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

Cookie permission button not working

  • 7 trả lời
  • 1 gặp vấn đề này
  • 138 lượt xem
  • Trả lời mới nhất được viết bởi 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.

Giải pháp được chọn

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

Đọc câu trả lời này trong ngữ cảnh 👍 0

Tất cả các câu trả lời (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.

Được chỉnh sửa bởi af32vxl vào

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

Giải pháp được chọn

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