I want to try out some of the new ECMAScript features but the browser integrated with LightTable doesn't have those features. For that I need to connect to an external browser and for that LightTable requires this line:
<script type='text/javascript' id='lt_ws' src='http://localhost:53742/socket.io/lighttable/ws.js'></script>
I tried:
document.head.innerHTML+="<script type='text/javascript' id='lt_ws' src='http://localhost:53742/socket.io/lighttable/ws.js'></script>"
But LightTable still doesn't see the connection:
"No client available. We don't know what kind of client you want for this one. Try starting a client by choosing one of the connection types in the connect panel."
How can I change this into JavaScript code that can be pasted in the console tab, so that I dynamically connect LightTable to an external browser from console?