fullstory-browser-sdk icon indicating copy to clipboard operation
fullstory-browser-sdk copied to clipboard

Support using trusted types for supplying the script URL

Open luser opened this issue 2 years ago • 1 comments

#104 raised a valid feature request: users should be able to pass a TrustedScriptURL for the script path. This type is part of the Trusted Types API, a spec that includes types to perform additional validation to help prevent XSS attacks. To usefully support this, we will need to support it in the web capture API. Once that happens, we can expose it via this SDK.

Thanks for bringing this to our attention, @antifuchs!

luser avatar Jun 06 '22 18:06 luser

+1!! I've installed FS many times at different places with zero hassle but the site I'm trying to install it on now already uses the trusted types api and I haven't figured out to make it work yet. I've spent more time installing it today than the last 3 times I've used it!

timtischler avatar Dec 06 '22 23:12 timtischler