This website contains age-restricted materials including nudity and explicit depictions of sexual activity.
By entering, you affirm that you are at least 18 years of age or the age of majority in the jurisdiction you are accessing the website from and you consent to viewing sexually explicit content.
Right click, block element.
For most cases that works fine, but it looks like the xpath uses generated identifiers, so any time they push a change to the Gmail UI the rule won’t match any more.
Can you go up a level and block more vaguely?
No, same issue with the parent elements. Eventually you’d be blocking too widely and block the whole thing.