That's good! Also Avast has a good internet security tool called Avast Mac Security, blocks all bad websites etc.I would be surprised if you had a virus.
it might be adware.
Download malwarebyres and run it:
https://www.malwarebytes.com/antimalware/mac/
That, Malwarebytes plus AdBlockPlus is the win for safe browsing!