I read david's blog http://www.coova.org/node/4656 about content injection, and the illustration seems very nice, could david or anyone else please release the example code of the top banner demostration (the jscript file located in /www/com.coova.Cd/com.coova.Cd.nocache.js)?
I've tried created this js file and added some content for testing, start chilli with --redir --uamregex="*", the content is injected to every page, but there is no need to login anymore (I believe the login logic should be in the injected js file), and the webpage lunching is quite slow compared with no injection.