PageSourceSearch

https://edz.com.lb/functions/fontfunction.js

js edz.com.lb collected 2026-10-07 11:27:46 UTC 540 bytes, 18 lines download raw bytes

1var max_font_size = 17;
2var min_font_size = 13;
3
4$(function(){
5	$('.controls a').click(function(){
6		var ourText = $('#content, #content td, #content div').not("");
7		var currFontSize = ourText.css('fontSize');
8		var finalNum = parseFloat(currFontSize, 12);
9		var stringEnding = currFontSize.slice(-2);
10		if(this.id == 'large') {
11			if(finalNum < max_font_size) finalNum += 2;
12		}
13		else if (this.id == 'small'){
14			if(finalNum > min_font_size) finalNum -=2;
15		}
16		ourText.css('fontSize', finalNum + stringEnding);
17	});
18});

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.