PageSourceSearch

https://mentalworks.fr/app/cache/min/1/app/plugins/mw-smart-wp/assets/scripts.js?ver=1789545047

js mentalworks.fr collected 2026-10-04 13:45:02 UTC 1,114 bytes, 2 lines download raw bytes

1document.addEventListener("DOMContentLoaded",function(){fetch(go_top_top.ajax_url,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"action=get_go_to_top"}).then(response=>response.json()).then(data=>{if(data.success){const container=document.createElement("div");container.innerHTML=data.data.html;document.body.appendChild(container);const goToTopButton=document.querySelector("#gototop .go_to_top__button");const header=document.querySelector("header.header");if(goToTopButton){const scrollButton=()=>{if(document.body.scrollTop>300||document.documentElement.scrollTop>300){goToTopButton.setAttribute("data-active","true")}else{goToTopButton.setAttribute("data-active","false")}}
2goToTopButton.addEventListener("click",(e)=>{e.preventDefault();window.scrollTo({top:0,behavior:'smooth'});if(header){header.setAttribute("tab-index","-1")}});window.addEventListener('resize',function(){scrollButton()});window.addEventListener('scroll',function(){scrollButton()});window.addEventListener('touchmove',function(){scrollButton()})}}}).catch(error=>console.error("Erreur AJAX:",error))})

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.