def match?
      ua =~ /Safari/ &&
        ua !~ /PhantomJS|FxiOS/ &&
        !edge? &&
        !chrome? &&