California on Monday joined more than a dozen other states that have introduced internet privacy legislation after Republicans in Washington and the Trump administration repealed President Barack Obama-era rules limiting what AT&T, Comcast and other broadband providers can disclose about their customers' online habits.

Assembly Bill 375, patterned after the federal provisions, would require internet service providers to obtain “opt-in” consent from customers before using or selling their information, such as what sites they've visited, how much time they've spent there and what apps they've downloaded. It would also bar ISPs from charging a penalty or offering a discount based on whether a customer gives their consent.

“When the government at the federal level fails to act, the states have to lead the way,” Richard Holober, executive director of the Consumer Federation of California, said at a capitol press conference. The bill has the support of privacy and civil rights groups, including the American Civil Liberties Union of California, the Electronic Frontier Foundation and the Privacy Rights Clearinghouse.