Opera apparently doesn't offer anything to block such spam advertisement links to open, a pity really. I even have Opera Ad blocker and doesn't prevent them neither.
Only thing is "Malwarebytes" program adwcleaner! At the moment version 7.
Worked fine with me, just deleted also some additional other settings like my language settings and language bar.
But the bloody ads come back again, so guess they are put by a software program i still have to find that spams my computer.
Hope this helps.