# active-x-obfuscator

> A module to (safely) obfuscate all occurrences of the string 'ActiveX' inside any JavaScript code.

Latest version **0.0.2** (published 2013-06-19) · 0 weekly downloads

## Install

```sh
npm install active-x-obfuscator
pnpm add active-x-obfuscator
yarn add active-x-obfuscator
bun add active-x-obfuscator
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2013-06-19 |
| First published | 2012-02-28 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | * |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 16 |
| Author | Felix Geisendörfer |
| Maintainers | felixge |

## Links

- npm: https://www.npmjs.com/package/active-x-obfuscator
- Repository: https://github.com/felixge/node-active-x-obfuscator
- Issues: https://github.com/felixge/node-active-x-obfuscator/issues
- npm.io page: https://npm.io/package/active-x-obfuscator

## Dependencies (1)

- [zeparser](https://npm.io/package/zeparser.md) 0.0.7

## Recent versions

- 0.0.2 (latest) — 2013-06-19
- 0.0.1 — 2012-02-28

## README

[![build status](https://secure.travis-ci.org/felixge/node-active-x-obfuscator.png)](http://travis-ci.org/felixge/node-active-x-obfuscator)
# 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/

---
_Source: https://npm.io/package/active-x-obfuscator · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
