Just stop doing business with companies which use them. I do not use Facebook, Instagram, Twitter/X, Amazon (I buy electronic books but avoid physical goods because they try to trick you into buying Prime) and next door. All use dark patterns and the solution is to stop using them.