Hacker News new | ask | show | jobs
by milkey_mouse 861 days ago
your app and website are awesome, especially the cursor thing
2 comments

Haha thank you. Couple Easter eggs… open two browser windows to the same URL (on interconnected.org) so you can see cursors. Then…

- select text — text highlights are shared in real-time - type “/“ — there’s built-in cursor chat!

Both ephemeral with no data recorded.

I like to hang out on pages if they have a moment of popularity and surprise people by talking to them

I haven’t written this up! I probably should.

But the code is open and it works even with entirely static sites:

https://github.com/genmon/interconnected-cursor-party

Once upon a time I built a whole service around that concept. It basically used what we today call cross site scripting to frame all websites you visit in the browser and then to use the frame to populate it with everybody else visiting the web that way. So you can suddenly see the crowd that is visiting the websites that you are visiting. And sometimes you'd notice the same people in more than one place. Avatars would 'drop' down on the webpage and you'd be able to chat with others by moving your avatar close to theirs on the screen and then to type a message, which would result in a popup text balloon over your character on their screen. It worked pretty well except for the largest sites where it would get too crowded, for those I eventually limited the radius based on the bitmask of the IP address until it was small enough to handle.

Cross site scripting protection in the browsers put an end to it but it was a fun project.

I have to admit that I had a little too much fun following another cursor until they started shaking theirs to signal me to stop.
I would have assumed the shaking to mean "hello!" like crouching a bunch in a multiplayer game with no comms.