welcome to the forum. you could try to disable the webrep in avast for firefox that should solve your problem.
avast/additional protection/ weprep/uninstall the firefox weprep.
hope this will help you.