If you think being outside the EU will stop politicians voting for these types of laws, here's a nice UK example for you that "make administrators and moderators of certain online forums responsible for content published on those forums"
https://services.parliament.uk/bills/2017-19/onlineforums.ht...