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

  • SEARCH
  • Home
  • 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 9254343
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T11:26:40+00:00 2026-06-18T11:26:40+00:00

I was wondering if there are any javascript objects that are unique to all

  • 0

I was wondering if there are any javascript objects that are unique to all versions of Google Chrome.

I know there’s the window.chrome, but that was only implemented in Chrome 15, which was rather recent. I am wondering if there’s any objects (or multiple objects in conjunction) that are unique only to Google Chrome.

The reason why is I am building a web app that requires Chrome because it is “Chrome/Google”-themed/based. I don’t want users using Firefox or IE to look at a Google Chrome-looking app, and (because I do this myself sometimes), I don’t want to sniff the user agent because it can be spoofed.

Any help would be much appreciated!

  • 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-18T11:26:41+00:00Added an answer on June 18, 2026 at 11:26 am

    The correct way to test for chome using feature detection is as follows:

    var isChrome = !(Object.prototype.toString.call(window.HTMLElement).indexOf('Constructor') > 0) && 'WebkitTransform' in document.documentElement.style;
    

    The second part of the query is checking to see if you are webkit, as all webkit browsers have their CSS vendor properties start with Webkit (capital W).

    The second part checks to see if you are safari and negates the second part. Safari is the only browser with a ‘Constructor’.

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

Sidebar

Related Questions

I was wondering if there was any Javascript method that could help getting information
I was wondering if there is any CSS/HTML/JavaScript magic to do what I want
I am wondering if there are any statically typed, embeddable scripting languages. Python, JavaScript,
i just wondering is there any performance issue or anything thing wrong if that
I was wondering if there are any Telnet controls that can be embedded into
I am currently studying Javascript and I was wondering if there are any APIS
I am wondering of there is any possibility of postprocessing *.js files so that
I was wondering is there any clear advantage of setting some cookie though JavaScript
I'm barely starting JavaScript and I'm wondering if there are any geniuses out there
I was thinking id there are any javascript or other type plugins that will

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.