Home | History | Annotate | Download | only in src

Lines Matching full:user_agent

38     user_agent = request['User-agent'] || 'unknown'
39 raw_user_agent = user_agent.dup
42 user_agent.gsub!('Mozilla/5.0', '')
43 user_agent.gsub!('X11; ', '')
44 user_agent.gsub!('Macintosh; ', '')
45 user_agent.gsub!(' U;', '')
46 user_agent.gsub!(/^ +/, '')
47 user_agent.gsub!(' (KHTML, like Gecko)', '')
48 if user_agent =~ /Chrome/
49 user_agent.gsub!(/Safari\/[\d\.]+/, '')
51 ie.browser = user_agent
80 $last_page_requested = [Time.now().to_i, request.unparsed_uri, CGI.escape(user_agent)]
82 printf("%-45.45s %s\n", details, user_agent)