Automatically Delete Unauthorized Cookies from Morph upon Close
-
I wrote a bash script that automatically deletes all cookies in the Morph browser with an sqlite3 command (except the domains you've told it to keep) each time you close the browser.
The companion cookies-delete.conf file will auto start the script for you each time you boot UT.
Originally developed on Ubuntu Touch 16.04 Xenial OTA-25 stable with Pixel 3a hardware. You can download them here:
https://www.dropbox.com/s/d4k5hf1pfj8igys/cookies-delete.sh
https://www.dropbox.com/s/1byqwvbdbkps0n9/cookies-delete.confThe instructions are near at the top of the script. Code improvement suggestions? Let me know. If anyone gets inspired to make a full UT App with it, please do!
-
@Craig Hello. Can you clarify difference(s) compared to private browsing? Thanks
-
@domubpkm I don't use the private browsing feature in Morph. But what I understand is it will delete not only all cookies, but your history as well. If you run Morph in regular mode with this script, you can keep the cookies with sites you trust and all your history, too.
Using this script would be similar to the Manage Exceptions feature in the Firefox Security and Privacy settings. There you can “Allow” certain websites to leave cookies while you have ticked a checkbox “Delete cookies when Firefox is closed”.
So, you can login quicker with sites you trust and also quickly find that page you visited a couple days ago in your history.
-