Don’t include external JavaScript on your website.
I used to run ads (don’t do that either). Some old pages still include the ad code. Ad company folded, domain got snatched up, now hosts a different JS file that calls window.open
to redirect to another page. 🤷♀️