0.2.1 • Published 7 years ago

ima-plugin-self-xss v0.2.1

Weekly downloads
5
License
MIT
Repository
github
Last release
7 years ago

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.