Home

Google Chrome Browser

making the web faster, safer, and easier

Main menu

  • Home
  • Chromebook
  • Chrome OS
  • Android
  • Books
  • Releases
    • Stable
    • Beta channel
    • Dev channel
  • Downloads
  • Videos
    • Top Rated
    • Most Viewed
    • Most Commented
  • Articles
    • Top Rated
    • Most Viewed
    • Most Commented
  • About Us
Home

Add to Technorati Favorites

Subscribe to Google Chrome Browser by e-mail

Delivered by FeedBurner

Syndicate

Syndicate content

User login

Login/Register
What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password

Tag Cloud

Beta updates browser browsers browsing chrome chromebook chrome extensions Chrome OS chromium Dev updates Downloads extensions feed Firefox Google googlechrome google chrome Internet Explorer Linux open source opera release security Stable updates TC video web web browser web browsers windows
more tags

Twitter Updates

Follow us on Twitter @ChromeBrowser


    Google Chrome Extension Reveals Website User Agent Detection

    • View
    • Track
    Submitted by admin on Tue, 09/21/2010 - 10:04
    • evil meter
    • google chrome
    • Uncategorized
    • user agent
    • user agent detection

    Have you ever been to a website with one browser, and then later with another only to realize that the contents displayed were different? Or have you been to a site without favorite browser only to read the note that your browser was not supported by it?

    The websites in question are likely using techniques to detect the user agent, which contains information about the web browser and operating system used by the user.

    A basic example is the Google search website. It detects the web browser to enable or disable the new Google Instant Search feature. Opera users for instance are not able to use the feature because Google uses browser sniffing to disable the feature for user’s of that browser.

    The Google Chrome extension is a basic extension which can detect if a page uses user agent detection. If it is enabled, it displays an icon in the Chrome address form, if not then nothing is displayed. Take a look at the screenshot below to see how it works.

    google user agent detection

    google user agent detection

    User agent detection is not only used on sites to offer different contents to different browsers. Many advertising scripts are also using those techniques. That’s why you for instance see the icon on ghacks as well, even though it is used by third parties and not by us.

    The extension is probably nothing that users want to have installed all the time in the browser. It is however interesting to see which websites use user agent detection.

    Evil Meter can be downloaded from the Chrome extensions gallery. This site is also an example of a site that detects the browser in a different way, considering that it displays an active install button if the page is accessed with the Google browser, and an inactive button if another browser is used.


    © Martin for gHacks Technology News, 2010.

    Your rating: None Average: 4 (1 vote)
    • 1549 reads
    • Feed: gHacks technology news
    • Original article

    Post new comment

    • Web page addresses and e-mail addresses turn into links automatically.
    • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
    • Lines and paragraphs break automatically.
    • E-Mail addresses are hidden with reCAPTCHA Mailhide.
    • You may insert videos with [video:URL]

    More information about formatting options

    CAPTCHA
    This question is for testing whether you are a human visitor and to prevent automated spam submissions.

    Google Chrome Browser is a community site for users and developers of the Google Chrome browser.
    Google™ is a Trademark of Google Inc. All other company and product names may be trademarks of the respective companies with which they are associated.
    Google Chrome Browser site is not affiliated with or sponsored by Google Inc.
    Google Chrome Browser site is built on the Drupal open source content management system.