I’ve come to the conclusion that the way to secure your website from third party JavaScript is to monitor everything happening on your site:
https://enchantedsecurity.com/
These third party libraries are a necessary part of modern websites. It’s worth trusting but verifying their security.
These third party libraries are a necessary part of modern websites. It’s worth trusting but verifying their security.