Remove single cookie via command line
-
hi Vivaldi-community!
is there a way to remove "one specific well known cookie" by using a Command Line Interface command?
(the usual way: Site-Info (LOCK) - cookies - select domain - cookies - open list - select cookie -> remove)thank you
murmel -
@murmel Another method is to go to Settings, Privacy, Display saved cookies, and search by domain.
I edited your post as I had to look up CLI command.
-
I'm looking for a method to remove "a single specific cookie" from a set of cookies related to a domain.
E.g. this forum domain vivaldi.net stores 4 different cookies. By using a single command I would like to remove one out of the database ...
Is there a way to do so?
-
You can probably† do this at the command line using your favourite SQL program, as long as you know SQL.
- Download a program capable of browsing sqlite files. (I quite like this one: https://github.com/sqlitebrowser/sqlitebrowser ) - you can use a command line one if you want, but a GUI might help you tease out the exact SQL command to run
- Go to
vivaldi://about
and open your Profile Path - Close Vivaldi
- Open the
Cookies
file in your SQL program - You get something like this:
- Figure out the SQL command to delete the specific cookies that you want. The cool thing about
sqlitebrowser
is it keeps a log of every SQL command run, so if you delete it using the GUI, you may be able to re-run the command from the command line using a CLI SQL program
† Disclaimer: I offer no guarantee that this will work. BACK UP FIRST!
-