You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
close
Home > Account Setup > HappyFox Chat Widget Content-Security-Policy
HappyFox Chat Widget Content-Security-Policy
print icon

Customers who install HappyFox Chat widget in pages which use Content Security Policy (CSP) should extend their CSP policy to include following domains in respective directives.

 

 

script-src 'self' 'unsafe-inline' 'unsafe-eval' happyfoxchat.com *.happyfoxchat.com; 

connect-src 'self' happyfoxchat.com *.happyfoxchat.com; 

media-src 'self' happyfoxchat.com *.happyfoxchat.com; 

object-src 'self' happyfoxchat.com *.happyfoxchat.com; 

child-src 'self' happyfoxchat.com *.happyfoxchat.com; 

img-src 'self' happyfoxchat.com *.happyfoxchat.com; 

style-src 'self' 'unsafe-inline' happyfoxchat.com *.happyfoxchat.com; 

font-src 'self' happyfoxchat.com *.happyfoxchat.com;


 

Example CSP policy which whitelists HappyFox Chat widget,

 

default-src 'self'; 

script-src 'self' 'unsafe-inline' 'unsafe-eval' happyfoxchat.com *.happyfoxchat.com; 

connect-src 'self' happyfoxchat.com *.happyfoxchat.com; 

media-src 'self' happyfoxchat.com *.happyfoxchat.com; 

object-src 'self' happyfoxchat.com *.happyfoxchat.com; 

child-src 'self' happyfoxchat.com *.happyfoxchat.com; 

img-src 'self' happyfoxchat.com *.happyfoxchat.com; 

style-src 'self' 'unsafe-inline' happyfoxchat.com *.happyfoxchat.com; 

font-src 'self' happyfoxchat.com *.happyfoxchat.com;

 

Feedback
0 out of 0 found this helpful

scroll to top icon