Cut tofu and shrimp into bite-sized pieces.
Pat the tofu dry with a kitchen towel to remove excess moisture.
Add cooking oil to a pan and cook the tofu until golden brown.
Remove the tofu from the pan, season the shrimp with salt and pepper, and stir-fry in the pan.
Add chili sauce and cook the shrimp thoroughly.
Mix the grilled tofu and chili shrimp together.
Place the mixture over rice and sprinkle chopped green onions to finish.