PageSourceSearch

https://www.vanzy.fr/include/gabarit_site/GAB_STANDARD/script.js

js vanzy.fr collected 2026-10-03 01:50:41 UTC 1,018 bytes, 37 lines download raw bytes

1var webpublic = {
2    zoom: null,
3	init: function() {
4    	webpublic.checkFontSize();
5    	$("#zoomPlus, #zoomMoins").on('click', function() {
6    		$('html').removeClass('zoom' + webpublic.zoom);
7    		if ($(this).is("#zoomPlus")) {
8    			webpublic.zoom ++;
9    		} else {
10    			webpublic.zoom --;
11    		}
12    		webpublic.checkFontSize();
13    	});
14		$("#searchString").on('click', function() {
15			console.log('test');
16		});
17    },
18    checkFontSize: function() {
19		if (webpublic.zoom == null) {
20			webpublic.zoom = Cookies.get('fontSize');
21			if (webpublic.zoom == undefined) {
22				webpublic.zoom = 0;
23			}
24		}
25		$("#zoomPlus, #zoomMoins").prop('disabled', false);
26		if (webpublic.zoom >= 3) {
27			$("#zoomPlus").prop('disabled', true);
28			webpublic.zoom = 3;
29		} else if (webpublic.zoom <= 0) {
30			$("#zoomMoins").prop('disabled', true);
31			webpublic.zoom = 0;
32		}
33		Cookies.set('fontSize', webpublic.zoom, { expires: 30 });
34		$('html').addClass('zoom' + webpublic.zoom);
35    }
36}
37$(document).ready(webpublic.init);

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.