The Computer Oracle

How can I restore a lost Tampermonkey userscripts

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Ocean Floor

--

Chapters
00:00 How Can I Restore A Lost Tampermonkey Userscripts
00:22 Accepted Answer Score 15
00:45 Answer 2 Score 4
00:55 Thank you

--

Full question
https://superuser.com/questions/1149988/...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#windows #googlechrome #userscripts #tampermonkey

#avk47



ACCEPTED ANSWER

Score 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.




ANSWER 2

Score 4


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

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