PageSourceSearch

https://www.tourismus-wiesmoor.de/_assets/a911d695a757af4c708f5d1d7519f802/JavaScript/conword.js?1750319321

js tourismus-wiesmoor.de collected 2026-10-05 21:34:15 UTC 1,054 bytes, 36 lines download raw bytes

1document.addEventListener("DOMContentLoaded", function() {
2	var mailto_links = document.querySelectorAll('a[href^="mailto:"]');
3		for(var i = 0; i < mailto_links.length; i++){
4		mailto_links[i].classList.add('cnw_skip_translation');
5	}
6});
7
8const cnButton = document.getElementById('cn-langMenuTrigger');
9const cnMenu = document.getElementById('cn-langMenu');
10const cnLinks = cnMenu.querySelectorAll('a');
11function openMenu() {
12	cnMenu.style.display = 'block';
13	cnButton.setAttribute('aria-expanded', 'true');
14	cnLinks[0].focus();
15}
16function closeMenu() {
17	cnMenu.style.display = 'none';
18	cnButton.setAttribute('aria-expanded', 'false');
19	cnButton.focus();
20}
21cnButton.addEventListener('click', () => {
22	const isOpen = cnMenu.style.display === 'block';
23	isOpen ? closeMenu() : openMenu();
24});
25document.addEventListener('keydown', (event) => {
26	const isMenuOpen = cnMenu.style.display === 'block';
27
28	if (isMenuOpen && event.key === 'Escape') {
29		closeMenu();
30	}
31});
32cnLinks.forEach(link => {
33  link.addEventListener('click', () => {
34	closeMenu();
35  });
36});

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.