Question

Embedded widget and Subresource Integrity (SRI)

  • 1 February 2024
  • 0 replies
  • 28 views

Hi all,

i added a freshdesk widget to my site with this line

<script type='text/javascript' src='https://euc-widget.freshworks.com/widgets/xxxxxxxxxxx.js' async defer></script>

And everything works well. (x are placeholders)

Now i need to add the RSI.

I added the integrity=xxxxxxxx and the crossorigin=”anonymus” attributes.

But the browser tell me

No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

I already added the RSI for many other resources without problem.

Any suggestions?

Tnx a lot

 

 


0 replies

Join the Community or User Group to Participate in this Discussion

Reply