\r
return domain != hostname &&\r
domain != ( '[' + hostname + ']' ); // IPv6 IP support (#5434)\r
- }\r
+ },\r
+\r
+ /**\r
+ * Indicates that page is running under an encrypted connection.\r
+ * @returns {Boolean} "true" if the page has an encrypted connection.\r
+ * @example\r
+ * if ( CKEDITOR.env.secure )\r
+ * alert( "I'm in SSL!" );\r
+ */\r
+ secure : location.protocol == 'https:'\r
};\r
\r
/**\r