Another alternative to avoid legal terrorism is low penalties. If the law would rapidly shift to say infinite scroll is illegal, but the only penalty is being ordered to remove it (and then penalised more if you fail to do so after being notified) I don't think that's really that bad?
You’d need a Constitution that allows laws regarding speech. And probably a mechanism to prevent legislators from assigning excessive penalties.
It’s not about whether the law meets some abstract notion of good or bad, it’s about whether it is even possible to enact under the framework that governs us. Under the Constitution as it stands, it wouldn’t be possible.