OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

How i can disable unsafe-eval security feature to run my extension code at diferent webpagges?

  • Thread starter Thread starter Ali Shan
  • Start date Start date
A

Ali Shan

Guest
app.js?v=4.8.9.2:1 [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 data: blob: 'self' 'report-sample' https://static.whatsapp.net https://.youtube.com https://maps.googleapis.com https://maps.gstatic.com https://.google-analytics.com 'wasm-unsafe-eval'".

I am facing an issue where I want to run my extension code on WhatsApp Web. I want to display a popup when clicking on my extension icon, which is created in the textarea field like the Grammarly icon. However, the popup is not working as expected. Please help me solve this problem. I am using V3 for creating the chrome extension..Thank you in advance.

<p>app.js?v=4.8.9.2:1 [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 data: blob: 'self' 'report-sample' <a href="https://static.whatsapp.net" rel="nofollow noreferrer">https://static.whatsapp.net</a> https://<em>.youtube.com <a href="https://maps.googleapis.com" rel="nofollow noreferrer">https://maps.googleapis.com</a> <a href="https://maps.gstatic.com" rel="nofollow noreferrer">https://maps.gstatic.com</a> https://</em>.google-analytics.com 'wasm-unsafe-eval'".</p>
<p>I am facing an issue where I want to run my extension code on WhatsApp Web. I want to display a popup when clicking on my extension icon, which is created in the textarea field like the Grammarly icon. However, the popup is not working as expected. Please help me solve this problem. I am using V3 for creating the chrome extension..Thank you in advance.</p>
 

Latest posts

Top