PageSourceSearch

https://travi.com.br/_cdn/widgets/accessibility/js/textzoom.js

js travi.com.br collected 2026-10-06 19:44:06 UTC 1,561 bytes, 42 lines download raw bytes

1window.onload = function () {
2    var currFFZoom = 1;
3    var currIEZoom = 100;
4
5    $("#In").on("click",function () {
6        if (navigator.userAgent.indexOf("Firefox") != -1 && parseFloat(navigator.userAgent.substring(navigator.userAgent.indexOf("Firefox") + 8)) >= 3.6) {//Firefox
7            var step = 0.02;
8            currFFZoom += step;
9            $("#texto").css("MozTransform","scale(" + currFFZoom + ")");
10        } else {
11            var step = 2;
12            currIEZoom += step;
13            $("#texto").css("zoom", " " + currIEZoom + "%");
14        }
15    });
16
17    $("#Out").on("click",function () {
18        if (navigator.userAgent.indexOf("Firefox") != -1 && parseFloat(navigator.userAgent.substring(navigator.userAgent.indexOf("Firefox") + 8)) >= 3.6) {//Firefox
19            var step = 0.02;
20            currFFZoom -= step;
21            $("#texto").css("MozTransform","scale(" + currFFZoom + ")");
22        } else {
23            var step = 2;
24            currIEZoom -= step;
25            $("#texto").css("zoom", " " + currIEZoom + "%");
26        }
27    });
28
29    $("#Rst").on("click",function () {
30        if (navigator.userAgent.indexOf("Firefox") != -1 && parseFloat(navigator.userAgent.
30substring(navigator.userAgent.indexOf("Firefox") + 8)) >= 3.6) {
31            //Firefox
32            var step = 0.02;
33            currFFZoom -= step;
34            $("#texto").css("MozTransform","scale(" + 100 + ")");
35        } else {
36            var step = 2;
37            currIEZoom -= step;
38            $("#texto").css("zoom", " " + 100 + "%");
39        }
40    });
41
42};

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.