Peel and slice potatoes. Sautee potatoes until they are soft and lightly browned
Add onions until they are slightly browned, season with half of the salt.
Break eggs into bowl, season with second half of the salt + pepper, beat moderately well e.g. with chopsticks
Dump potatoes hot into the eggs and stir a bit
Put some more olive oil into pan and transfer everything into pan again, brown a bit over quite high heat
Once bottom is browned flip, tuck in edges a bit, flip it a few more times if you want to make the shape nicer
Optionally prepare some Aioli (quick recipe: Mayonnaise, Olive oil, 1 clove garlic, black pepper)
Cut into squares and serve with dip
