PageSourceSearch

https://www.randonner-leger.org/tpl/js/scripts.min.js?version=%3C?php%20echo%20current_theme%20?%3E

js randonner-leger.org collected 2026-09-24 09:41:25 UTC 7,752 bytes, 1 lines download raw bytes

1function IsNavFixed(e){window.onscroll=function(){var t="scrollY"in window,n=t?window.scrollY:document.documentElement.scrollTop;n>120?(document.getElementById("top-page").className="visible",document.getElementById("menu-switch-css").className="hidden",document.getElementById("menu-switch-font-size").className="hidden"):(document.getElementById("top-page").className="",document.getElementById("menu-switch-css").className="visible",document.getElementById("menu-switch-font-size").className="visible"),document.getElementById("nav").className=n>120&&e>1024?"fixed":""}}function FocusOnUserName(){!document.getElementById("menug-identification").checked&&focus?document.getElementById("username").focus():document.getElementById("username").blur()}function CloseOtherMenu(e,t,n,o){!document.getElementById("menu-search-checkbox").checked&&o?document.getElementById("q").focus():document.getElementById("q").blur();var i=document.getElementsByTagName("html")[0],s=document.getElementsByTagName("body")[0];i.className=i.className.replace("nav-is-stuck",""),s.style.paddingTop="0px",document.getElementById("menu-"+e+"-checkbox").checked=!1,document.getElementById("menu-"+t+"-checkbox").checked=!1;var c=document.getElementById("menu-"+n+"-checkbox");c&&(c.checked=!1)}function setCookie(e,t,n){var o=new Date,i=new Date;null!=n&&0!=n||(n=1),i.setTime(o.getTime()+864e5*n),document.cookie=e+"="+escape(t)+";expires="+i.toGMTString()+"; path=/"}function getCookie(e){var t=" "+document.cookie,n=t.indexOf(" "+e+"=");if(-1==n&&(n=t.indexOf(";"+e+"=")),-1==n||""==e)return"";var o=t.indexOf(";",n+1);return-1==o&&(o=t.length),unescape(t.substring(n+e.length+2,o))}function deleteCookie(e){var t=new Date,n=new Date-30;n.setTime(t.getTime()-7776e6),document.cookie=e+"="+escape(cookieValue)+";expires="+n.toGMTString()}function VideoConsentDisplay(e,t,n,o){var i=getCookie("RLVideoConsent");switch(document.getElementById("embedhover").style.display="none",i){case"true":VideoConsentAccepted(e,t,n,o);break;case"false":VideoConsentRefused(e,t,n,o);break;default:var s=document.getElementById(e),c=document.getElementById(e+"THUMB"),d=document.createElement("div");d.id="youtube-consent",s.insertBefore(d,c),d.innerHTML='<div class="inner"><strong>Information relative à vos données personnelles</strong><p>Randonner-Leger.org n\'héberge pas cette vidéo et n\'est responsable ni de son contenu, ni des données personnelles susceptibles d\'être exploitées par son hébergeur lors de sa diffusion (adresse IP, cookies...).</p><div class="consent"><input type="checkbox" name="memorise" id="memorise" value="true">&nbsp;<label for="memorise">Mémoriser mon choix et ne plus afficher ce message.</label></div><input class="" type="submit" onclick="VideoConsentAcceptCookies(\''+e+"', '"+t+"', '"+n+"', '"+o+'\');" value="Voir la vidéo" />&nbsp;&nbsp;<input class="" type="submit" id="a_175" id="euCookieAcceptWP" onclick="VideoConsentRefuseCookies(\''+e+"', '"+t+'\');" value="Regarder sur '+t+'" /></div>'}}function VideoConsentAcceptCookies(e,t,n,o){document.getElementById("memorise").checked&&setCookie("RLVideoConsent",!0,365),document.getElementById("youtube-consent").style.display="none",VideoConsentAccepted(e,t,n,o)}function VideoConsentRefuseCookies(e,t){document.getElementById("memorise").checked&&setCookie("RLVideoConsent",!1,365),document.getElementById("youtube-consent").style.display="none",VideoConsentRefused(e,t)}function VideoConsentAccepted(e,t,n,o){switch(t){case"youtube":document.getElementById(e).innerHTML='<div class="innervideo"><iframe src="https://www.youtube.com/embed/'+e+'" style="max-width:'+n+"px;max-height:"+o+'px;" allowfullscreen ></iframe></div>';break;case"dailymotion":document.getElementById(e).innerHTML='<div class="innervideo"><iframe src="https://www.dailymotion.com/embed/video/'+e+'" style="max-width:480px;max-height:360px;" allowfullscreen ></iframe></div>';break;case"vimeo":document.getElementById(e).innerHTML='<div class="innervideo"><iframe src="https://player.vimeo.com/video/'+e+'" style="max-width:480px;max-height:360px;" allowfullscreen ></iframe></div>'}}function VideoConsentRefused(e,t){switch(t){case"youtube":window.open("https://youtube.com/watch?v="+e,"_blank");break;case"dailymotion":window.open("https://www.dailymotion.com/video/"+e,"_blank");break;case"vimeo":window.open("https://vimeo.com/"+e,"_blank")}}function SwitchCss(){var e=document.getElementById("MyCss").href;if("RL_Sombre"==getCookie("RLFavoriteCss")){var t=e.replace("RL_Sombre","RL_Clair");document.getElementById("MyCss").href=t,document.body.style.background="#d6dce4",setCookie("RLFavoriteCss","RL_Clair",365)}else{var t=e.replace("RL_Clair","RL_Sombre");document.getElementById("MyCss").href=t,document.body.style.background="#393939",setCookie("RLFavoriteCss","RL_Sombre",365)}}function SwitchFontSize(e){var t=getCookie("RLFontSize"),n=""==t?1.4:parseFloat(t);n="bigger"==e?n+.05:n-.05,n=n.toFixed(2),document.getElementById("MyCustomCss").innerHTML=".tclcon a, .pun .postmsg, #punpost .txtarea textarea, #punedit .txtarea textarea, #dokuwiki__site .page {font-size: "+n+"rem; line-height: "+(1*n+.8)+"rem !important;}",setCookie("RLFontSize",n,365)}if("number"==typeof window.innerWidth?(myWidth=window.innerWidth,myHeight=window.innerHeight):document.documentElement&&(document.documentElement.clientWidth||document.documentElement.clientHeight)?(myWidth=document.documentElement.clientWidth,myHeight=document.documentElement.clientHeight):document.body&&(document.body.clientWidth||document.body.clientHeight)&&(m
1yWidth=document.body.clientWidth,myHeight=document.body.clientHeight),IsNavFixed(myWidth),window.addEventListener){var kkeys=[],konami="38,38,40,40,37,39,37,39,82,76",myfolder_rl=myrl_info.folder_rl;window.addEventListener("keydown",function(e){if(kkeys.push(e.keyCode),kkeys.toString().indexOf(konami)>=0&&confirm("Attention, vous allez tout casser... \nSouhaitez-vous tout de même continuer ?"))return alert("On vous aura prévenu...\nVous risquez de perdre quelques minutes précieuses ;p"),window.location=myfolder_rl+"/tetris.php",!1},!0)}!function(){for(var e=0,t=["ms","moz","webkit","o"],n=0;n<t.length&&!window.requestAnimationFrame;++n)window.requestAnimationFrame=window[t[n]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[t[n]+"CancelAnimationFrame"]||window[t[n]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(t,n){var o=(new Date).getTime(),i=Math.max(0,16-(o-e)),s=window.setTimeout(function(){t(o+i)},i);return e=o+i,s}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)})}(),function(e,t,n){var o=t.documentElement,i=t.getElementsByTagName("body")[0],s=t.getElementById("header"),c=e.pageYOffset||i.scrollTop,d=function(e,t,n){var c=/(nav\-is\-stuck)/i,d=o.className.match(c),m=s.offsetHeight,a=i.getBoundingClientRect(),l=e?e.getBoundingClientRect().top-a.top-m:800;t>(d?l:l+m)&&!d&&t<n&&window.innerWidth<1024&&(o.className=o.className+" nav-is-stuck",i.style.paddingTop=m+"px"),d&&t>n&&(o.className=o.className.replace(c,""),i.style.paddingTop="0px")},m=function(){var n=e.pageYOffset||i.scrollTop;d(t.getElementById("brdwelcome"),n,c),c=n};o.className=o.className+" js",e.addEventListener("scroll",function(){e.requestAnimationFrame(m)})}(window,document),document.getElementById("cssID").onclick=function(){SwitchCss()},document.getElementById("switch-font-size-plus").onclick=function(){SwitchFontSize("bigger")},document.getElementById("switch-font-size-minus").onclick=function(){SwitchFontSize("smaller")},document.getElementById("switch-font-size-reset").onclick=function(){document.getElementById("MyCustomCss").innerHTML="",setCookie("RLFontSize","",-365)};

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.