PageSourceSearch

https://profiles.egerton.ac.ke/components/com_jsn/assets/js/privacy.js?v=2.10.0

js egerton.ac.ke collected 2026-10-02 02:56:17 UTC 1,223 bytes, 29 lines download raw bytes

1jQuery(document).ready(function($){
2	
3	$('input.privacy').each(function(){
4		$(this).parent().parent().addClass('privacy');
5		$(this).parent().addClass('dropdown');
6		var id=$(this).attr('id');
7		if($(this).val()=='0') $('#btn_'+id+' > i').addClass('green jsn-icon jsn-icon-users');
8		if($(this).val()=='1') $('#btn_'+id+' > i').addClass('orange jsn-icon jsn-icon-user');
9		if($(this).val()=='99') $('#btn_'+id+' > i').addClass('red jsn-icon jsn-icon-user-secret');
10		
11		/*$('#btn_'+id).click(function(event){
12			event.preventDefault();
13			$('#opt_'+id).toggle();//toggleClass('privacy_menu_show');
14		})*/
15		
16		$('#opt_'+id+' a').click(function(event){
17			event.preventDefault();
18			$('#'+id).val($(this).attr('rel'));
19			$('#btn_'+id+' > i').attr('class','');
20			if($('#'+id).val()=='0') $('#btn_'+id+' > i').addClass('green jsn-icon jsn-icon-users');
21			if($('#'+id).val()=='1') $('#btn_'+id+' > i').addClass('orange jsn-icon jsn-icon-user');
22			if($('#'+id).val()=='99') $('#btn_'+id+' > i').addClass('red jsn-icon jsn-icon-user-secret');
23			$('#opt_'+id).hide();//removeClass('privacy_menu_show');
24			$('#btn_'+id+' + ul').attr('style','');// JS conflict
25			$('#btn_'+id).focus(); // Workaround for IE8
26		});
27	});
28	
29});

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.