PageSourceSearch

https://www.neurosurgeonchennai.com/wp-content/plugins/wccp-pro/js/admin_bar_ajax.js?ver=7.1.2

js neurosurgeonchennai.com collected 2026-09-26 05:32:33 UTC 2,274 bytes, 83 lines download raw bytes

1function wccp_pro_admin_bar_remove_Protection(){
2	jQuery.ajax({
3        url: ajax_object.ajaxurl, // this is the object instantiated in wp_localize_script function
4		
5        type: 'POST',
6		
7        data:{
8            action: 'wccp_pro_ajax_top_bar', // this is the function in your functions.php that will be triggered
9			
10            link: ajax_object.link
11        },
12        success: async function( data )
13		{
14			show_wccp_pro_message("This page has been excluded successfully!", "success-wpcp");
15			
16			var x = await sleep(2 * 1000);
17			
18            location.reload();
19        }
20    });
21}
22
23function wccp_pro_admin_bar_return_Protection(){
24	jQuery.ajax({
25        url: ajax_object.ajaxurl, // this is the object instantiated in wp_localize_script function
26		
27        type: 'POST',
28		
29        data:{
30            action: 'wccp_pro_ajax_top_bar_remove_Protection', // this is the function in your functions.php that will be triggered
31			
32            link: ajax_object.link
33        },
34        success: async function( data )
35		{
36			show_wccp_pro_message("This page has been protected successfully!", "success-wpcp");
37			
38			await sleep(2 * 1000);
39			
40            location.reload();
41        }
42    });
43}
44
45async function wccp_pro_watermark_image(url_to_image, index)
46{
47	var rafEl = document.getElementById('requestAnimationFrame');
48	
49	jQuery.ajax({
50        url: ajax_object.ajaxurl, // this is the object instantiated in wp_localize_script function
51		
52        type: 'POST',
53		
54        data:{
55            action: 'wccp_pro_advanced_get_link', // this is the function in your functions.php that will be triggered
56			
57            link: url_to_image
58        },
59        success: async function( data )
60		{
61			var x = await wccp_pro_js_sleep(1000);
62			
63			//return "success2";
64        }
65    }).done(async function (response)
66		{
67			if(index % 10 == 0) await wccp_pro_js_sleep(5000); //Sleep 3 seconds every 10 processes
68			
69			console.log( response );
70			
71			rafEl.textContent = url_to_image;
72			
73			do_watermark_call(index + 1);
74        })
75		.fail(async function(error) {
76			console.log(error);
77		});
78}
79
80function wccp_pro_js_sleep(ms)
81{
82    return new Promise(resolve => setTimeout(resolve, ms));
83}

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.