Server IP : 85.214.239.14 / Your IP : 13.58.62.69 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /var/www/wordpress/wp-content/themes/Divi/core/admin/js/ |
Upload File : |
(function($){ $(document).ready( function(){ var user_agent = navigator.userAgent; var is_opera_edge; var browser = user_agent.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))/i) || []; var browser_name = ''; var browser_class = ''; if ( /trident/i.test( browser[0] ) ) { browser_name = 'ie'; } else if ( browser[0] === 'Chrome' ) { is_opera_edge = user_agent.match(/\b(OPR|Edge)/); if ( is_opera_edge !== null ) { browser_name = is_opera_edge[0].replace('OPR', 'opera'); } } // use navigator.appName as browser name if we were unable to get it from user_agent if ( '' === browser_name ) { if ('standalone' in window.navigator && !window.navigator.standalone) { browser_name = 'uiwebview'; } else { browser_name = browser[0] && '' !== browser[0] ? browser[0] : navigator.appName; } } browser_name = browser_name.toLowerCase(); // convert browser name to class. Some classes do not match the browser name switch( browser_name ) { case 'msie' : browser_class = 'ie'; break; case 'firefox' : browser_class = 'gecko'; break; default : browser_class = browser_name; break; } // add `iphone` class if browsing from iphone if ( user_agent.match(/iPhone/) ) { browser_class += ' iphone'; } $( 'body' ).addClass( browser_class ); }); })(jQuery);