Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support using trusted types for supplying the script URL #139

Open
luser opened this issue Jun 6, 2022 · 1 comment
Open

Support using trusted types for supplying the script URL #139

luser opened this issue Jun 6, 2022 · 1 comment

Comments

@luser
Copy link
Contributor

luser commented Jun 6, 2022

#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!

@timtischler
Copy link

+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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants