Open ghost opened 2 years ago
@amarakon You can use the :cleardata
or :cl
to clear all memory-cache, disk-cache, offline-cache, session-storage, local-storage, indexeddb-databases, plugin-data, cookies and hsts-cache.
Note that this affects all running instances of vimb. But there is at the time no logic to do something in vimb which is only executed if all windows are closed. The instances of vimb run as separate processes and do nto know anything about each other. So if you want to do this only if all windows are closed you have to do this outside of vimb. But in this case you have to launch vimb to run the :cleardata
command. Not tested, but this might be possible with vimb -C 'cleardata' -C 'quit'
which runs the command an quits vimb right after.
Yep it works. But the only thing it didn't clear was the sites I've visited, and I want it to clear that too.
@amarakon You mean the entries added in .local/share/vimb/history
. You could delete this file by yourself. And to be save you should also delete the .local/share/vimb/closed
which stores the last closed-max-items
closed urls. Or you could :set closed-max-items=0
so that there is no url written to the file when vimb is closed.
This issue has been automatically marked as stale because it has not had activity within the last 60 days.
I want vimb to clear all history, logins, cookies and stuff like that when all vimb windows have been closed.