PageSourceSearch

https://www.ifj.org/typo3temp/assets/compressed/mobile-4949f97072181b79430cce831cf730d4.js.gzip?1721216770

js ifj.org collected 2026-09-24 08:36:08 UTC 4,716 bytes, 51 lines download raw bytes

1/*!
2	HTML5 Mobile Boilerplate
3	Copyright	HTML5 Boilerplate
4	License		MIT
5	Version		5.0.0
6
7	https://github.com/h5bp/mobile-boilerplate
8*/
9(function(document) {
10var MBP = window.MBP || {};
11/*!
12* Fix for iPhone viewport scale bug 
13* http://www.blog.highub.com/mobile-2/a-fix-for-iphone-viewport-scale-bug/
14*/
15MBP.viewportmeta=document.querySelector&&document.querySelector('meta[name="viewport"]');MBP.ua=navigator.userAgent;MBP.scaleFix=function(){if(MBP.viewportmeta&&/iPhone|iPad|iPod/.test(MBP.ua)&&!/Opera Mini/.test(MBP.ua)){MBP.viewportmeta.content='width=device-width, minimum-scale=1.0, maximum-scale=1.0';document.addEventListener('gesturestart',MBP.gestureStart,false);}};MBP.gestureStart=function(){MBP.viewportmeta.content='width=device-width, minimum-scale=0.25, maximum-scale=1.6';};
16/*!
17* Normalized hide address bar for iOS & Android
18* http://scottjehl.com
19*/
20MBP.BODY_SCROLL_TOP=false;MBP.getScrollTop=function(){var win=window;var doc=document;return win.pageYOffset||doc.compatMode==='CSS1Compat'&&doc.documentElement.scrollTop||doc.body.scrollTop||0;};MBP.hideUrlBar=function(){var win=window;if(!location.hash&&MBP.BODY_SCROLL_TOP!==false){win.scrollTo(0,MBP.BODY_SCROLL_TOP===1?0:1);}};MBP.hideUrlBarOnLoad=function(){var win=window;var doc=win.document;var bodycheck;if(!location.hash&&win.addEventListener){window.scrollTo(0,1);MBP.BODY_SCROLL_TOP=1;bodycheck=setInterval(function(){if(doc.body){clearInterval(bodycheck);MBP.BODY_SCROLL_TOP=MBP.getScrollTop();MBP.hideUrlBar();}},15);win.addEventListener('load',function(){setTimeout(function(){if(MBP.getScrollTop()<20){MBP.hideUrlBar();}},0);});}};
21/*!
22* iOS Startup Image
23* https://github.com/h5bp/mobile-boilerplate/issues#issue/2
24*/
25MBP.splash=function(){var filename=navigator.platform==='iPad'?'h/':'l/';var fr=document.createElement("link");fr.setAttribute("rel", "apple-touch-startup-image");fr.setAttribute("href", '/img/'+filename+'splash.png');document.getElementsByTagName("head")[0].appendChild(fr);};
26/*!
27* Autogrow
28* http://googlecode.blogspot.com/2009/07/gmail-for-mobile-html5-series.html
29*/
30MBP.autogrow=function(element,lh){function handler(e){var newHeight=this.scrollHeight;var currentHeight=this.clientHeight;if(newHeight>currentHeight){this.style.height=newHeight+3*textLineHeight+'px';}}var setLineHeight=(lh)?lh:12;var textLineHeight=element.currentStyle?element.currentStyle.lineHeight:getComputedStyle(element,null).lineHeight;textLineHeight=(textLineHeight.indexOf('px')==-1)?setLineHeight:parseInt(textLineHeight,10);element.style.overflow='hidden';if(element.addEventListener)element.addEventListener('keyup',handler,false); else element.attachEvent('onkeyup',handler);};
31/*!
32* Enable CSS active pseudo styles in Mobile Safari
33* http://miniapps.co.uk/blog/post/enable-css-active-pseudo-styles-in-mobile-safari/
34*/
35MBP.enableActive=function(){document.addEventListener('touchstart',function(){},false);};
36/*!
37* Prevent default scrolling on document window
38*/
39MBP.preventScrolling=function(){document.addEventListener('touchmove',function(e){e.preventDefault();},false);};
40/*!
41* Prevent iOS from zooming onfocus
42* http://nerd.vasilis.nl/prevent-ios-from-zooming-onfocus/
43*/
44MBP.preventZoom=function(){var formFields=document.querySelectorAll('input, select, textarea');var contentString='width=device-width,initial-scale=1,maximum-scale=';
45var i=0;for(i=0;i<formFields.length;i++){formFields[i].onfocus=function(){MBP.viewportmeta.content=contentString+'1';};formFields[i].onblur=function(){MBP.viewportmeta.content=contentString+'10';};}};
46/*!
47* iOS Startup Image helper
48*/
49MBP.startupImage=function(){var portrait;var landscape;var pixelRatio;var head;var link1;var link2;pixelRatio=window.devicePixelRatio;head=document.getElementsByTagName('head')[0];if(navigator.platform==='iPad'){portrait=pixelRatio===2?'img/startup/startup-tablet-portrait-retina.png':'img/startup/startup-tablet-portrait.png';landscape=pixelRatio===2?'img/startup/startup-tablet-landscape-retina.png':'img/startup/startup-tablet-landscape.png';link1=document.createElement('link');link1.setAttribute('rel','apple-touch-startup-image');link1.setAttribute('media','screen and (orientation: portrait)');link1.setAttribute('href',portrait);head.appendChild(link1);link2=document.createElement('link');link2.setAttribute('rel','apple-touch-startup-image');link2.setAttribute('media','screen and (orientation: landscape)');link2.setAttribute('href',landscape);head.appendChild(link2);}else{portrait=pixelRatio===2?"img/startup/startup-retina.png":"img/startup/startup.png";link1=document.createElement('link');link1.setAttribute('rel','apple-touch-startup-image');link1.setAttribute('href',portrait);head.appendChild(link1);}};
50
51}
51)(document);

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.