Trying To Block Cookie

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
van p
Astronaut
Astronaut
Posts: 592
Joined: 2015-11-19, 07:15
Location: Cincinnati, OH, U.S.A.

Trying To Block Cookie

Unread post by van p » 2022-06-26, 18:59

I'm trying to block a website from putting a cookie on my machine. I go to Preferences>Privacy, etc. and enter the data. However, when I go to that website, the cookie is placed. As long as I keep the browser open, the block entry remains. When I close the browser and open it back up, the block entry has disappeared. An older version of Waterfox appears to operate the same way. What am I missing here? I searched first but didn't see anything. Thanks.
Windows 10 Pro x64 v22H2 8GB i5-4570|Pale Moon v33.0.1 x64

kreemoweet
Newbie
Newbie
Posts: 6
Joined: 2017-09-06, 19:19

Re: Trying To Block Cookie

Unread post by kreemoweet » 2022-06-26, 20:41

As a first guess (one has to guess because you gave almost no details of what you are doing) I would say that what
you are missing is the "Save Changes" button at the bottom of the cookie/data permissions dialog, where you
entered (one guesses) the URL of the website you wanted to block cookies from.

van p
Astronaut
Astronaut
Posts: 592
Joined: 2015-11-19, 07:15
Location: Cincinnati, OH, U.S.A.

Re: Trying To Block Cookie

Unread post by van p » 2022-06-27, 00:37

kreemoweet, I didn't give a lot of detail because I think I explained everything sufficiently. And I did say that the block stays in place as long as the browser is not closed, so I did what you said I might be missing. Thanks.
Windows 10 Pro x64 v22H2 8GB i5-4570|Pale Moon v33.0.1 x64

User avatar
mseliger
Fanatic
Fanatic
Posts: 114
Joined: 2016-02-17, 10:53
Contact:

Re: Trying To Block Cookie

Unread post by mseliger » 2022-06-28, 09:37

Do you clear the Site preference when you close PaleMoon (Settings for Clearing History)?
Mit freundlichen Grüßen / Greetings
Maria
---
Ich bin ein Westfale, und zwar ein Stockwestfale, nämlich ein Münsterländer – Gott sei Dank! füge ich hinzu ...
Annette von Droste zu Hülshoff, Bei uns zu Lande auf dem Lande

van p
Astronaut
Astronaut
Posts: 592
Joined: 2015-11-19, 07:15
Location: Cincinnati, OH, U.S.A.

Re: Trying To Block Cookie

Unread post by van p » 2022-06-28, 14:26

mseliger wrote:
2022-06-28, 09:37
Do you clear the Site preference when you close PaleMoon (Settings for Clearing History)?
Yes, I do, everything but cookies. When I get a chance I'll play with that and see what happens. Thanks.
Windows 10 Pro x64 v22H2 8GB i5-4570|Pale Moon v33.0.1 x64

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35476
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Trying To Block Cookie

Unread post by Moonchild » 2022-06-28, 15:29

If you clear site preferences, then you also clear the preference for sites to store/not store cookies. Site preferences are individual choices you make for specific sites, deviating from your global settings.

So what happens is: you set a cookie blocking rule in the browser, but that gets cleared when you clear site preferences, resulting in it being default again next time, which is to allow cookies.

You probably don't want to clear site preferences. That setting improves local access privacy (and does nothing for web privacy) but obviously conflicts with having site-specific choices.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

van p
Astronaut
Astronaut
Posts: 592
Joined: 2015-11-19, 07:15
Location: Cincinnati, OH, U.S.A.

Re: Trying To Block Cookie

Unread post by van p » 2022-06-28, 15:36

OK, so Moonchild, what do I do? I would say this is your browser, but the behavior seems to come from Firefox. How do I keep the block entry there and make it work? Thanks.
Windows 10 Pro x64 v22H2 8GB i5-4570|Pale Moon v33.0.1 x64

User avatar
RealityRipple
Astronaut
Astronaut
Posts: 647
Joined: 2018-05-17, 02:34
Location: Los Berros Canyon, California
Contact:

Re: Trying To Block Cookie

Unread post by RealityRipple » 2022-06-28, 17:37

Preferences > Privacy > Pale Moon will: "Use Custom Settings" > Clear history when Pale Moon closes > Settings > Data > uncheck "Site Preferences"

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35476
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Trying To Block Cookie

Unread post by Moonchild » 2022-06-28, 19:58

van p wrote:
2022-06-28, 15:36
OK, so Moonchild, what do I do? I would say this is your browser, but the behavior seems to come from Firefox. How do I keep the block entry there and make it work? Thanks.
? The behaviour makes perfect sense. The problem simply seems to be that you're clearing data which you don't seem to understand what it does.

What you want can be achieved by doing what RealityRipple posted above. i.e. keep everything the same but DO NOT clear "Site preferences" on shutdown.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

van p
Astronaut
Astronaut
Posts: 592
Joined: 2015-11-19, 07:15
Location: Cincinnati, OH, U.S.A.

Re: Trying To Block Cookie

Unread post by van p » 2022-06-29, 07:49

All right, Site Preferences is unchecked, but the 'block' entry keeps disappearing, as I mentioned previously. Once, it even said "Allow," not "Block," before it disappeared. Don't think I did that. I'll try playing with it again sometime; right now I need some sleep. "Always use private browsing mode" is unchecked; is this correct?

Edit: Playing with it a little more, it seems like the cookie is being allowed, then deleted when I close the browser (but the 'delete cookie' box is not checked). Deleting is better than nothing, but it's supposed to be blocking creation. Also, again, then the 'block' entry disappears.
Windows 10 Pro x64 v22H2 8GB i5-4570|Pale Moon v33.0.1 x64

User avatar
karlkracher
Fanatic
Fanatic
Posts: 129
Joined: 2015-12-05, 17:40
Location: berlin / germany

Re: Trying To Block Cookie

Unread post by karlkracher » 2022-06-29, 10:17

Perhaps Cookie Exterminator might be helpful. It deletes cookies (and other data objects too) shortly after the last tab which used the cookie is closed. Of course you can manage a list of exceptions to be not deleted. Similar: Crush Those Cookies

van p
Astronaut
Astronaut
Posts: 592
Joined: 2015-11-19, 07:15
Location: Cincinnati, OH, U.S.A.

Re: Trying To Block Cookie

Unread post by van p » 2022-06-29, 14:19

Thanks for the suggestion, and maybe I'll look into it at some point, but I'd rather not add more software to my system to deal with just one website, and right now I'd prefer that this process work as intended.
Windows 10 Pro x64 v22H2 8GB i5-4570|Pale Moon v33.0.1 x64

Locked