Demonstrators hurled firecrackers and stones Saturday at police officers who cordoned off Taksim Square. Many also denounced a corruption scandal involving former Cabinet ministers and called on the government to resign.
The president is under pressure not to ratify the legislation, which would allow authorities to block websites for privacy violation without a court decision. Internet providers would also be forced to keep users' data and make them available to authorities.
Prime Minister Recep Tayyip Erdogan denied accusations of censorship on Saturday, insisting the legislation would make the Internet "more safe and free."