▲ How to block Third-Party Scripts with a Few Lines of JavaScript at medium.com▼1 up and 0 down, posted by elbywan 2384 days ago 1 comment
kirilloid 2379 days ago. link 2 points ▲ ▼This is cool as an excersice or for some tricky edge-cases. But the standard way of blocking script is this https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/script-src