403Webshell
Server IP : 31.214.178.99  /  Your IP : 216.73.216.180
Web Server : Apache
System : Linux hostingsrv1.dondominio.com 6.12.118+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.118-1 (2026-11-20) x86_64
User :  ( 924851)
PHP Version : 8.5.13
Disable Function : system,passthru,popen,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,exec,ini_alter,show_source,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,eval
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /hosting/www/c3consulting.site/public/wp-content/plugins/burst-statistics/assets/js/src/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /hosting/www/c3consulting.site/public/wp-content/plugins/burst-statistics/assets/js/src/goals.js
/**
 * Goals tracking bootstrap: normalizes active/completed goal IDs and loads
 * the goals tracking script if active goals match the current page.
 *
 * Concatenated into full builds; omitted from essentials builds.
 */

// Normalize goal IDs
if (burst.goals?.active) {
  burst.goals.active = burst.goals.active.map(goal => ({
    ...goal,
    ID: parseInt(goal.ID, 10)
  }));
}
if (burst.goals?.completed) {
  burst.goals.completed = burst.goals.completed.map(id => parseInt(id, 10));
}

// Inject goals script as a regular script tag to avoid CORS issues in headless setups.
// Dynamic import() enforces CORS; a script tag does not.
if (burst.goals?.active?.some(goal => !goal.page_url || goal.page_url === '' || goal.page_url === burst.options.pageUrl)) {
  const script = document.createElement('script');
  script.id = 'burst-goals-js';
  script.async = true;
  script.src = burst.goals.scriptUrl;
  document.head.appendChild(script);
}

burst.getGoalsData = function () {
  return {
    completed_goals: burst.goals?.completed || [],
  };
};

Youez - 2016 - github.com/yon3zu
LinuXploit