PageSourceSearch

https://cdn.boomerang-reisen.de/wp-content/uploads/wpcodebox/5.js?v=316d93c951452894

js boomerang-reisen.de collected 2026-10-04 03:04:06 UTC 1,298 bytes, 4 lines download raw bytes

1window.addEventListener("DOMContentLoaded",()=>{const iframe=document.querySelector("#nz-embed-iframe");if(!iframe)return;const parentUrl=new URL(window.location.href);const tripId=parentUrl.searchParams.get("trip_id");if(tripId){const targetUrl=`${parentUrl.origin}/t/${encodeURIComponent(tripId)}`;iframe.contentWindow.postMessage({type:"trip_link",targetUrl},"*")}});let tripUrl=null;window.addEventListener("message",(event)=>{try{if(event.data?.type==="trip_link"&&event.data.targetUrl){tripUrl=event.data.targetUrl;updateLinks()}}catch(err){console.error("Fehler beim Setzen des Links:",err)}});function updateLinks(){if(!tripUrl)return;document.querySelectorAll(".back-route__breadcrumbs__item--link").forEach(link=>{link.href=tripUrl;link.target="_top"})}
2function initObserver(){const target=document.body;if(!target){requestAnimationFrame(initObserver);return}
3const observer=new MutationObserver((mutations)=>{mutations.forEach(mutation=>{mutation.addedNodes.forEach(node=>{if(node.nodeType===1){if(node.matches(".back-route__breadcrumbs__item--link")){node.href=tripUrl;link.target="_top"}else{node.querySelectorAll?.(".back-route__breadcrumbs__item--link").forEach(link=>{link.href=tripUrl;link.target="_top"})}}})})});observer.observe(target,{childList:!0,subtree:!0})}
4initObserver()

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.