Saute onion in oil on low heat for 30 minutes. They should become dark brown and very soft. Remove, add potatoes to the pan and saute for 20 minutes until the potatoes are well browned. Add onions back to the pan, along with salt and pepper. Pour in eggs. Bake for 15 minutes at 400 degrees or until the eggs are set. Sprinkle with parsley and serve.