module UserAgent::Browsers::InternetExplorer

def self.extend?(agent)

def self.extend?(agent)
  agent.application &&
    agent.application.comment &&
    agent.application.comment[0] == "compatible" &&
    agent.application.comment[1] =~ /MSIE/
end

def browser

def browser
  "Internet Explorer"
end

def chromeframe

def chromeframe
  application.comment.include?("chromeframe") || detect_product("chromeframe")
end

def compatibility

def compatibility
  application.comment[0]
end

def compatible?

def compatible?
  compatibility == "compatible"
end

def os

def os
  OperatingSystems.normalize_os(application.comment[2])
end

def platform

def platform
  "Windows"
end

def version

def version
  application.comment[1].sub("MSIE ", "")
end