Hvis nettstedet ditt bruker en Content Security Policy, må du tillate Smartsupps domener (*.smartsupp.com, *.smartsuppchat.com og *.smartsuppcdn.com) der. Hvis ikke, vil chatten ikke lastes inn riktig. De nøyaktige reglene for CSP v3 og CSP v2 finner du nedenfor.
Vi har delt artikkelen inn i noen seksjoner:
CSP v3 - streng, kompatibel med Google
Content-Security-Policy:object-src 'none';script-src 'nonce-{random}' 'strict-dynamic' 'unsafe-inline' https: http:;base-uri 'self';report-uri https://your-report-collector.example.com/
CSP v2
Content-Security-Policy: connect-src: wss://*.smartsupp.com https://*.smartsupp.com https://*.smartsuppchat.com https://*.smartsuppcdn.com font-src: https://*.smartsuppcdn.com media-src: https://*.smartsuppcdn.com img-src: data: https://*.smartsuppcdn.com script-src: 'unsafe-inline' https://*.smartsuppchat.com https://*.smartsuppcdn.com style-src: 'unsafe-inline' https://*.smartsuppcdn.com
Endringslogg
Endringslogg 2020-04-17: Lagt til følgende
connect-src: https://*.smartsuppchat.com https://*.smartsuppcdn.com
2020-09-22: Fjernet følgende
connect-src: https://smartsupp-widget-161959.c.cdn77.org font-src: https://smartsupp-widget-161959.c.cdn77.org media-src: https://smartsupp-widget-161959.c.cdn77.org img-src: https://smartsupp-widget-161959.c.cdn77.org script-src: https://smartsupp-widget-161959.c.cdn77.org style-src: https://smartsupp-widget-161959.c.cdn77.org
Hva skjer videre?
Vil Smartsupp gjøre nettstedet mitt tregere? — hvordan chat-skriptet påvirker hastigheten på siden din.
Hvorfor kan jeg ikke se chatten på nettstedet mitt? — hva du bør sjekke når chatboksen ikke vises på siden din.
Støttede nettlesere — nettlesere og versjoner som fungerer med Smartsupp.
