Gibt es eine genehmigte Methode, um Javascript vor dem schließenden Body-Tag hinzuzufügen?

You can whitelist evals in the content security policy site setting, see Mitigate XSS Attacks with Content Security Policy.

We do not recommend this though, it opens your site to security exploits.

1 „Gefällt mir“