1$('document').ready(function(){ 2 var zoom = 100; 3$('#zoom-more').on('click',function(){ 4 makeZoom(5); 5}); 6 7$('#zoom-less').on('click',function(){ 8 makeZoom(-5); 9}); 10 11function makeZoom(valor){ 12 if((zoom > 75 || valor > 0) && (zoom < 125 || valor < 0)){ 13 zoom += valor; 14 var sAgent = window.navigator.userAgent; 15 var Idx = sAgent.indexOf("MSIE"); 16 // If IE, return version number. 17 if (Idx > 0 || !!navigator.userAgent.match(/Trident\/7\./)) { 18 19 $('body').css('-ms-transform','scale(1,'+(zoom/100)+')'); 20 $('body').css('-ms-transform-origin','left top'); 21 }else{ 22 $('body').css('zoom',(zoom)+'%'); 23 //$('body').css('-moz-transform','scale(1,'+(zoom)/100+')'); 24 //$('body').css('-moz-transform-origin','left top'); 25 alert(browser.tabs.getZoom()); 26 } 27 } 28} 29}); 30
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.