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".

Tìm hiểu thêm

Remove manually a specific website from cookies.sqlite file

  • 1 trả lời
  • 1 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi simgorecki

more options

Hi,

I'm developping a custom tool in order to automatically clean my cookies from several websites. For example, I would like to automatically remove cookies from twitter.com every time I launch my tool. I'm under Win10x64, firefox v89, tool developped in python.

To do this, once firefox is closed, my tool go in my profile folder, access to cookies.sqlite and delete row associated to twitter.com

-> DELETE from moz_cookies WHERE host == '.twitter.com';

The database is saved, no more "twitter" in my cookies.sqlite file, and the tool ensures there is no cookies.sqlite-wal or cookies.sqlite-shm files left.

After that, when I open again twitter, I am no longer connected to my session, but I got an error which seems to be related to cookies (see screenshot).

Moreover, when I oppenup the firefox cookies manager, there is still twitter cookies in the list, but 0 cookies associated.

Where is my mistake ? Can you help me solve my problem ? Thanks

Hi, I'm developping a custom tool in order to automatically clean my cookies from several websites. For example, I would like to automatically remove cookies from twitter.com every time I launch my tool. I'm under Win10x64, firefox v89, tool developped in python. To do this, once firefox is closed, my tool go in my profile folder, access to '''cookies.sqlite''' and delete row associated to twitter.com -> DELETE from moz_cookies WHERE host == '.twitter.com'; The database is saved, no more "twitter" in my cookies.sqlite file, and the tool ensures there is no '''cookies.sqlite-wal''' or '''cookies.sqlite-shm''' files left. After that, when I open again twitter, I am no longer connected to my session, but I got an error which seems to be related to cookies (see screenshot). Moreover, when I oppenup the firefox cookies manager, there is still twitter cookies in the list, but 0 cookies associated. Where is my mistake ? Can you help me solve my problem ? Thanks
Đính kèm ảnh chụp màn hình

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

I just found the answer

in addition of beeing stored in cookies.sqlite file, some informations/cookies are stored in folders located in storage/default/.

In my example, twitter cookies seems to be also stored in "storage/default/https+++twitter.com/" folder. So now, my tool now delete some rows in cookies.sqlite file, and delete the twitter folder.

Hope this post will help other people. If you have any additional informations, feel free to share

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

Tất cả các câu trả lời (1)

more options

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

I just found the answer

in addition of beeing stored in cookies.sqlite file, some informations/cookies are stored in folders located in storage/default/.

In my example, twitter cookies seems to be also stored in "storage/default/https+++twitter.com/" folder. So now, my tool now delete some rows in cookies.sqlite file, and delete the twitter folder.

Hope this post will help other people. If you have any additional informations, feel free to share