Video ads crash MacBook Pro?
I've been having an increasingly frequent issue for the past few months with certain video ads causing my 15" MacBook Pro to crash. The crashes occur in both Firefox 98.0.2 and Safari 13.1.2, and seem to be caused by specific ads. The symptoms are always the same; an ad will play for a split second, then the browser will crash, and I won't be able to force quit (if I leave it running for a few minutes, any other apps open will also become unresponsive). Since the browser is still open, I can't shut down from the menu, so I have to hold down the power button. Usually, after forcing a shut down, I can reopen the browser normally (until the next crash); however, sometimes the browser will instantly crash again – when this happens, the only solution I've found is to reboot in Safe Mode, open the browser, quit it, and then restart.
This happens occasionally on Youtube, but the worst offender seems to be www.ctv.ca – easy to reproduce, as almost every ad break causes a crash.
Sometimes, I also can't restart after forcing a shut down – instead, the startup screen hangs on a graphical glitch (flickering Apple logo, blue screen, some kind of white / grey grid pattern) until a Safe Mode reboot.
Solutions I've tried with no effect:
-clearing browser cache
-resetting SMC/PRAM
-disabling Firefox extensions (no Safari extensions)
Any help is much appreciated!
Specs:
mid-2015 15" MacBook Pro
2.8 GHz Intel Core i7
Intel Iris Pro 1536 MB
AMD Radeon R9 M370X
macOS High Sierra 10.13.6
MacBook Pro 15″, 10.13