/*\r
-Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.\r
For licensing, see LICENSE.html or http://ckeditor.com/license\r
*/\r
\r
\r
quirks : ( document.compatMode == 'BackCompat' ),\r
\r
+ mobile : ( agent.indexOf( 'mobile' ) > -1 ),\r
+\r
isCustomDomain : function()\r
{\r
- return this.ie && document.domain != window.location.hostname;\r
+ var domain = document.domain,\r
+ hostname = window.location.hostname;\r
+\r
+ return this.ie &&\r
+ domain != hostname &&\r
+ domain != ( '[' + hostname + ']' ); // IPv6 IP support (#5434)\r
}\r
};\r
\r
* alert( "Your browser is pretty cool!" );\r
*/\r
env.isCompatible =\r
+ !env.mobile && (\r
( env.ie && version >= 6 ) ||\r
( env.gecko && version >= 10801 ) ||\r
( env.opera && version >= 9.5 ) ||\r
( env.air && version >= 1 ) ||\r
( env.webkit && version >= 522 ) ||\r
- false;\r
+ false );\r
\r
// The CSS class to be appended on the main UI containers, making it\r
// easy to apply browser specific styles to it.\r