Reviewers: knorton,

Description:
Update the missing plugin page to stop taunting Safari 5.1 users, and
suggest they try out OmniWeb.

Review by: knor...@google.com

Please review this at http://gwt-code-reviews.appspot.com/1536803/

Affected files:
  M plugins/MissingPlugin/war/MissingPlugin.html


Index: plugins/MissingPlugin/war/MissingPlugin.html
===================================================================
--- plugins/MissingPlugin/war/MissingPlugin.html        (revision 10601)
+++ plugins/MissingPlugin/war/MissingPlugin.html        (working copy)
@@ -107,6 +107,16 @@
             "url" : 
"https://dl-ssl.google.com/gwt/plugins/safari/gwt-dev-plugin.dmg";,
             "platforms" : "Mac x86/x86_64/PPC",
             "supported" : true
+          },
+
+          "safari-mac-late" :
+          {
+ "caption" : "Sorry, there is currently no GWT Developer Plugin for Safari 5.1<br>" + + "or later (due to drastic changes in the Safari plugin API). <br><br>" + + "In the meantime, OmniWeb 5.11 is similar to Safari 5.0 and <br>"
+              + "known to work",
+            "url" : troubleshootingUrl,
+            "supported" : false
           }
         }
       };
@@ -122,6 +132,11 @@
             id = 'chrome';
         } else if (ua.indexOf("macintosh") != -1) {
           id = 'safari-mac';
+
+ var version = ua.substring(ua.indexOf("applewebkit/") + "applewebkit/".length).split(".");
+          if (Number(version[0]) > 533) {
+            id = 'safari-mac-late';
+          }
         } else if (ua.indexOf("windows") != -1) {
           id = 'safari-win';
         }
@@ -153,4 +168,3 @@
   </noscript>
   </body>
 </html>
-


--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to