| Server IP : 104.26.5.103 / Your IP : 216.73.216.4 Web Server : nginx/1.27.1 System : Linux in-5 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64 User : arabianexpress ( 1872) PHP Version : 8.0.30 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /storage/v9321/rimskannur/public_html/wp-content/plugins/popup-builder/public/js/ |
Upload File : |
function debugModeInit()
{
if (typeof SGPB_DEBUG_POPUP_BUILDER_DETAILS == 'undefined') {
return false;
}
console.log('%c POPUP BUILDER AVAILABLE DEBUG DETAILS', 'background: #eeeeee; color: #000000');
for (var popupId in SGPB_DEBUG_POPUP_BUILDER_DETAILS) {
console.groupCollapsed('Details for the '+ popupId +' popup:');
var debugParamas = SGPB_DEBUG_POPUP_BUILDER_DETAILS[popupId];
for (var i in debugParamas) {
if (jQuery.isEmptyObject(debugParamas[i])) {
continue;
}
var paramName = debugParamas[i];
console.info('%c '+i.toUpperCase() +': ', 'background: #ccc; color: #000000');
for (var x in paramName) {
if (typeof paramName[x]['name'] != 'undefined') {
console.log('%c Option name ------- ' + paramName[x]['name'], 'background: #eeeeee; color: #000000');
}
if (typeof paramName[x]['operator'] != 'undefined') {
console.log('%c Option operator --- ' + paramName[x]['operator'], 'background: #eeeeee; color: #000000');
}
if (typeof paramName[x]['value'] != 'undefined') {
if (typeof paramName[x]['value'] == 'string') {
/* when empty string we need to set it 0 (delay) */
if (paramName[x]['value'] == '') {
paramName[x]['value'] = 0;
}
console.log('%c Option value ------ ' + paramName[x]['value'], 'background: #eeeeee; color: #000000');
}
else {
console.log('%c Option value ------ ' + Object.values(paramName[x]['value']), 'background: #eeeeee; color: #000000');
}
}
if (i == 'options') {
/*all other options here*/
for (var option in paramName[x]) {
console.log('%c '+option+ ' - ' + paramName[x][option], 'background: #eeeeee; color: #000000');
}
}
console.log('<->');
}
}
console.groupEnd();
}
};
jQuery(document).ready(function()
{
debugModeInit();
});