PageSourceSearch

https://feuerwehr-obertiefenbach.de/wp-content/plugins/einsatzverwaltung/js/reportlist.js?ver=7.0.6

js feuerwehr-obertiefenbach.de collected 2026-10-03 00:40:56 UTC 927 bytes, 27 lines download raw bytes

1function setUpMobileView()
2{
3    const tables = document.getElementsByClassName('einsatzverwaltung-reportlist');
4    for (let tablecounter = 0; tablecounter < tables.length; tablecounter++) {
5        const table = tables.item(tablecounter);
6        const cells = table.getElementsByClassName('smallscreen');
7        for (let cellcounter = 0; cellcounter < cells.length; cellcounter++) {
8            const cell = cells.item(cellcounter);
9            cell.onclick = function (event) {
10                // Let links do what they do
11                if (event.target.tagName === 'A') {
12                    return;
13                }
14
15                if (!this.dataset.hasOwnProperty('permalink') || this.dataset.permalink === '') {
16                    return;
17                }
18
19                document.location.assign(this.dataset.permalink);
20            };
21        }
22    }
23}
24
25window.onload = function () {
26    setUpMobileView();
27};

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.