Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/bitrix/ext_www/cvetdv.ru/bitrix/templates/landing24/assets/js/components/ |
Upload File : |
/** * HSCore - * * @author HtmlStream * @version 1.0 */ ; (function ($) { 'use strict'; $.HSCore = { /** * * * @param * * @return */ init: function () { $(document).ready(function (e) { // Detect Internet Explorer (IE) $.HSCore.helpers.detectIE(); }); }, /** * * * @var */ components: {}, /** * * * @var */ helpers: { /** * Extends basic jQuery functionality * * @return undefined */ /** * Detect Internet Explorer (IE) * * @return version of IE or false, if browser is not Internet Explorer */ detectIE: function() { var ua = window.navigator.userAgent; var trident = ua.indexOf('Trident/'); if (trident > 0) { // IE 11 => return version number var rv = ua.indexOf('rv:'); var ieV = parseInt(ua.substring(rv + 3, ua.indexOf('.', rv)), 10); document.querySelector('body').className += ' IE'; } var edge = ua.indexOf('Edge/'); if (edge > 0) { // IE 12 (aka Edge) => return version number var ieV = parseInt(ua.substring(edge + 5, ua.indexOf('.', edge)), 10); document.querySelector('body').className += ' IE'; } // other browser return false; }, }, /** * * * @var */ settings: { rtl: false } }; $.HSCore.init(); })(window.jQueryLanding || jQuery);