Figure out how to Dynamically inject the WebSocket Connection Script into Any App
- Dominant language
- JavaScript
- Stars
- 23
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Instead of requiring people to include the script in their template, we should be able to inject it into the html of the page at run time. this is _much_ harder to do than simply telling people to include a script, but by _simplifying_ things for people we will reduce barriers to use and thus **_increase adoption**_.
PhantomJS has this ability: http://phantomjs.org/api/webpage/method/inject-js.html
This is also possible using a chrome extension: http://stackoverflow.com/questions/9515704/building-a-chrome-extension-inject-code-in-a-page-using-a-content-script
Or in safari: https://developer.apple.com/library/safari/documentation/Tools/Conceptual/SafariExtensionGuide/InjectingScripts/InjectingScripts.html
But... as usual, we need to support **_Internet Explorer**_... so none of these methods will be _generally applicable_...
[](http://money.cnn.com/2014/12/30/technology/internet-explorer/)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.