try to support firefox as well.