搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Unable to delete cookies for individual websites

  • 5 回覆
  • 2 有這個問題
  • 23 次檢視
  • 最近回覆由 Sarabande

more options

Am running Firefox 29 on Windows 8.1 64 bit.

This arose because a particular website was having difficulty setting a cookie (I think) - FF was giving the error that the website server was redirecting the request in a way that couldn't be completed - but with the caveat that it could be caused by cookies not being permitted. So I tried deleting the cookie for that particular website but FF seems not to comply. It is removed from the list of cookies in the dialog box and I can close the dialog, however if I reopen it the cookie it still shown as present. Doing it a second time doesn't help.

I then found that this doesn't just apply apply to one particular website, it's any website that stores a cookie. Cookies are set to be deleted when they expire as I find it useful for some website to store cookies (I can't seem to find a whitelist which allows cookies to be deleted except for those on the whitelist, this in contradistinction to the blacklist which prevent certain websites from setting cookies at all).

I've tried the following: (1) open FF in safe mode but I get the same result (cookie not deleted) (2) with FF closed rename the cookies.sqlite file out of the way. Starting then with a "clean" cookie file I still get the same result (cookie not deleted). I can confirm the cookie isn't deleted by quickly opening the cookies.sqlite and searching for the website string.

I have tried setting FF cookie "policy" to remove all at the end of session and that works - but it also removes the useful ones as well. Does anyone have some ideas?

Am running Firefox 29 on Windows 8.1 64 bit. This arose because a particular website was having difficulty setting a cookie (I think) - FF was giving the error that the website server was redirecting the request in a way that couldn't be completed - but with the caveat that it could be caused by cookies not being permitted. So I tried deleting the cookie for that particular website but FF seems not to comply. It is removed from the list of cookies in the dialog box and I can close the dialog, however if I reopen it the cookie it still shown as present. Doing it a second time doesn't help. I then found that this doesn't just apply apply to one particular website, it's any website that stores a cookie. Cookies are set to be deleted when they expire as I find it useful for some website to store cookies (I can't seem to find a whitelist which allows cookies to be deleted except for those on the whitelist, this in contradistinction to the blacklist which prevent certain websites from setting cookies at all). I've tried the following: (1) open FF in safe mode but I get the same result (cookie not deleted) (2) with FF closed rename the cookies.sqlite file out of the way. Starting then with a "clean" cookie file I still get the same result (cookie not deleted). I can confirm the cookie isn't deleted by quickly opening the cookies.sqlite and searching for the website string. I have tried setting FF cookie "policy" to remove all at the end of session and that works - but it also removes the useful ones as well. Does anyone have some ideas?

被選擇的解決方法

Note that your System Details list shows that you have a user.js file in the profile folder to initialize prefs each time Firefox starts.

The user.js file is only present if you or other software has created this file and normally it wouldn't be there. You can check its content with a plain text editor (right-click: Open with) if you didn't create this file yourself.

The user.js file is read each time Firefox is started and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.

Delete a possible user.js file and numbered prefs-##.js files and rename (or delete) the prefs.js file to reset all prefs to the default value including prefs set via user.js and prefs that are no longer supported in the current Firefox release.

You can use this button to go to the currently used Firefox profile folder:

  • Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
從原來的回覆中察看解決方案 👍 0

所有回覆 (5)

more options

Start Firefox in Safe Mode
While you are in safe mode;
Firefox Options > Advanced > General.
Look for and turn off Use Hardware Acceleration.
Poke around safe web sites and see if there is still a problem. Then restart.

more options

Unfortunately this seems to have had no effect, even with trusted, safe websites.

more options

It could be the work of one of your add-ons, or even add / mal-ware. Look thru your add-ons list and make sure you know what each one is there for. Also, check the programs that are on your computer Windows > Start > Control Panel > Uninstall Programs. Go thru the list and use a web search to check any that you don't know what they are.

Troubleshoot Firefox Issues Caused By Malware

more options

選擇的解決方法

Note that your System Details list shows that you have a user.js file in the profile folder to initialize prefs each time Firefox starts.

The user.js file is only present if you or other software has created this file and normally it wouldn't be there. You can check its content with a plain text editor (right-click: Open with) if you didn't create this file yourself.

The user.js file is read each time Firefox is started and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.

Delete a possible user.js file and numbered prefs-##.js files and rename (or delete) the prefs.js file to reset all prefs to the default value including prefs set via user.js and prefs that are no longer supported in the current Firefox release.

You can use this button to go to the currently used Firefox profile folder:

  • Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
more options

Hello cor-el,

That was fantastic, it worked perfectly! Thank you so much for that advice. As I recall the user.js file was something I put in for FF3 for a reason which I can't now recall and is now clearly damaging.

Once again, thank you.