In the same skillet you used for the onion, add a generous pour of olive oil. Heat it over a lively flame until it shimmers.
Then pour in the egg and onion mixture. The eggs should start to "boil" on contact with the oil.
Stir the egg mixture gently, all the while shaking the pan so that as some of the eggs set, the remaining raw egg comes in contact with the hot skillet so it has a chance to set, too.
Then stop stirring and lower the heat a bit. Let the eggs brown well on the bottom. (Use a spatula to peek underneath and check.)
When the bottom of the eggs has browned nicely and the egg has set other than a thin top layer, slip the half-cooked frittata on to a plate. Take another plate of equal size and, holding the two plates together, flip them over.
Add a drizzle of olive oil to the skillet, then slide your half cooked frittata back into the skillet, raw side down. Let the bottom side brown nicely as well.