What is so special about this new screen sharing startup which hasn't been solved already by other projects? I would even claim that Teamviewer does pretty much nails the problem of screen sharing.
[Disclaimer: I am not affiliated with teamviewer in any sense.]
A) var a = body.innerHTML.split('id="'); B) foreach s in a; var id = /([^"])/.match(s); C) use id as key to s D) send changes to innerHTML to second browser using comet E) repeat every second or so
In second browser keep cache of all sent s, rebuild a, and set body.innerHTML = a.join('id="'); Add a transparent div and transmit mouse movements.
Works best if:
pure ajax single page app * in page HTML is browser agnostic (e.g. you use modernizr.js, and javascript generated HTML never has difference depending on browser) * no javascript in body e.g. no onxxx="somejs();" attributes. * static css file * static image filesPM me if want more info :-)
For explaining stuff I still prefer to connect to viewers machine.
Like internet storage, screen sharing has been around for ages, but nobody has cracked it and packaged it up for the mass market.