Previous comments/answers about needing a browser plugin/extension are correct.
Take a look at ZigFu, specifically http://zigfu.com/devtools.html, who are working to offer just this with their ZDK/ZigJS (you can find some demos at http://www.motionos.com/demos).