Place a glass 9x13 pan in the cold oven, then preheat the oven to 350 degrees Fahrenheit with the pan inside.
In a medium pan on the stove, add 2 tablespoons of vegetable oil and heat until warmed.
Add the yellow and green onions into the pan, and saute until translucent, about 3-4 minutes.
Add the diced potatoes into the pan and saute for about 10 minutes, until the potatoes are softened.
Pour the potatoes and onions into a large mixing bowl. Then add the rest of the ingredients into the bowl as well and mix thoroughly. The mixture will be thick.
When you are ready to cook the Ejja, carefully remove the hot 9x13 pan from the oven. Put the remaining 1 tablespoon of vegetable oil in the casserole dish and use a pastry brush to spread it around, allowing the oil to warm up.
Once the oil is hot, pour the egg mixture into the pan. Bake in the preheated oven for about 25 minutes, until the eggs are cooked through.
Serve warm with soup, bread, or wrapped in ftat, a thin Libyan bread. Enjoy!