Use \OCP\Util::addScript to add the olark script, check the docs.

On 09/06/2013 02:55 PM, [email protected] wrote:
> Hi,
>
> I'm wanting to integrate an Olark (http://olark.com) chatbox into
> ownCloud. There is an Olark script that has to be included before the
> </body> tag.
>
> But the Olark box won't display. When I trace the page execution in
> Chrome, there's an error message: Refused to execute inline script
> because it violates the following Content Security Policy directive:
> "script-src 'self' 'unsafe-eval'"
>
> What can I do to fix this please?
>
> TIA for any advice, ;-)
>
> -- 
> Dave
> _______________________________________________
> Owncloud mailing list
> [email protected]
> https://mail.kde.org/mailman/listinfo/owncloud

_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud

Reply via email to