A growing number of countries are now eager to punish Facebook and other internet companies for harmful material on their platforms.