Safari trojan - JS/Redirector.NDR trojan
How do I remove the JS/redirector.NDR trojan from the Safari browser. The trojan is not on my computer, but tries to redirect when opening Safari. This does not happen when I use the Chrome browser. Over the past 2 months I have tried to remove without success by clearing the history. My ESET security quarantines the trojan's redirect everytime, however does not offer any solutions to stop it. Any help is appreciated. Thanks.
MacBook Air, macOS High Sierra (10.13.4)