If you walk past the Trinity Road side there are usually a load of black cabs at the side if you walk up a few hundred yards. You might need to leave early to be sure of getting in one.
Failing that, the best suggestion is pre-booking (which admittedly may be tough as you don't know how much injury time will be added) or, as suggested elsewhere, going for a drink or two and ordering a taxi from the pub.