Chrome stores .user.js
scripts in a .ldb
, which isn't in a user accessible format to recovery. On some versions of macOS the provided python script can't compile the leveldb package. As a workaround, we can use the node level package to recover our userscripts.
brew install node
npm install level
node extract.js "/Users/$(whoami)/Library/Application Support/Google/Chrome Canary/backup/Default/Default/Local Extension Settings/dhdgffkkebhmkfjojejmpbldmpobfkfo"
@rakitanc what did you try? Were you able to run this script? Also, did you check if in your Tampermonkey settings you have Enable Userscripts Sync checked? (If you have it checked, you might be able to restore from there too)