PageSourceSearch

https://www.duh.de/typo3temp/compressor/powermail-overlay-a2baddbb6202ea8da642624d8de21a99.js?1769085351

js duh.de collected 2026-10-02 02:23:14 UTC 892 bytes, 35 lines download raw bytes

1(function() {
2	'use strict';
3
4	document.addEventListener('DOMContentLoaded', function() {
5		// Finde alle Powermail-Formulare anhand der Klasse
6		var forms = document.querySelectorAll('form[class*="powermail_form_"]');
7
8		forms.forEach(function(form) {
9			// Extrahiere die Form-UID aus den Klassen (z.B. "powermail_form_123")
10			var classes = form.className.split(' ');
11			var formUid = null;
12
13			for (var i = 0; i < classes.length; i++) {
14				var match = classes[i].match(/^powermail_form_(\d+)$/);
15				if (match) {
16					formUid = match[1];
17					break;
18				}
19			}
20
21			if (formUid) {
22				var overlay = document.getElementById('powermail-overlay' + formUid);
23
24				if (overlay) {
25					form.addEventListener('submit', function() {
26						var parsleyForm = $(form).parsley();
27						if (parsleyForm.isValid()) {
28							overlay.style.display = 'block';
29						}
30					});
31				}
32			}
33		});
34	});
35})();

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.