m1gin 58

Backup or restore snippets from DevTools in Google Chrome / Chromium browser...

https://neotan.github.io/chrome-dev-tools-snippets/
https://gist.github.com/DJTB/9c177156340e3d4be8580574ecf31c06

https://stackoverflow.com/questions/19025718/which-file-does-snippets-of-chrome-dev-tool-saved-at

Chromium snippets are saved under: ~/.config/chromium/Default/Preferences as a one-line json.

The foloowing command will print all the snippets as json:

  • jq .devtools.preferences.scriptSnippets ~/.config/chromium/Default/Preferences
Add to: