This is a perfect example of why using hot button issues as an analogy is always a bad idea.
A browser add-on is not a gun. A limited API is not a sign in a window telling you you can't do something, it's a hard restriction that makes breaking rules impossible.
So can we please, please, not turn this into a conversation about gun control? We don't even need an analogy. Everyone here understands browser add-ons.