Page 1 of 1

HTTP requests with cookies on CSS, JS, and images – how to switch it off?

Posted: 2022-01-27, 02:36
by pale guru
On some sites like the Clouflare 'intercepted' ones, cookies are set and then sent back by the browser (Pale Moon) on every request, even images, stylesheets and Javascript.

Some other sites set cookies, and Pale Moon only send cookies back on HTML pages.

How is this behavior set server-side, and is there any way to avoid sending cookies on image, CSS and JS requests, ie. in about:config?

Re: HTTP requests with cookies on CSS, JS, and images – how to switch it off?

Posted: 2022-01-27, 06:42
by moonbat
Use eMatrix, it blocks everything including sending cookies back, by default.

Re: HTTP requests with cookies on CSS, JS, and images – how to switch it off?

Posted: 2022-01-27, 11:11
by Moonchild
cookies are part of the HTTP transport protocol; that is unrelated to the type of content transferred. That is the way the http standard is, and is intended to be used.
If you start filtering cookies based on document type requested, be warned you may severely break some websites that use cookies for session authentication.