Adopt Mochi

one script tag · no dependencies · ~18 KB gzipped

Paste this into any page and the cat moves in. Visitors can pet, drag and throw it.

<script src="https://lazyexec.dev/cat.js" defer></script>
Options, as attributes on the script tag
data-cats="2"cats to start with
data-scale="4"size, 3 = 96px cat
data-ledges="h1, nav"elements cats jump onto
data-sound="on"sounds on from the start
data-windows="on"share cats between open tabs (experimental)