I’m amazed that you can legally sell any device that plugs into a normal receptacle and generates power for that circuit.
But there are devices out there that do feed power over the exposed prongs of a male plug. They're called "suicide cords" for good reason.
There a many problems with this article, but the fact that it includes a battery charger is not one of them.