We demoed an HTTP proxy that rewrites JavaScript libraries to provide basic lazy-loading functionality: each function is replaced by a stub that upon invocation loads the full library.
For more information about the platform, the AjaxScope paper is here
Download AjaxView and install it following the instructions posted on the web page. Make sure port 8888 is not blocked by any firewall, etc.
Copy SamplePlugin.dll (from the archive above) into the plugins/ folder inside AjaxView and restart the proxy (if already running). Note that we provide the dll for convenience, it can be easily obtained by compiling LazyLoad.cs from the sources archive.
This machine can now be used as an HTTP proxy. Change the connection settings on the phone accordingly.
The proxy service can also be advertised and discovered by using Avahi. There are two scripts in the source archive, publish.py and browse.py that do exactly this.
For the text-wrapping utility, install Greasemonkey and enable textwrap.user.js.
project/lazyload.txt · Last modified: 2008/05/26 01:53 by sauciuc