den.js

there is a kobold on this page. you cannot see him. move your mouse.

hello

He is invisible. What you can see is his paw prints, his little comments, and — if you leave him alone long enough — the bed he drags out.

Give him a moment to climb out of his burrow.

try this

Move your cursor — he comes to it. Stop, and he waits, then gets bored and wanders off.

Click him — where the prints are, not where your cursor is. He yips and spins. Do it ten times and he decides you're friends.

Type yip — anywhere on the page. He answers.

Open the >_ den tab in the corner, then try come, fetch, status, or name crumb.

Press BA — or just type zoomies.

Scroll fast — he gets carried off with the page and has to sprint back.

Wait ten minutes without touching anything. He goes to bed.

things he can steal

These are marked data-den-steal. Nothing is stealable unless you say so. Hit fetch in the shell to make him take one now — he always brings it back.

NOTEPAD.EXE apache 4 life Y2K COMPLIANT free gifs

events

Pages tell him what happened; he decides how to feel about it.

Rain sends him under the nearest panel to sulk. Snow does the opposite.

↑ "investigate" sends him to this line, specifically.

the whole integration

<script src="/den.js"></script>

Optional markup:

<div data-den-poi="yip (sign it)">      <!-- he visits and comments -->
<span data-den-steal>             <!-- he may take this -->
<span data-den-others></span>     <!-- how many others are here -->

MIT licensed. if you put him on your site, he's yours now.