Update extension detection for Safari.