Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>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:</p> <pre><code>&lt;!--[if gte IE 8]&gt; &lt;p&gt;You're using a recent version of Internet Explorer.&lt;/p&gt; &lt;![endif]--&gt; &lt;!--[if lt IE 7]&gt; &lt;p&gt;Hm. You should upgrade your copy of Internet Explorer.&lt;/p&gt; &lt;![endif]--&gt; &lt;![if !IE]&gt; &lt;p&gt;You're not using Internet Explorer.&lt;/p&gt; &lt;![endif]&gt; </code></pre> <p>You would basically add in a <code>&lt;!--[if lte IE 9]--&gt;</code> tag with a <code>&lt;script&gt;</code> tag inside it to do a <code>window.location</code> call to wherever you wanted to send crap browsers to. Probably not as elegant as you wanted, but it's reliable, at least.</p> <p>Taken from this page: <a href="http://msdn.microsoft.com/en-us/library/ms537509(v=vs.85).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/ms537509(v=vs.85).aspx</a></p> <p><strong>Update:</strong> Looking at your actual scripts, I see a parse/syntax error right away.</p> <pre><code>(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 )(); </code></pre> <p>Add a brace:</p> <pre><code>(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 </code></pre> <p>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).</p> <p>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.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload