Dark patterns on the web are designed to manipulate you – why aren’t they all illegal?

Dark patterns on the web are designed to manipulate you – why aren’t they all illegal?