PageSourceSearch

https://televid.by/wp-content/plugins/font-resizer-with-post-readi…/assets/public/js/fscmain.js?ver=1790313970

js televid.by collected 2026-09-25 05:26:55 UTC 1,433 bytes, 55 lines download raw bytes

1const fsc_plus = document.getElementById("fsc_plus");
2const fsc_minus = document.getElementById("fsc_minus");
3const fsc_text = document.querySelectorAll(".fsc_text p");
4const fsc_text_length = fsc_text.length;
5
6let fsc_count = 16;
7
8function updateFontAndLineHeight() {
9
10    for(let i = 0; i < fsc_text_length; i++) {
11
12        // font size
13        fsc_text[i].style.fontSize = fsc_count + "px";
14
15        // responsive readable line-height
16        fsc_text[i].style.lineHeight = "1.6";
17    }
18}
19
20fsc_plus?.addEventListener('click', function(){
21
22    fsc_count += 2;
23
24    updateFontAndLineHeight();
25
26    if(fsc_count >= 60){
27        fsc_plus.style.cursor = "not-allowed";
28        fsc_plus.setAttribute("disabled", "disabled");
29        fsc_plus.style.opacity = "0.6";
30    }else{
31        fsc_minus.style.cursor = "pointer";
32        fsc_minus.removeAttribute("disabled");
33        fsc_minus.style.opacity = "1";
34    }
35});
36
37fsc_minus?.addEventListener('click', function(){
38
39    fsc_count -= 2;
40
41    updateFontAndLineHeight();
42
43    if(fsc_count <= 10){
44        fsc_minus.style.cursor = "not-allowed";
45        fsc_minus.setAttribute("disabled", "disabled");
46        fsc_minus.style.opacity = "0.6";
47    }else{
48        fsc_plus.style.cursor = "pointer";
49        fsc_plus.removeAttribute("disabled");
50        fsc_plus.style.opacity = "1";
51    }
52});
53
54// initial apply
55updateFontAndLineHeight();

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.