if ever there were a need for a small local ai plugin...

I suggest looking at "consent-O-matic" which might not be AI but takes care of the issue for you

uBlock Origin's "annoyances" filter lists also do the job.