alvathomas,
welcome to this webboard. Please do not try to advise people if you have no clue about what is going on. The OP talks about messages that avast shows when it scans a file/traffic. That has nothing to do with pop-ups in a browser.