Hacker News new | past | comments | ask | show | jobs | submit login

So much fun, similar other projects:

PocketCHIP - http://getchip.com

LameStation - http://www.lamestation.com

Gamebuino - http://gamebuino.com

Meggy Jr RGB Soldering Kit - http://shop.evilmadscientist.com/productsmenu/tinykitlist/10...

I bought for my son, the piper (minecraft+scratch) - http://playpiper.com and

there is also Kano - http://kano.me




I'm sorry for OT, but the kano.me link does a strange thing I notice lots of websites started doing recently. The moment you move your mouse to close the window it creates a popup. Why, and how? I feel really naive asking this but do websites now track the pointer position?


That's the dreadful "call to action" popups every SEO "guru" recommends you to add to your Wordpress site:

http://www.jeffbullas.com/2015/09/16/10-popup-calls-to-actio...

I do hate and actively block them.


It's likely a "mouseout" event to detect when the mouse has left the window. Though I haven't checked the source to verify, so take with a grain of salt.


In Chrome you can find it out by searching for 'exit-intent' event and setting a breakpoint on that. They use the mouseleave event on an element that covers the whole page. When your mouse leaves the web page viewport it will trigger that.

Neat, and annoying as heck.



I have never implemented this but I think they just add a 1 pixel div element at the top of the window and detect a mouseover event.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: