Green’s Dictionary of Slang

drit v.

[? mis-reading of SE dirt, to foul, to pollute]

(UK Und.) to defecate.

[UK]Canting Academy, or the Pedlar’s-French Dict. n.p.: To Drit To Shit.