PageSourceSearch

https://hoster.kg/wp-content/themes/arkahost/assets/js/king.hosting.js?ver=5.1.2

js hoster.kg collected 2026-10-09 23:37:05 UTC 2,869 bytes, 102 lines download raw bytes

1(function($){
2	"use strict";
3	$(document).ready(function($){						
4		$('.serch_area .input_submit').on( 'click', function(e){
5
6			var domain = $('#domain_input').val();
7			var search_domain_form = $(this).parent(".search_domain_form");
8
9			//is diretly method
10			var data = search_domain_form.data("form");
11			
12			if( data == 'direct')
13			{
14
15				search_domain_form.children('.domain').val( domain );
16				search_domain_form.children('.domains').val( domain );
17				search_domain_form.children('.domainsregperiod').attr( 'name', 'domainsregperiod[' + domain + ']' );
18				search_domain_form.submit();
19			}
20			else
21			{
22				e.preventDefault();
23				if($.active < 1){
24					$('#domain_input').addClass('loading');
25					$.ajax({
26						url: king_hosting_params.ajax_url,
27						type: 'POST',
28						dataType: 'json',
29						data: {
30							'domain': domain,
31							'action': 'king_search_domain',
32							'security': $('#security').val()
33						},
34						success: function(data){
35							$('#domain_search_results').html(data.results_html);
36							$('#domain_input').removeClass('loading');	
37							$.getScript(king_hosting_params.hosting_js);
38						}
39					});
40				}
41			}
42						
43		});
44
45
46		$('.domain_input').keypress(function (e) {
47			if (e.which == 13) {
48				$(this).closest('form').find( ".input_submit" ).trigger( "click" );
49				e.preventDefault();
50				return false;
51			}
52		});
53
54		
55		
56		$('.select_this_domain').on( 'click', function(){
57			var o_this = $(this);
58			var domain = o_this.attr('data-domain');
59			$('#select_this_domain input.domains_val').val(domain);
60			$('#select_this_domain .domainsregperiod_val').attr("name", "domainsregperiod[" + domain + "]");
61			$('#select_this_domain').submit();
62		});
63		
64		$('.whois_view').on( 'click', function(){
65			var o_this = $(this);
66			var domain = o_this.attr('data-domain');
67			
68			if($.active < 1){
69				if($('#whois_view_result').length > 0) $('#whois_view_result').remove();
70				
71				$('#domain_search_results .content-result').append('<div id="whois_view_result"><a class="close" href="javascript:;"><i class="fa fa-times"></i></a><div class="content"></div></div>');
72				$('#whois_view_result').hide();
73				o_this.text('Loading...');
74						
75				$.ajax({
76					url: king_hosting_params.ajax_url,
77					type: 'POST',
78					dataType: 'json',
79					data: {
80						'domain': domain,
81						'action': 'king_get_whois'
82					},
83					success: function(data){
84						$('#domain_search_results .suggest_domain').slideUp('fast');
85						$('#whois_view_result .content').html(data.results_html);
86						$('#whois_view_result').slideDown('fast');
87						o_this.text('Whois');
88
89						$.getScript(king_hosting_params.hosting_js);
90					}
91				});
92			}
93		});
94		
95		$('#whois_view_result .close').on( 'click', function(){
96			$('#whois_view_result').slideUp('fast');
97			$('#domain_search_results .suggest_domain').slideDown('fast');
98		});
99		
100	});
101	
102})(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.