Illinois state Rep. Daniel Didech has proposed a law that would require police to screen social media accounts of potential gun buyers.

The law would ask Illinois gun buyers to volunteer the handles of their social media accounts, rather than asking buyers to also hand over their social media account passwords and allow authorities access to their browser histories, as a New York bill does.

In its current wording, says a news report, Didech’s bill would require that police conduct a “search of purchasers’ social media accounts available to the public to determine if there is any information that would disqualify the person from obtaining or requiring revocation of a currently valid Firearm Owner’s Identification Card.”

The bill has now been assigned to the House Judiciary-Criminal Committee for initial review.