Post Reply

Chrome Error message "unsafe-eval" on Iframe

Post by x-dream
Hi there,
I am in an angular project.
I get this error on Chrome:

[Report Only] Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self' 'unsafe-inline' http://www.waze.com web-assets.waze.com http://www.youtube.com http://www.google.com http://www.gstatic.com http://www.googleadservices.com http://www.googletagmanager.com http://www.google-analytics.com googleads.g.doubleclick.net s.ytimg.com".

My HTML:

Code: Select all

<div class="heading">
    <h3><a href="https://www.waze.com/ul?ll=31.84532158%2C34.70176792&navigate=yes&zoom=17">לחץ לניווט: העוגן 6, איזור התעשיה הצפוני - אשדוד</a></h3>
  </div>
  <div class="map-responsive">
      <iframe src="https://embed.waze.com/he/iframe?zoom=17&lat=31.845244&lon=34.701884&ct=livemap&pin=1&desc=1" allowfullscreen width="1150" height="540"></iframe>
  </div>
I saw https://stackoverflow.com/questions/211 ... chrome-app Answer. But I couldn't figure if this is my case and Where should I enter the record.

Thanks for helping me out.
x-dream
Posts: 117
Been thanked: 1 time

POSTER_ID:16826210

1

Send a message