First, it was side banners that you could easily ignore.
Then, late 90s, early 2000s, popups that interrupted your attention. This was such a problem that EVERY browser added a "block all popups" setting, which never blocked the ads, but to this day may block stuff from sites you actually want to use.
Finally, it became javascript. Fucking javascript. "What could go wrong?"