Hello there. Had you tried with Malwarebytes for Mac? Also you can try AppDelete to remove any unwanted program. And at Terminal type:
sudo periodic dialy
sudo periodic weekly
sudo periodic monthly
Also you can try to restore your web explorer to it's default state.