PageSourceSearch

https://reisebuero-frommlet.de/wp-content/plugins/smg-theme-extension/public/js/common.js?ver=7.1

js reisebuero-frommlet.de collected 2026-10-06 18:13:43 UTC 1,324 bytes, 46 lines download raw bytes

1function fallbackCopyTextToClipboard(text) {
2    const textArea = document.createElement("textarea");
3
4    textArea.value = text;
5
6    // Avoid scrolling to bottom
7    textArea.style.top = "-10000px";
8    textArea.style.left = "-10000px";
9    textArea.style.position = "fixed";
10
11    document.body.appendChild(textArea);
12
13    textArea.focus();
14    textArea.select();
15
16    try {
17       document.execCommand('copy');
18    } catch (err) {}
19
20    document.body.removeChild(textArea);
21}
22
23function copyTextToClipboard(text) {
24    if (!navigator.clipboard) {
25        fallbackCopyTextToClipboard(text);
26        return;
27    }
28
29    navigator.clipboard.writeText(text);
30}
31
32document.addEventListener('DOMContentLoaded', function() {
33    document.querySelectorAll('[class^=\'smg-dcb-share-dialog-button-\']').forEach(function(el) {
34        el.addEventListener('click', function() {
35            const dialogClassName = el.className.replace('smg-dcb-share-dialog-button-', '.smg-dcb-share-dialog-');
36
37            document.querySelector(dialogClassName).classList.add('visible');
38        });
39    });
40
41    document.querySelectorAll('.smg-dcb-share-dialog-close-button').forEach(function(el) {
42        el.addEventListener('click', function() {
43            el.closest('.smg-dcb-share-dialog').classList.remove('visible');
44        });
45    });
46});

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.