In a skillet large enough to hold the shrimp, melt the butter over high heat. When it is sizzling, toss in the shrimp and the onion. Shake the pan and toss the shrimp. Shrimp are ready when they are pink and they start to curl, in just a couple of minutes. Salt them and remove from the heat.