Commits

Shlomi Fish committed 86f0bbc

Add more.

Comments (0)

Files changed (3)

fc-solve/site/wml/TODO.quicktask

 # Quicktask v1.2
 
 CURRENT TASKS:
-    - Make sure to detect MSIE 10/etc. incompatible features in
-    libfreecell-solver.js and redirect to a different page.
-      * Page should be src/js-fc-solve/incompatible-browser.html
-      * Added [Mon 2013-01-21]
-
     - Play with using http://twitter.github.com/bootstrap/ for the site.
         * in a separate git branch
         * Added [Sat 2013-01-12]
     - Fix "Unknown error code 1" in deal #11982 - http://xrl.us/bobiap
         * Thanks to Ari for noting that.
         * Added [Sat 2013-01-19]
+        * DONE [Mon 2013-01-21]
+    - Redirect MSIE 10/etc. from incompatible features
+        * In libfreecell-solver.js and redirect to a different page.
+        * Page should be src/js-fc-solve/incompatible-browser.html
+        * Added [Mon 2013-01-21]
+        * DONE [Mon 2013-01-21]
+
 
 
 # vim:ft=quicktask:sw=4:ts=4

fc-solve/site/wml/src/js-fc-solve/incompatible-browser.html.wml

+#include '../template.wml'
+
+<latemp_subject "Your browser is incompatible with the online demo of Freecell Solver" />
+
+<p>
+We have detected that your browser does not support the necessary
+HTML 5/JavaScript extensions required by the WWW-based Freecell Solver. Please
+use one of the following browsers instead, or instead
+<a href="$(ROOT)/download.html">download and install</a> the standalone
+native executable, or a graphical interface for it.
+</p>
+
+<h2 id="recommended-browsers">Recommended Browsers</h2>
+
+<h3 id="firefox"><a href="http://www.getfirefox.com/">Mozilla Firefox</a></h3>
+
+<p>
+Mozilla Firefox 17.x ESR and above (and possibly some versions below) support
+the online Freecell Solver well, and is open source, cross-platform and
+otherwise a superb browser. Also see <a
+href="http://portableapps.com/apps/internet/firefox_portable">the portable
+edition which is easy to install and run</a>.
+</p>
+
+<h3 id="chromium"><a href="http://dev.chromium.org/getting-involved/download-chromium">Google Chromium</a></h3>
+
+<p>
+A fast and open source browser from Google.
+</p>
+
+<h3 id="opera"><a href="http://www.opera.com/">Opera</a></h3>
+
+<p>
+A cross-platform and free-of-charge, (but not open source browser) that is
+also available and supported.
+</p>
+
+<h3 id="msie10">Microsoft Internet Explorer 10 and Above</h3>
+
+<p>
+We do <b>not</b> recommend using this proprietary and Windows-only
+browser from Microsoft for
+<a href="http://www.shlomifish.org/no-ie/">several important reasons</a>
+and it will only run on Windows 7 and above, but it appears to work well
+enough. Older versions of Internet Explorer are unfortunately not supported.
+</p>

fc-solve/site/wml/src/js-fc-solve/text/index.html.wml

 <latemp_subject "Online Freecell solver (text based)" />
 
 <page_extra_head_elements>
+<script type="text/javascript">
+(function() {
+    try {
+        var a = new Float64Array(1);
+        return; //no need
+    } catch(e) { window.location.replace("$(ROOT)/js-fc-solve/incompatible-browser.html"); }
+})();
+</script>
 <script type="text/javascript" src="$(ROOT)/js/jquery-ui-1.9.2.custom.min.js"></script>
 <script type="text/javascript" src="$(ROOT)/js/jquery.querystring.js"></script>
 <link rel="stylesheet" type="text/css" href="$(ROOT)/css/redmond/jquery-ui-1.9.2.custom.min.css" media="screen, projection" />
 <link rel="stylesheet" type="text/css" href="$(ROOT)/web-fc-solve.css" />
 </page_extra_head_elements>
 
+
 <h2 id="about">About</h2>
 
 <div id="about_sect">