eslint-disable-line
This commit is contained in:
@@ -38,13 +38,7 @@
|
|||||||
],
|
],
|
||||||
"globals": {
|
"globals": {
|
||||||
"GM": true
|
"GM": true
|
||||||
},
|
}
|
||||||
"no-eval": [
|
|
||||||
"error",
|
|
||||||
{
|
|
||||||
"allowIndirect": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"browserslist": {
|
"browserslist": {
|
||||||
"production": [
|
"production": [
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ const init = async () => {
|
|||||||
// unsafeWindow.APP_NAME = process.env.REACT_APP_NAME;
|
// unsafeWindow.APP_NAME = process.env.REACT_APP_NAME;
|
||||||
const ping = btoa(Math.random()).slice(3, 11);
|
const ping = btoa(Math.random()).slice(3, 11);
|
||||||
window.addEventListener(ping, handlePing);
|
window.addEventListener(ping, handlePing);
|
||||||
window.eval(`(${injectScript})("${ping}")`);
|
window.eval(`(${injectScript})("${ping}")`); // eslint-disable-line
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user