Now if only Firefox could do the same (and respect xdg-mime by the way too)...