Slice the onion, stack the slices on top of each other and mince well. Put the chopped onion in another bowl and rub with a bit of salt. Rinse the onion with cold water and drain with a mesh strainer. Squeeze out the water, put them on a paper towel and remove the excess moisture. Add the onion to the chopped egg.