How can I restore a lost Tampermonkey userscripts

Not clean backup but something. Go to:

%LocalAppData%\Google\Chrome\User Data\Default\Local Extension Settings\dhdgffkkebhmkfjojejmpbldmpobfkfo\

And find file 000003.log or similar. This file stores whole history of changes of all userscripts. Just search for website name, that uses your script.


You can use this python script to extract your scripts from the profile backup folder:

https://gist.github.com/derjanb/9f6c10168e63c3dc3cf0