Whitelisting Searchine to Work with Content Security Policy

Everything you need to know about how to incorporate Searchine Site Search with Content Security Policy (CSP)

Content Security Policy (CSP) is used to prevent XSS attacks by not loading content from external domains. CSP also prevents the loading of Searchine script files as well as images and API request for delivering search results.

For Searchine Site Search to work on a website that uses CSP you need to whitelist the following domain:

https://app.searchine.net

Example (using the default-src directive fallback):

default-src 'self' app.searchine.net;

For more information about using CSP directives, please go to https://content-security-policy.com/

 

 

Content Management Systems plugins