A ScriptConduit for use with HTML/PRE wrapped Javascript output.
Scripts begin with an html, body and pre tag followed by plain Javascript
without 'execute-in-parent-context' wrapping, but with script-start and
script-end markers.
If this conduit is used the client should direct the output to an iframe
and then poll, looking for new data into the iframe. The html tags should be
removed and script between script-start and script-end tags eval()ed.
This conduit also sends 4k of whitespace data on each flush. This causes
IE to recognize new content. This would be a significant network overhead
so it is important to use gzip on the connection. This complexity has caused
us to turn this conduit off at the moment.
author: Joe Walker [joe at getahead dot ltd dot uk] |