Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9144577
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T10:18:12+00:00 2026-06-17T10:18:12+00:00

Possible Duplicate: Why is $.browser deprecated – and what is a better alternative? I

  • 0

Possible Duplicate:
Why is $.browser deprecated – and what is a better alternative?

I have historically used the $.browser property in my jQuery to determine the browser. I found it tremendously helpful and useful.

I also have historically linked to the latest version of jQuery. Like this:

<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>

Well, apparently jQuery 1.9 is out not and the support for this property is REMOVED.

Does anyone know a good jQuery plugin to use as an alternative?

I do know that the recommended method is to use $.support, and I will use that sometimes.

But sometimes it’s just easier to know what browser someone is using.

Can anyone help?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T10:18:14+00:00Added an answer on June 17, 2026 at 10:18 am

    The browser object simply parsed the navigator.userAgent for you. You could always parse that yourself if you are so inclined.

    Nothing stops you from plucking the code from an older JQuery version and then putting that into your own jquery plugin.

    The Jquery docs recommend against the browser object and even state that it is vulnerable to spoofing:

    Because $.browser uses navigator.userAgent to determine the platform,
    it is vulnerable to spoofing by the user or misrepresentation by the
    browser itself. It is always best to avoid browser-specific code
    entirely where possible. The $.support property is available for
    detection of support for particular features rather than relying on
    $.browser.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Determine original size of image cross browser? jquery get image size could
Possible Duplicate: Is jQuery $.browser Deprecated? Did the latest jQuery library change $.browser ?
Possible Duplicate: Open child browser window from child window I have a list of
Possible Duplicate: How to prevent duplicate posts via a browser refresh? I have a
Possible Duplicate: Javascript To Get An Alert When Closing The Browser Window I have
Possible Duplicate: Disable browser's back button I have a log in page <div style=border:1px
Possible Duplicate: Determine Browser’s Version I want to determine the browser type in the
Possible Duplicate: Determine whether client browser has java installed and can launch applets I
Possible Duplicate: Create Browser-Bookmark from app I have tried to create a bookmark for
Possible Duplicate: Detecting Browser exit in PHP I have some user related files in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.