PageSourceSearch

https://www.danetreeschool.org/include/image_protection/image_protection_rclick_min.js

js danetreeschool.org collected 2026-09-29 11:24:43 UTC 922 bytes, 8 lines download raw bytes

1const iosstyle=document.createElement("style");iosstyle.textContent=`
2   img {
3        -webkit-touch-callout: none !important;
4        -webkit-user-select: none !important;
5        user-select: none !important;
6        pointer-events: none !important;
7   }
8`,document.head.appendChild(iosstyle);const preventActions=e=>{let t="IMG"===e.target.tagName||null!==e.target.querySelector("img"),n=e.target,a=!1;for(;n&&"BODY"!==n.tagName;){let r=window.getComputedStyle(n);if(r.backgroundImage&&"none"!==r.backgroundImage){a=!0;break}n=n.parentElement}let o=e.target.closest("a"),i=!1;if(o)try{let s=new URL(o.href),c=s.pathname,l=/\.(jpg|jpeg|png|gif|webp|avif|svg|bmp|tiff|ico)$/i.test(c),p=o.href.includes("rackspace")||o.href.includes("reactfiles.co.uk");i=l&&p}catch(g){i=!1}(t||a||i)&&e.preventDefault()};document.addEventListener("contextmenu",preventActions),document.addEventListener("dragstart",preventActions);

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.