i’m guessing the websites you are visiting contains malware download scripts. so when the scripts were activated, avast stopped it. it’s just a guess though