Ryan Seddon
javascript
Patching builtin Web APIs using Proxy and Reflect
I recently wrote something up on the work engineering publication on a production use of the Proxy
& Reflect
objects to hook into the createElement
web api and add a CSP nonce to any style tags created that way.