Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

cookie preference not remembered for local html files

  • 4 个回答
  • 3 人有此问题
  • 6 次查看
  • 最后回复者为 mwredfern

more options

I use Firefox's very useful "ask every time" cookie screening facility and have selected "Use my choice for all cookies from this site". However, it will not remeber my preference for local files. The Adobe Acrobat Editor's help uses html files on my PC's local C: drive. Whenever this is launched Firefox always displays a "Confirm setting cookie" message "The site file:// wants to modify an existing cookie." 16 times before the html is fully displayed and at least once every time I select a link within the html. Firefox's address bar displays: "file:///C:/Program Files/Common Files/Adobe/Help/en_US/Acrobat Pro/9.0/help.html" How can I avoid this annoying, time-consuming behaviour with local files whilst still screening cookies for internet sites?

I use Firefox's very useful "ask every time" cookie screening facility and have selected "Use my choice for all cookies from this site". However, it will not remeber my preference for local files. The Adobe Acrobat Editor's help uses html files on my PC's local C: drive. Whenever this is launched Firefox always displays a "Confirm setting cookie" message "The site file:// wants to modify an existing cookie." 16 times before the html is fully displayed and at least once every time I select a link within the html. Firefox's address bar displays: "file:///C:/Program Files/Common Files/Adobe/Help/en_US/Acrobat Pro/9.0/help.html" How can I avoid this annoying, time-consuming behaviour with local files whilst still screening cookies for internet sites?

所有回复 (4)

more options

You would probably need to access local files via http://localhost/ to be able to set an exception as you can't do that for the file protocol.

more options

I've tried variations of the theme of "http://localhost/" like: "http://localhost/C:/Program Files/Common Files/Adobe/Help/en_US/Acrobat Pro/9.0/help.html" in the Firefox address, desktop shortcuts and cookies exceptions. These all result in errors. What browser address should I use instead of: "file:///C:/Program Files/Common Files/Adobe/Help/en_US/Acrobat Pro/9.0/help.html"?

more options
more options

Unfortunately none of the suggestions in the forum page worked for me with Firefox v15. I've added "localhost" to the cookies exception list as "Allowed" (by entering "file://localhost/" in the exceptions address box) but still no joy.