You mean like it redirects the homepage or it's a pop-ups etc. If it's a pop-up download and run malwarebytes that should get it. Actually would do that even with a redirect, also clear cache and cookies in Firefox and then see if you can reset the homepage.