Skip to content

Instantly share code, notes, and snippets.

lamchau / README.rst
Last active Sep 19, 2021
[Chrome/Tampermonky] Extract *.user.js scripts from LevelDB backup
View README.rst

Restoring Tampermonkey scripts

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.


JustMaier / demo.html
Last active Jun 25, 2020
Simple copy to clipboard functionality in angular without any dependencies
View demo.html
<!-- View it live here: -->
<script type="text/javascript" src=""></script>
<script type="text/javascript" src=""></script>
angular.module('app', ['ngClickCopy'])
<div ng-app="app">
<button ng-click-copy="Hello World">Copy</button>