-
Notifications
You must be signed in to change notification settings - Fork 25
cookie set on redirect not being cleared #114
Comments
Nice catch and well done issue description. Thanks! I imagine that the redirect never hits the domain logging mechanism in this case. I might need to work around this issue. I will investigate. |
There are actually 3 redirects happening here: Start: http://www.surfaceimpression.com
And they all create their own cookies. |
After doing a few tests, I get the following events: (from the documentation, I assumed it should be start and end for all 4 urls) So, these two are not even registered: Not sure if this is a bug or intended behavior. I will have to find a way to get them all, possibly with different APIs. Will have to try another time, the day is almost gone. |
Interesting! I'm glad I could give you a mystery to solve :-) Out of curiosity, I went through the steps from #114 (comment) with Cookie AutoDelete. I used the latest version and set it to clear cookies on tab close and domain change. It did not treat the redirect as a domain change (step 4), but it did clear all three cookies when I closed the tab (step 6). So there may be something for you to look at there, although I get the impression that the way CAD works is rather different from the way FMN works. |
Found another one that appears to be similar:
|
And here are a couple more: 1
After you close the tab, several cookies from 2
When you close the tab, that SSO session ID is left behind as a cookie from ** |
Thanks for the examples. I'm already working on improving the situation. Not sure if I can catch all of these cases, but it will get better :) |
Another one for you, just in time for Christmas :-) If you go to
After you close the tab and FMN clears the cookies, there are still four cookies left behind, two from That's just one example – the other links on that CNET page work similarly but go through different middlemen, depending on which service is being used to track affiliate clicks, I guess. The link for Web Hosting Pad is interesting in that it sets cookies from two "extra" domains – |
Just tested all scenarios with the new code and all cookies get removed correctly. |
I can confirm that FMN 2.0.0 has fixed all of these, and also #117. Now that I don't need to block all those domains individually, the cookies permission list in my Firefox preferences is much saner – thank you! |
Steps to reproduce:
http://www.surfaceimpression.com/
in a new tab. The tab will immediately redirect tohttps://surfaceimpression.digital/
.www.surfaceimpression.com
, one fromsurfaceimpression.digital
, and one frombeta.surfaceimpression.digital
.surfaceimpression.com
tosurfaceimpression.digital
was not handled by FMN as a domain leave.surfaceimpression.digital
tab.surfaceimpression.digital
will be gone but the one fromsurfaceimpression.com
will still be there.Tested in a fresh profile with FMN 1.0.5 on FF 62.0.3 on macOS 10.12.
PS: I just saw your new post in #67 and look forward to reading through the details when I get a moment.
The text was updated successfully, but these errors were encountered: