The script I've written saves a copy of the data every 30 seconds (to make sure if my browser ever crashes I have a copy of the data). It also compares what it saves to what tamper monkey says it has to make sure the save worked.
Despite doing that, I've noticed if my browser crashes my data isn't always getting saved. Which makes me wonder -
does tamper monkey only store its data in memory and only write it to disk periodically? If so that would defeat the entire purpose of my tamper monkey script!
Is there a way to force tamper monkey to flush its data to disk to ensure if the browser crashes data isn't lost?