Skip to content

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

Notifications You must be signed in to change notification settings

seznam/IMA.js-plugin-self-xss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published