Use Webix on Chrome Extension

How to use Webix on Chrome Extension (problem with EVAL)?

Hi,

You have to download webix.js and webix.css locally.
Then :

main.html :

<!DOCTYPE html>

<html>
<head>
    <!-- to be able to use webix in chrome extension.-->
    <script src="../libs/webix/webix_strict.js"></script>
    <link rel="stylesheet" type="text/css" href="../libs/webix/dark.css">
    <script src="../libs/webix/webix.min.js"></script>
</head>
<body>
    <script src="index.js"></script> <!-- your ui with webix.ui({... -->
</body>

</html>

webix_strict.js :

window.webix_strict = true;

Cheers

I have error (for example when click to checkbox):

` Refused to execute inline event handler because it violates the following Content Security Policy directive: “script-src ‘self’ ‘wasm-unsafe-eval’ ‘inline-speculation-rules’ http://localhost:* http://127.0.0.1:*”. Either the ‘unsafe-inline’ keyword, a hash (‘sha256-…’), or a nonce (‘nonce-…’) is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the ‘unsafe-hashes’ keyword is present.

Hi,
Please share minimal code ?