PageSourceSearch

https://urbanserviceplaza.co.in/wp-content/cache/min/1/wp-content/…/public/js/script.js?ver=1789364786

js urbanserviceplaza.co.in collected 2026-10-04 03:07:15 UTC 1,445 bytes, 7 lines download raw bytes

1document.addEventListener('DOMContentLoaded',function(){(function($){let queue=[];let originalQueue=[];let isShowing=!1;function fetchNotifications(){if(document.hidden)return;if(sessionStorage.getItem('fn_closed')==='1'){return}
2$.ajax({url:fn_ajax.ajax_url,method:'POST',data:{action:'fn_get_notifications'},success:function(res){if(!res.success)return;queue=[...res.data];originalQueue=[...res.data];processQueue()}})}
3function processQueue(){if(sessionStorage.getItem('fn_closed')==='1'){return}
4if(queue.length===0&&originalQueue.length>0){queue=[...originalQueue]}
5if(isShowing||queue.length===0)return;isShowing=!0;let item=queue.shift();showNotification(item);setTimeout(()=>{isShowing=!1;processQueue()},5000)}
6function showNotification(item){$.ajax({url:fn_ajax.ajax_url,method:'POST',data:{action:'fn_render_notification',item:JSON.stringify(item)},success:function(res){if(!res.success)return;const wrapper=$('#fn-notification-wrapper');wrapper.html(res.data.html).show();setTimeout(()=>{wrapper.fadeOut(300,function(){$(this).html('').show()})},3000);wrapper.off('click','.fn-close').on('click','.fn-close',function(){sessionStorage.setItem('fn_closed','1');wrapper.stop(!0,!0).fadeOut(200,function(){$(this).html('').show()});queue=[];originalQueue=[]})}})}
7fetchNotifications();setInterval(fetchNotifications,50000)})(jQuery)});jQuery(document).ready(function($){$('#select2').select2({placeholder:"Select pages",allowClear:!0})})

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.