News for hackers. Stuff that matters.
Re:Google’s suggestion for a better infinite scroll? by dandelany on Thursday February 27, 2014 @05:30PM (#7315703)
I don't think the browser is technically able to move the mouse cursor, I imagine that happens at the OS level. Anyone have a counterexample?
Re:Google’s suggestion for a better infinite scroll? by icebraining on Thursday February 27, 2014 @05:35PM (#7315734)
The OS has APIs that applications like the browser can use for that, e.g.:

Win32: http://msdn.microsoft.com/en-us/library/windows/desktop/ms64...

X11: http://tronche.com/gui/x/xlib/input/XWarpPointer.html

Re:Google’s suggestion for a better infinite scroll? by repsilat on Thursday February 27, 2014 @05:40PM (#7315762)
Applications in most operating systems can set the cursor position. Full-screen games often reset it to the middle of the screen every frame.

IIRC it isn't exposed to JS except maybe for some new fullscreen API (not my area, sorry.)