본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Since Fx32, Show Cookies always reveals NO COOKIES stored. Where are they? I 'Accept cookies from visited' with a large Exception list of blocked sites.

  • 7 답장
  • 2 이 문제를 만남
  • 3 보기
  • 최종 답변자: bookerj

more options

I 'Always Use Private Browsing' and 'Accept Cookies from Sites' with 'Third Party Cookies: From Visited' but with a long Exceptions list of sites I intend to block. Since Fx32, DISPLAY COOKIES always states there are none to show. I understand Private Browsing automatically deletes history (including cookies) on Fx closes, but after some extensive browsing I expect to see some session-only cookies from sites that either: a) are listed ALLOW/SESSION on my Exceptions List; or b) are not exception listed at all. The exception list has two categories: ad server sites I block to avoid hearing from; and ALLOW'd sites I visit that have warn me to allow their cookies. Even after logging in to these sites (login requires their cookie) DISPLAY COOKIES still says there are none.

1- Am I right about PRIVATE BROWSING, that it does not control cookie placement, leaving that to ACCEPT COOKIES and Exception settings, but only clears cookies and other history when Fx closes? 2- So where's my cookies that I know are working when I login, for instance, my email server or Amazon? 3- Do I need to install SQLite-Manager addon to see the cookies .sql file? Will it work with Fx32+?

I 'Always Use Private Browsing' and 'Accept Cookies from Sites' with 'Third Party Cookies: From Visited' but with a long Exceptions list of sites I intend to block. Since Fx32, DISPLAY COOKIES always states there are none to show. I understand Private Browsing automatically deletes history (including cookies) on Fx closes, but after some extensive browsing I expect to see some session-only cookies from sites that either: a) are listed ALLOW/SESSION on my Exceptions List; or b) are not exception listed at all. The exception list has two categories: ad server sites I block to avoid hearing from; and ALLOW'd sites I visit that have warn me to allow their cookies. Even after logging in to these sites (login requires their cookie) DISPLAY COOKIES still says there are none. 1- Am I right about PRIVATE BROWSING, that it does not control cookie placement, leaving that to ACCEPT COOKIES and Exception settings, but only clears cookies and other history when Fx closes? 2- So where's my cookies that I know are working when I login, for instance, my email server or Amazon? 3- Do I need to install SQLite-Manager addon to see the cookies .sql file? Will it work with Fx32+?

선택된 해결법

Thanks for the input, cor-el. Once I figured out where to find the console's command line and got past its SPAM warning, the cookie.split()/join() worked okay: lots of output, mostly javascript warnings and HTTP requests, at least one cookie. But next is puzzling:

I inadvertently pressed [CLEAR] and console obeyed, of course. So I reenter the command (a few times) but now get no response - just blank console msg pane. So I close the active fx tab, then open a new one with web console, log in, and re-interpret the split()/Join(). Now console only returns this command interpreter error msg: > undefined (attached screen snip).

So my question: can this js command split()/join() be interpreted only one time? Do I need to adjust something first? It appears the PRIVATE BROWSING feature's design "cloaks" any cookies I permit in - I presume to keep them from being seen, is that it? So can a webpage script place a cookie, then later in the same session retrieve or query it? Could a page just include a document.cookie.split()/join() command in its script?

Anyway, I am pleased to have your technique, and grateful. Thanks. I'll try it as a bookmark shortly.

문맥에 따라 이 답변을 읽어주세요 👍 0

모든 댓글 (7)

more options

hello bookerj, during private browsing no cookies would be stored on disk - so they won't show up in the display cookies dialog as well. to my knowledge, this is the intended behaviour in firefox...

more options

Thanks for quick response Phillipp. I may be missing some; it doesn't appear to work as you say. My privacy panel settings are "Use Custom Settings", "Always use Private Browsing", "Allow cookies from sites", "Third Party cookies: From Visited sites". And I populated Exceptions list - mostly BLOCKed ad servers, but some sites I "ALLOW FOR SESSION" because they require cookies. See attachd screen snip. I think you mean that my exceptions list is moot - Private Browsing rejects all cookies. But I read Privacy Panel Help as: Private Browsing does not make me invisible on the web; sites may still track my presence and preferences, but it scrubs all footprints at session end to protect my browsing tracks from later review by users on site. To test, I set my bank's site BLOCKd, try and fail to login. "The site says: Your cookies are disabled - enable cookies and try again." Now I set the site to "ALLOW for SESSION", make no other changes, and login works. I think the bank server placed 4 cookies on my system, but SHOW COOKIES says none are present, even while I remain logged in. Could it be that PRIVATE BROWSING is simply hiding the cookies until session end? Then where? I'm grateful for any insight you can offer. -Jim

글쓴이 bookerj 수정일시

more options

You can open the Web Console (Firefox/Tools > Web Developer) and paste this code in the command line to see the cookies. This also works as a bookmark.

javascript:void(console.log(document.cookie.split('; ').join('\n')));
more options

선택된 해결법

Thanks for the input, cor-el. Once I figured out where to find the console's command line and got past its SPAM warning, the cookie.split()/join() worked okay: lots of output, mostly javascript warnings and HTTP requests, at least one cookie. But next is puzzling:

I inadvertently pressed [CLEAR] and console obeyed, of course. So I reenter the command (a few times) but now get no response - just blank console msg pane. So I close the active fx tab, then open a new one with web console, log in, and re-interpret the split()/Join(). Now console only returns this command interpreter error msg: > undefined (attached screen snip).

So my question: can this js command split()/join() be interpreted only one time? Do I need to adjust something first? It appears the PRIVATE BROWSING feature's design "cloaks" any cookies I permit in - I presume to keep them from being seen, is that it? So can a webpage script place a cookie, then later in the same session retrieve or query it? Could a page just include a document.cookie.split()/join() command in its script?

Anyway, I am pleased to have your technique, and grateful. Thanks. I'll try it as a bookmark shortly.

more options

Maybe simplify it a bit:

console.log(document.cookie.split('; ').join('\n'))

Or to display it as a long string:

document.cookie

Edit: I use the console docked into the tab. Maybe "Clear" works differently when it's undocked??

글쓴이 jscher2000 - Support Volunteer 수정일시

more options

The version I posted above can be used as a bookmarklet if you copy the text to the location field of a new bookmark. That way you only have to open the Web Console.

more options

Okay, seems clear. Thanks jscher. Now I can see the interpreter auto-completing the java tokens as I type. Reasonable guess about docking the console, but it turns out CLEAR behaves the same docked or un, as one would expect. Seems my problem was related to prefixing the document token with the javascript: director and/or the void() return value. Simpler syntax works fine. Thanks again.