Deal with modern firefox