To completely remove it not just disable it in the browser you need to uninstall the Browser Protection module:

  • in windows, Control Panel - Add Remove Programs/Program Control > avast - Change Remove/Uninstall - Scroll down and select Change - uncheck the Browser Protection module.

Not sure what the equivalent procedure would be on a mac.