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 9169089
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T15:47:25+00:00 2026-06-17T15:47:25+00:00

On this page (temporary location) I am trying to detect if the browser supports

  • 0

On this page (temporary location) I am trying to detect if the browser supports Float64Array, and if not to redirect to this page, which tells user to use a different browser. However, the redirect does not appear to work on MSIE 8 on Windows XP 32-bit, because the error occurs first in libfreecell-solver.min.js which is only loaded after that.

How can I fix it?

  • 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-17T15:47:26+00:00Added an answer on June 17, 2026 at 3:47 pm

    IE browsers have their own built-in browser detection scheme that no one else adopted. You can rely on it for any IE version below 10, I think. It looks like this:

    <!--[if gte IE 8]>
    <p>You're using a recent version of Internet Explorer.</p>
    <![endif]-->
    
    <!--[if lt IE 7]>
    <p>Hm. You should upgrade your copy of Internet Explorer.</p>
    <![endif]-->
    
    <![if !IE]>
    <p>You're not using Internet Explorer.</p>
    <![endif]>
    

    You would basically add in a <!--[if lte IE 9]--> tag with a <script> tag inside it to do a window.location call to wherever you wanted to send crap browsers to. Probably not as elegant as you wanted, but it’s reliable, at least.

    Taken from this page: http://msdn.microsoft.com/en-us/library/ms537509(v=vs.85).aspx

    Update:
    Looking at your actual scripts, I see a parse/syntax error right away.

    (function() {
        try {
            var a = new Float64Array(1);
            return; //no need
        } catch(e) {
            window.location.replace("../../js-fc-solve/incompatible-browser.html");
        } // Closing the catch block, but not closing the function block
    )();
    

    Add a brace:

    (function() {
        try {
            var a = new Float64Array(1);
            return; //no need
        } catch(e) {
            window.location.replace("../../js-fc-solve/incompatible-browser.html");
        } // Closing the catch block
    })(); // Close the function block before trying to call the anonymous function
    

    That may or may not cause the user to get redirected before trying to include the library with the other error in it. Also, it may or may not detect all the features you need detected to run the library. I’d say it depends on the browser (no irony intended).

    If that doesn’t work, you can do an intermediate page that decides whether to send the user to the solver page or display the incompatible browser message.

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

Sidebar

Related Questions

This page should display a Google ad. I Tried everything but it's not working.
This page says to use: var object = $.extend({}, object1, object2); But I prefer
I'm getting this problem on a very specific page and I'm not sure how
This page has been quite confusing for me. It says: Memory management in newLISP
This page in the Android documentation defines an element id as follows: <TextView android:id=@+id/label
This page indicates that TabPage has a GotFocus event, but in Visual Studio 2008
Check this page. On either firefox, chrome, or IE9 / 10 the tabs on
Using this page, http://developer.android.com/sdk/compatibility-library.html , I have installed the Android Support Package, added a
On this page , I see something interesting: Note that there is a fast-path
On this page, what element is receiving the text as you type? I need

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.