aboutsummaryrefslogtreecommitdiffstats
path: root/signaling-server/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/Readme.md
diff options
context:
space:
mode:
Diffstat (limited to 'signaling-server/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/Readme.md')
-rw-r--r--signaling-server/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/Readme.md33
1 files changed, 33 insertions, 0 deletions
diff --git a/signaling-server/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/Readme.md b/signaling-server/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/Readme.md
new file mode 100644
index 0000000..34f2514
--- /dev/null
+++ b/signaling-server/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/Readme.md
@@ -0,0 +1,33 @@
+# active-x-obfuscator
+
+A module to (safely) obfuscate all occurrences of the string 'ActiveX' inside
+any JavaScript code.
+
+## Why?
+
+Some corporate firewalls /proxies such as Blue Coat block JavaScript files to be
+downloaded if they contain the word `'ActiveX'`. That of course is very annoying
+for libraries such as [socket.io][] that need to use `ActiveXObject` for
+supporting IE8 and older.
+
+## Install
+
+```
+npm install active-x-obfuscator
+```
+
+## Usage
+
+```js
+var activeXObfuscator = require('active-x-obfuscator');
+var code = 'foo(new ActiveXObject());';
+
+var obfuscated = activeXObfuscator(code);
+// -> foo(new window[(['Active'].concat('Object').join('X'))])
+```
+
+## License
+
+Licensed under the MIT license.
+
+[socket.io]: http://socket.io/