Just make the law also apply to gun websites and watch it disappear.
That's not really relevant? Gun sellers are required to verify the identities of purchasers, which already precludes children.
So the law equally prohibits distribution of guns and pornography to children.