Google Gmail continuously nagging to enable Enhanced Safe Browsing

https://lemmy.world/post/2880466

Google Gmail continuously nagging to enable Enhanced Safe Browsing - Lemmy.world

Irritating. I’m trying to extricate myself from Google entirely, but in the meantime I’ve used uBlock Origin to block the notification.
With what rule? I looked and it didn’t seem like there was a good way to target it.
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.