14

Recently my chrome glitched and tampermonkey just stopped working. I uninstalled and then reinstalled extension (with hope that scripts stay in place), but my scripts got deleted. Luckily I have a backup of profile directory. So how I can restore them?

Artem P
  • 380

2 Answers2

15

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.

Artem P
  • 380
4

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

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

derjanb
  • 157