The wifes XJ had a visit from a Weasel, sucker left bird feathers all over the top of the motor, ate the right fender well wiring harness and took a dump and peed all over her motor. It was really gross.
I washed it all off and put a load of Tai hot sauce in an old window cleaner (pump sprayer), coated the wiring and the top of the motor in general. One word of warning, be carefull of overspray, I got some in the heater air intake, that was interesting.
The neighbor tied a little plastic cup of (red corn) rat posion, in his engine compartement. It's corn dyed red and soaked in an overdose of blood thinner. But the smell of dead rodent on a hot exhaust, convinced me my idea was better.
Irrelevent, but Chevy designed there harnesses to taste bad to rodents, at least in the late 80`s. Some engineers idea, who likely had a visit from a rodent in the past.