Mozilla Demo Studio

  • Demo insturen

Telepresence

I use a membrane to transitively wrap the entire DOM, then load arbitrary code on top of it (such as jQuery), sending all actions over websocket.

Gebouwd met behulp van JavaScript, HTML5, WebSockets, CSS3,

  • 122 keer bekeken
  • 0 reacties

Meer over deze demo van de maker

This demo represent a large chunk of work on a whole suite of collected topics. The core of it builds upon the membrane interface I've created using proxies which allows for a fully wrapped and instrumented DOM doppelganger, By shadowing globals and loading a library using Function, I then force it to access everything through the membrane. This works and is successfully able to load all of jQuery unmodified onto my fake DOM. From there I attempt to keep two remote browsers in sync by faithfully reproducing all events from the target to the source at an extremely fine level of detail. Essentially the remote target is a dumb target, which has need have nothing more than a DOM implementation. I've attempted to create an interface for linking up people to share DOMs between them but that part needs more work.

Launching the demo through here won't work since it relies on a Node.js server. A link to my server running the demo is at the source link to the right.

Nog geen reacties.

Registreer of meld u aan om die van u toe te voegen.

De broncode verkrijgen

Download de bron 170.78 KB · ZIP-bestand

Browse the Source

Deze demo is uitgebracht onder de MPL/GPL/LGPL-licentie.