PageSourceSearch

https://roentgenkongress.de/themes/roeko/2027/layout.js?v=1781847604

js roentgenkongress.de collected 2026-10-02 07:41:44 UTC 3,096 bytes, 132 lines download raw bytes

1
2uaReadyInteractive(() => {
3	const isLocalStorage = () => {
4		try {
5			if (typeof localStorage === 'object'){
6				return true;
7			}else{
8				return false;
9			}
10		} catch (e) {
11		  return false;
12		}
13	}
14
15	const isSessionStorage = () => {
16		try {
17			if (typeof sessionStorage === 'object'){
18				return true;
19			}else{
20				return false;
21			}
22		} catch (e) {
23		  return false;
24		}
25	}
26	//console.log("isSessionStorage", isSessionStorage);
27	if(isSessionStorage){
28		//console.log("SessionStorageItem", sessionStorage?.getItem("colorstripe"));
29		if (sessionStorage?.getItem("colorstripe") !== null) {
30			document.querySelector('body').classList.remove("has-colorstripe");
31		}
32	}
33	/*if(isLocalStorage){
34		let isDark = true;
35		if (localStorage.getItem("dark") !== null) {
36			isDark = parseInt(localStorage.getItem("dark"));
37			console.log("isDark", isDark);
38		}
39		if(isDark){
40			document.querySelector('body').classList.add("dark");
41		}else{
42			document.querySelector('body').classList.remove("dark");
43		}
44	}*/
45	const footerUpBtn = document.querySelector('#footerUpBtn');
46
47	footerUpBtn.addEventListener("click", () => {
48		window.scroll({
49			top: 0, 
50			left: 0, 
51			behavior: 'smooth' 
52		});
53	});
54	
55	const logoLink = document.querySelector('a.app-name');
56	var logoLinkInterval = window.setInterval(() => {
57		if(logoLink.classList.contains("overlay-expanded")){
58			logoLink.classList.add("overlay-hide");
59			logoLink.classList.remove("overlay-expanded");
60		}else{
61			logoLink.classList.add("overlay-expanded");
62			logoLink.classList.remove("overlay-hide");
63		}
64	}, 7000);
65
66	const lightbox = GLightbox({
67		selector: '.glightbox',
68		openEffect: 'zoom',
69		zoomable: true,
70		touchNavigation: true,
71		loop: true,
72		autoplayVideos: true
73	});
74
75	const galleryLightbox = GLightbox({
76		selector: '.gallery-link',
77		openEffect: 'zoom',
78		zoomable: true,
79		touchNavigation: true,
80		loop: true,
81		autoplayVideos: true
82	});
83	const lightBoxLinks = document.querySelectorAll('.glightbox');
84
85    lightBoxLinks.forEach(lightboxlink => {
86        lightboxlink.addEventListener('click', (event) => {
87            event.preventDefault();
88			event.stopPropagation();
89        });
90    });
91
92	const galleryLightBoxLinks = document.querySelectorAll('.gallery-link');
93
94    galleryLightBoxLinks.forEach(lightboxlink => {
95        lightboxlink.addEventListener('click', (event) => {
96            event.preventDefault();
97			event.stopPropagation();
98        });
99    });
100});
101/*
102conrad_root.addEventListener('click', () => {
103	if (dropdown_user.classList.contains('active')) {
104		dropdown_user.classList.remove('active');
105	 	user_bubble.classList.remove('expanded');
106	} else return true;
107});*/
108
109
110
111uaReadyInteractive(() => {
112
113let ticking = false;
114function updateScrollClass() {
115	if (!document.body.classList.contains('immersive-hero')) return;
116	
117	if (window.scrollY > 0) {
118    	document.body.classList.add('scrolled');
119	} else {
120    	document.body.classList.remove('scrolled');
121	}
122	ticking = false;
123}
124
125document.addEventListener('scroll', function () {
126  if (!ticking) {
127    requestAnimationFrame(updateScrollClass);
128    ticking = true;
129  }
130});
131
132});

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.