PageSourceSearch

https://www.pdg.pl/wp-content/plugins/void-elementor-whmcs-elements/assets/js/domain-search.js?ver=1

js pdg.pl collected 2026-10-02 02:58:01 UTC 2,216 bytes, 50 lines download raw bytes

1
2( function( $ ) {
3    var WidgetDomainSearchHandler = function( $scope, $ ) {
4        
5		$(".iddomainname").on("change keyup paste", function(){
6				var selector = $(this);
7				var domainname = selector.val();
8				//console.log( domainname );
9				if (domainname.indexOf('.') !== -1){
10						$.ajax({
11								    method: "POST",
12								    url: domainjs_texts.ajaxurl,
13								    data: { 'action': 'void_ewhmcse_ajax_domain_function', 'domain': domainname }
14						})
15
16						.done(function( data ) {
17							var data = JSON.parse(data);
18							
19							//console.log('Successful AJAX Call! /// Return Data: ' + data['registered?']);
20							//console.log('saka karap');
21						   	if(data['registered?']){  
22						   		selector.closest('.sda-form-area').find( '#find' ).val(domainjs_texts.button_unavailable).removeClass('btn-available btn-info').addClass('btn-unavailable').prop('disabled', true);
23						   		selector.closest('.sda-form-area').find('#results').html('<span class="domain-unavailable">'+ domainjs_texts.domain_unavailable +'</span>');
24						   	}	
25						   	else if(data['available?']){  
26						   		selector.closest('.sda-form-area').find( '#find' ).val(domainjs_texts.button_available).removeClass('btn-unavailable btn-info').addClass('btn-available').prop('disabled', false);
27						   		selector.closest('.sda-form-area').find('#results').html('<span class="domain-available">'+ domainjs_texts.domain_available +'</span>');
28						   	}
29						   	else{
30						   		selector.closest('.sda-form-area').find( '#find' ).val(domainjs_texts.button_info).removeClass('btn-unavailable btn-available').addClass('btn-info').prop('disabled', false);
31						   		selector.closest('.sda-form-area').find('#results').html('<span class="domain-info">'+ data['error'] +'</span>');
32						   	}
33
34						})
35
36						.fail(function( data ) {
37							   // document.getElementById("results").innerHTML = 'Ajax Failed'; 
38						});
39				}
40					
41			});
42
43    };
44    
45	
46    // Make sure you run this code under Elementor..
47    $( window ).on( 'elementor/frontend/init', function() {
48        elementorFrontend.hooks.addAction( 'frontend/element_ready/section-domain-search.default', WidgetDomainSearchHandler );
49    } );
50} )( jQuery );

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.