add condition for applying only on windows and browser not firefox