sub _check_ie { my ( $self, $ua, $block ) = @_; $self->{engine} = 'Internet Explorer'; $self->{type} = 'Browser'; if( $block->{sleipnir} ){ $self->{name} = 'Sleipnir'; $self->{version} = $block->{sleipnir}; $self->{vendor} = 'Fenrir'; }elsif( $block->{_comment} =~ /lunascape\s+([\d.]+)/){ $self->{name} = 'Lunascape'; $self->{version} = $1; $self->{vendor} = 'Lunascape'; }elsif( $block->{_comment} =~ m{kiki/([\d.]+)}){ $self->{name} = 'KIKI'; $self->{version} = $1; $self->{vendor} = 'http://www.din.or.jp/~blmzf/index.html'; }elsif( $block->{_comment} =~ /msie\s+([\d.]+)/){ $self->{name} = 'Internet Explorer'; $self->{version} = $1; $self->{vendor} = 'Microsoft'; } # new IE 11 has new UA: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko elsif( $block->{_comment} =~ /Trident\/[\d.]+;\s+rv:([\d.]+)/){ $self->{name} = 'Internet Explorer'; $self->{version} = $1; $self->{vendor} = 'Microsoft'; } }