The Story of Third-party JavaScript
It’s been 10 years since myself and Anton Kovalyov published Third-party JavaScript (Manning, 2013). As far as I know, it’s the first and only book dedicated entirely to teaching readers how to build JavaScript applications that execute on someone else’s web pages. Applications like embedded widgets, analytics scripts, and yes, ads.
https://benv.ca/blog/posts/the-story-of-third-party-javascript?ref=dailydev