I can't understand why so many websites use an onclick handler on a button to redirect to websites.
It's not hard to even find something like
<a href="#" href="https://example.com';">click" rel="nofollow">https://example.com';">click here</a>
The worst part is that it's not just random websites doing this, this can be found on most FAANG websites as well.
Layout shift. Google has an entire article [0] about why it's bad.
But as this is likely never going away, I made a Chrome extension [1] (5 lines of code) that gets rid of the box.
The worst part is that it's not just random websites doing this, this can be found on most FAANG websites as well.