PageSourceSearch

https://www.hersheyfoodservice.com/etc.clientlibs/hershey/componen…-199bdd501e22de4beb110fabb8abd7ec-lc.min.js

js hersheyfoodservice.com collected 2026-10-08 10:51:21 UTC 3,001 bytes, 6 lines download raw bytes

1document.addEventListener("DOMContentLoaded",function(){var b=document.querySelector(".hersheyland-us-recipe .socialShareBox"),c=document.querySelector(".hersheyland-us-craft-activity .socialShareBox");b&&(b.classList.add("active"),b.querySelector(".socialShareInner").classList.add("active"));c&&(c.classList.add("active"),c.querySelector(".socialShareInner").classList.add("active"));document.querySelector(".clipboard").addEventListener("click",function(d){document.querySelector(".socialShareCopy.hideforactive")&&
2document.querySelector(".socialShareCopy.hideforactive").addEventListener("click",function(e){document.querySelector(".socialShareCopy").classList.contains("hideforactive")&&(e.target.closest(".socialShareCopy").classList.contains("active")||document.querySelector(".socialShareCopy").classList.add("active"),setTimeout(function(){e.target.closest(".socialShareCopy").classList.contains("active")&&e.target.closest(".socialShareCopy").classList.remove("active")},3E3))},!1);var a=document.createElement("input");
3d.target.parentNode.closest(".socialShareCopy").classList.contains("active")?(document.querySelector("body").append(a),a.value=" "):(document.querySelector("body").append(a),a.value=location.href);a.select();document.execCommand("copy");a.remove()});b&&c||!document.querySelector(".socialShareBox a.socialShareLinks")||document.querySelectorAll(".socialShareBox a.socialShareLinks").forEach(function(d){d.addEventListener("click",function(a){a.target.parentNode.closest(".socialShareCopy")&&a.target.parentNode.closest(".socialShareBox.active")?
4(a.target.parentNode.closest(".socialShareChild").classList.toggle("active"),document.querySelector(".socialShareCopy").classList.contains("hideforactive")?setTimeout(function(){a.target.parentNode.closest(".socialShareChild").classList.remove("hideforactive")},3100):a.target.parentNode.closest(".socialShareChild").classList.add("hideforactive")):a.target.parentNode.closest(".socialShareInner")&&a.target.parentNode.closest(".socialShareBox.active")?(a.target.parentNode.closest(".socialShareChild").classList.toggle("active"),
5a.target.parentNode.closest(".socialShareBox").classList.toggle("active"),document.querySelector(".socialShareCopy").classList.remove("active")):(a.target.parentNode.closest(".socialShareChild").classList.toggle("active"),a.target.parentNode.closest(".socialShareInner.active")?a.target.parentNode.closest(".socialShareBox").classList.toggle("active"):(a.target.parentNode.closest(".socialShareBox").classList.remove("active"),a.target.parentNode.closest(".socialShareChild").classList.add("hideforactive")))})});
6b=encodeURIComponent(window.location.href);c=document.getElementById("linkedin-share-link");var g=encodeURIComponent($("meta[property\x3d'og:description']").attr("content")),f=document.getElementById("tweet-share-link");null!=c&&null!=f&&(f.href="https://twitter.com/intent/tweet?url\x3d"+b+"\x26text\x3d"+g,c.href="https://www.linkedin.com/sharing/share-offsite/?url\x3d"+b)});

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.