PageSourceSearch

https://portal.svlfg.de/svlfg-apps/_ui/responsive/common/js/acc.infoboxcomponent.js

js svlfg.de collected 2026-10-01 11:42:20 UTC 813 bytes, 19 lines download raw bytes

1ACC.infoboxcomponent = {
2    _autoload: ['bindDismissButtons'],
3    removeInfobox: function (box) {
4        box.remove();
5    },
6    bindDismissButtons: function () {
7        $(document).on('click', 'button[data-bs-dismiss^="cms-infobox-"]', function () {
8            const id = $(this).data('dismiss');
9            const $infobox = $(`#${id}`);
10            const timeout = $infobox.attr('data-timeout');
11            ACC.infoboxcomponent.setCookie(id.replace('cms-infobox-', ''), timeout);
12            ACC.infoboxcomponent.removeInfobox($infobox);
13        });
14    },
15    setCookie: function (infoboxPk, timeoutValue) {
16        const expireDate = new Date(Date.now() + timeoutValue * 60 * 60 * 1000)
17        document.cookie = `Infobox${infoboxPk}=${infoboxPk};;path=/;Expires=${expireDate.toUTCString()}`;
18    },
19}

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.