axo
Return an ActiveXObject without mentioning it in the source
Last updated 8 years ago by 3rdeden .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install axo 
SYNC missed versions from official npm registry.

AXO

Made by unshiftVersion npmBuild StatusDependenciesCoverage StatusIRC channel

AXO stands for ActiveXObject. And the sole purpose of this library is to return the ActiveXObject constructor from the environment it's loaded in. Normally you would just reference the constructor directly by simply mentioning this constructor in your source file can result in blocking of your file.

There are 2 ways of tackling this issue:

  1. Use the active-x-obfuscator and introduce another build step in your code.
  2. Use AXO and never mention it.

Installation

npm install --save axo

This module makes the assumption that it can be loaded in node.js/commonjs based environment and exports it self on the module.exports. So using browserify for the code makes a lot of sense here.

Usage

var AXO = require('axo');

new AXO('htmlfile');

License

MIT

Current Tags

  • 0.0.2                                ...           latest (8 years ago)

3 Versions

  • 0.0.2                                ...           8 years ago
  • 0.0.1                                ...           10 years ago
  • 0.0.0                                ...           10 years ago
Maintainers (2)
Downloads
Today 1
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (2)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |