insert condition accoding to brawser