PageSourceSearch

https://ordinearchitetti.mi.it/plugins/quivi/cookiebanner/components/assets/quivi_cookiebanner.js

js ordinearchitetti.mi.it collected 2026-10-02 04:35:32 UTC 799 bytes, 30 lines download raw bytes

1document.addEventListener("DOMContentLoaded", function() {
2
3    if (document.querySelector('.cookie-show-btn')) {
4        document.querySelector('.cookie-show-btn').addEventListener('click', (event) => {
5            quivi_cookiebanner_open();
6            return event.preventDefault();
7        })
8    }
9
10});
11
12window.addEventListener('load', () => {
13
14    const banner = document.querySelector('#quivi-cookie-banner');
15        /*cookies-policy-setted*/
16    if (banner.getAttribute('data-cookies-policy-setted') == 0) {
17        banner.classList.add('open');
18    }
19
20})
21
22
23function quivi_cookiebanner_close() {
24    document.querySelector('#quivi-cookie-banner').classList.remove('open');
25
26}
27
28function quivi_cookiebanner_open() {
29    document.querySelector('#quivi-cookie-banner').classList.add('open');
30}

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.