Delete a cookie outside of palemoon
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!
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!
Delete a cookie outside of palemoon
Hi,
I need to open an url from a program. To correctly do that, I must remove a cookie.
Is-it possible outside of the browser, using a line command, or launching palemoon with a parameter ?
Thanks
A+
I need to open an url from a program. To correctly do that, I must remove a cookie.
Is-it possible outside of the browser, using a line command, or launching palemoon with a parameter ?
Thanks
A+
Re: Delete a cookie outside of palemoon
No
"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
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
Re: Delete a cookie outside of palemoon
Cookies seem to be stored in the current profiledir in cookies.sqlite and it's a binary file, so not easily manually editable. If you could script click actions (which I think is possible with some helper libs, like xdotool) then I suppose you could open the tools menu and delete the cookie as usual. Or perhaps copy cookies.sqlite, then add a blank file in it's place, do what you need with Pale Moon and replace it after closing Pale Moon later? There could be a better answer than this though!
Wait, it's all Ohio? Always has been...
Re: Delete a cookie outside of palemoon
Don't mess with core profile files like sqlite or jsom databases.
Re: Delete a cookie outside of palemoon
Thanks for the answers ... even it doesn't make me happy
A+
A+
Re: Delete a cookie outside of palemoon
Not an elegant solution, but it is something.
I suppose what you want is to be able to open a particular URL in Pale Moon from an external script, using a command like this:
You might consider creating a new Pale Moon profile which is set up to not keep any cookies when the browser is shut. You can create a new profile using the command:
Give the new profile a name such as "For scripting only". Then you can invoke Pale Moon from a script and request that Pale Moon use the other profile, like so:
Now there are two caveats with that method:
I suppose what you want is to be able to open a particular URL in Pale Moon from an external script, using a command like this:
Code: Select all
palemoon https://www.florblorp.info/login.php
Code: Select all
palemoon --ProfileManager
Code: Select all
palemoon --profile "For scripting only" https://www.florblorp.info/login.php
- First, obviously this means that all cookies from that profile are cleared when the browser is shut -- not just the one you were talking about.
- Second, this may make Pale Moon ask you which profile you'd like to use every time you start the browser. You can remedy this by starting the browser using the command:
Code: Select all
palemoon --profile default
Re: Delete a cookie outside of palemoon
Off-topic:
Does anyone know what a "singleton cookie" is.I found one in a folder on my system.Im certain it did not come from pale moon.I removed it anyway and it never returned.
Does anyone know what a "singleton cookie" is.I found one in a folder on my system.Im certain it did not come from pale moon.I removed it anyway and it never returned.
user of multiple puppy linuxes..upup,fossapup.scpup,xenialpup.....
Pale moon 29.4.1
Pale moon 29.4.1
Re: Delete a cookie outside of palemoon
Off-topic:
Think of a singleton as an object that only can have one copy of itself across the system. So the cookie must be similar - the site that set it uses only that one instance of it for whatever purpose it is for.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Re: Delete a cookie outside of palemoon
the question was to delete a cookie outside of Pale Moon with a command passed to it. The answer to that is No.
The whole temporary profile thing etc is a terrible crutch and doesn't even apply at all to the OP's question, so I don't know why you brought it up.
The whole temporary profile thing etc is a terrible crutch and doesn't even apply at all to the OP's question, so I don't know why you brought it up.
"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
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
Re: Delete a cookie outside of palemoon
Cookies are stored in a sqlite database file. So deleting the cookie from outside of the browser is of course possible in the technical sense of the term, but it's not for the faint of heart and is heavily recommended against.
A workaround and hopefully a possible solution:
A workaround and hopefully a possible solution:
- You can get the URL from the browser when you click the link in your other program.
- Copy this URL.
- Open the URL in a private window or a new profile where the cookie won't be present.