ima-plugin-self-xss

0.2.1 • Public • Published

ima-plugin-self-xss

The IMA plugin is trying to mitigate Self-XSS security attack by sending simple message into console.

Installation

 
npm install ima-plugin-self-xss --save
 
// /app/build.js
 
let vendors = {
    common: [
        'ima-plugin-self-xss'
    ]
};
 
let languages = {
    cs: [
        './node_modules/ima-plugin-self-xss/locales/*CS.json'
    ],
    en : [
        './node_modules/ima-plugin-self-xss/locales/*EN.json'
    ]
};
 
/*
The atom components are now available within the namespace:
 
import SelfXSS from 'ima-plugin-self-xss';
*/
// /app/config/services.js
import SelfXSS from 'ima-plugin-self-xss';

...

let selfXSS = oc.get(SelfXSS);

...

selfXSS.init();

IMA.js

The IMA.js is an application development stack for developing isomorphic applications written in pure JavaScript. You can find the IMA.js skeleton application at https://github.com/seznam/IMA.js-skeleton.

Package Sidebar

Install

npm i ima-plugin-self-xss

Weekly Downloads

1

Version

0.2.1

License

MIT

Last publish

Collaborators

  • jurca
  • mjancarik