This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:function sanitize(e){return e.replace(/[^a-zA-Z0-9_]/g,"_").trim()}function getImagesInfo(){const e=new Map;[...document.querySelectorAll("#fullscreenGallery img, img[data-src]")].filter(e=>(e.dataset.src||e.src).includes("https://pictures.immobilienscout24.de/listings/")).map(e=>({src:(e.dataset.src||e.src).match(/(.*?)\/ORIG/)[1],title:sanitize(e.title||e.alt||e.dataset.caption)})).forEach(t=>e.set(t.src,t));return[...e.values()]}function getExposeInfo(){return{title:sanitize(document.querySelector("#expose-title").innerText),id:window.location.href.match(/expose\/(\d*)\??/)[1],content:document.querySelector("#is24-content").innerText,imagesInfo:getImagesInfo()}}async function printPage(){const{toBlob:e}=await import("https://cdn.skypack.dev/html-to-image");return[...document.querySelectorAll(".show-more a")].forEach(e=>e.click()),e(document.body,{backgroundColor:"white"})}async function createExposeZip({imagesInfo:e,title:t,id:o,content:n}){const{default:i}=await import("https://cdn.skypack.dev/ |
OlderNewer