In days gone by, this sort of behavior was used by the US and UK as the bastions of liberalism to condemn "totalitarian" regimes. How times change.
Last year, The Intercept exposed how GCHQ has in recent years attempted to create what it described as the world’s largest surveillance system, covertly harvesting in excess of 50 billion records every day about people’s emails, phone calls, and Web browsing habits. In one program code-named KARMA POLICE, the agency said it was seeking to obtain “a web browsing profile for every visible user on the internet.”The US calls it "total information awareness."
Documents Reveal Secretive U.K. Surveillance Policies