Maybe blacklist any links with the words logout, delete, etc anywhere inside the a tag or in the attributes?
If one is worried about preloading links that triggers an action, there is a whitelist mode to enable links as you review them.
Maybe blacklist any links with the words logout, delete, etc anywhere inside the a tag or in the attributes?