Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Refused to execute inline script because it violates the following Content Security Policy directive

If you are using React:

create a .env file in project root

Add variable as follows: INLINE_RUNTIME_CHUNK=false

Build the project again and load the extension again.
 
PREVIOUS NEXT
Tagged: #Refused #execute #inline #script #violates #Content #Security #Policy #directive
ADD COMMENT
Topic
Name
5+1 =