The plugin is trying to mitigate Self-XSS security attack by sending simple message into console
npm install ima-plugin-self-xssThe IMA plugin is trying to mitigate Self-XSS security attack by sending simple
message into console.
``javascript
npm install ima-plugin-self-xss --save
`
`javascript
// /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();
``
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