Server : Apache/2.4.18 (Ubuntu) System : Linux canvaswebdesign 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64 User : oppastar ( 1041) PHP Version : 7.0.33-0ubuntu0.16.04.15 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_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, Directory : /var/www/angkasapuraretail.com/public_html/themes/old-themes/js/ |
Upload File : |
var version = '2.2.2'; var targetScriptUrl = 'https://clientapp-cdn.oriflame.com/product-box-spa/'; var containerName = 'product-box-spa'; var currentScriptUrl = document.currentScript && document.currentScript.src ? document.currentScript.src : null; if (currentScriptUrl) { var URL_REGEXP = /http(s?):\/\/([\w-]+\.){1}([\w-]+\.?)+/gi; var result = URL_REGEXP.exec(currentScriptUrl); if (result && result[0]) { targetScriptUrl = targetScriptUrl.replace(URL_REGEXP, result[0]); } } if (typeof URLSearchParams !== 'undefined') { var urlParams = new URLSearchParams(window.location.search); if (urlParams.get(containerName)) { version = urlParams.get(containerName); } } var bodyElement = document.getElementsByTagName('body')[0]; var scriptElement = document.createElement('script'); if (!false) { var rootElementId = containerName + '-root'; var rootElement = document.getElementById(rootElementId); if (!rootElement) { throw new Error('Element #' + rootElementId + ' was not found!'); } rootElement.setAttribute('data-app-url', rootElement.getAttribute('data-app-url') + version + '/'); } scriptElement.type = 'text/javascript'; scriptElement.src = targetScriptUrl + version + '/index.js'; scriptElement.defer = true; scriptElement.crossOrigin = 'anonymous'; bodyElement.appendChild(scriptElement);