javascript - How can I remove eval from Criteo's sslwidget.criteo.comevent which violates Content Security Policy? - Sta

admin2025-04-18  3

I'm developer of the webapp that is using Criteo.
When I open my site, is loaded.
It is a simple javascript code and contains some eval.
I want to remove its eval because it violates Content Security Policy.
I wont use unsafe-eval.
How can I remove eval from ?
I think I can remove it by setting something on Criteo's management screen, But what is the related feature?

For exampel, Google Tag Manager's eval is related to its custom javascript variable.
What feature is related to Criteo's sslwidget.criteo/event and How can I manage it?
Thank you!

转载请注明原文地址:http://anycun.com/QandA/1744925079a89568.html