-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The safe mode does not seem to be available in the library #1
Comments
The lib injects the window.$crisp.push('safe', true); I made a PR where I'm adding the method to handle it. See here. |
i got a mirror in vue3 index.ts:173 Refused to load the script 'https://client.crisp.chat/l.js' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-inline'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback. what should i do? |
@jashok2 Your issue is absolutely not related. You should just edit your CSP policy as stated in the error message. Please check https://docs.crisp.chat/guides/others/whitelisting-our-systems/crisp-domain-names/ |
Safe mode is not available : https://docs.crisp.chat/guides/chatbox-sdks/web-sdk/npm/#configuration |
When we receive in the console the warning message asking us to activate the "safe mode" I see that it is not possible to do it from the exposed methods of the SDK. Shouldn't it be possible to activate it directly in the configure method?
You can disable this warning by adding: $crisp.push(["safe", true]) to your page JavaScript.
The text was updated successfully, but these errors were encountered: