PageSourceSearch

https://www.zuglo.hu/js/my_zuglo.js?ver=1.0.0

js zuglo.hu collected 2026-10-02 04:40:07 UTC 1,400 bytes, 69 lines download raw bytes

1
2var My_Zuglo = (function($) {
3	"use strict";
4	
5	var hasTouch = false;
6	
7	// module
8	return {
9		
10		init: function() 
11		{
12			$.post("/js/postManageCookie.php", { 
13					state: 'get',
14					name: 'vakbarat'
15				},
16				function(data) 
17				{
18					//alert("Data: "+data);		
19					if(data == "ok")
20						hasTouch = false;
21					else
22						hasTouch = true;
23					
24					My_Zuglo.manageVakbarat();
25				}
26			);		
27		
28			$('.vakbarat').click(function() {
29				My_Zuglo.manageVakbarat();
30			});
31		},
32		
33		manageVakbarat: function()
34		{
35			if( hasTouch )
36			{
37				hasTouch = false;
38				jQuery('#myContrastCss').remove();
39				$(document.body).removeClass('contrast');
40				$(document.body).removeClass('fontsize');
41			}
42			else
43			{
44				hasTouch = true;
45				$('head').append('<link rel="stylesheet" id="myContrastCss" type="text/css" href="http://teszt.zuglo.hu/wp-content/plugins/wp-accessibility/toolbar/css/a11y-contrast.css">');
46				$(document.body).addClass('contrast');
47				$(document.body).addClass('fontsize');				
48			}
49			
50			$.post("/js/postManageCookie.php", { 
51					state: (hasTouch) ? 'set' : 'unset',
52					value: (hasTouch) ? 'ok' : '',
53					name: 'vakbarat'
54				},
55				function(data) 
56				{
57					//alert("Data: "+data);		
58				}
59			);		
60		}
61		
62	}; // end return
63	
64})(jQuery);
65
66// load when ready
67jQuery(function($) {
68	My_Zuglo.init();
69});

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.