PageSourceSearch

https://1ul.ru/assets/28cd347c/js/callback.js

js 1ul.ru collected 2026-10-02 07:28:50 UTC 1,440 bytes, 49 lines download raw bytes

1window.socialservice = {
2	action: '',
3	confirmRegister: function(userName) {
4		var div = $('#socialservices_confirm_register');
5		div.find('span.socialservices_user_name').html(userName);
6		var title = div.data('title');
7		
8		$.fancybox("<div id='socialservices_confirm_register_open'>" + div.html() + "</div>", {
9			title: title
10		});
11	},
12	finallyRegister: function() {
13		var _action = this.action;
14		$.ajax({
15			url: '/socialservices/system/confirmRegister/',
16			dataType: 'json',
17			success: function(ret) {
18				if(typeof(ret) != 'undefined' && typeof(ret.success) != 'undefined' && ret.success == 1)
19					window.location.href = _action;
20				else {
21					MMC.showNoty('error', 'Произошла ошибка регистрации: ' + ret.errorText);
22				}
23			}
24		});
25	},
26	linkProfile: function() {
27		var 
28			email = $('#socialservices_confirm_register_open input[name=email]').val(),
29			password = $('#socialservices_confirm_register_open input[name=password]').val(),
30			_action = this.action;
31		
32		
33		$.ajax({
34			url: '/socialservices/system/linkProfile',
35			data: {	
36				email: email,
37				password: password
38			},
39			dataType: 'json',
40			success: function(ret) {
41				if(typeof(ret) != 'undefined' && typeof(ret.success) != 'undefined' && ret.success == 1)
42					window.location.href = _action;
43				else {
44					MMC.showNoty('error', 'Произошла ошибка регистрации: ' + ret.errorText);
45				}
46			}
47		});
48	}
49};

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.