The European Union (EU) agreed early Saturday on new legislation that will require the world’s biggest technology companies including Alphabet unit Google and Meta to tackle harmful content.