Wrap the tofu with a kitchen towel to remove excess moisture.
Cut the tofu into small cubes.
Heat cooking oil in a pan and fry the tofu until golden brown.
In a bowl, mix mayonnaise, soy sauce, sugar, and vinegar to make the sauce.
Mix the fried tofu with the sauce.
Sprinkle with sesame seeds and chopped green onions to finish.