PageSourceSearch

https://bbooster.online/js/cookie.js

js bbooster.online collected 2026-09-30 08:27:48 UTC 790 bytes, 22 lines download raw bytes

1document.addEventListener('DOMContentLoaded', function () {
2    function checkCookies() {
3        const cookieDate = localStorage.getItem('cookieMain_BB');
4        const cookieNotification = document.querySelector('.cookie_notification');
5        const cookieBtn = document.querySelector('.cookie_accept');
6
7        if (!cookieNotification || !cookieBtn) return;
8
9        if (!cookieDate || +cookieDate + 31536000000 < Date.now()) {
10            cookieNotification.style.display = 'flex';
11        } else {
12            cookieNotification.style.display = 'none';
13        }
14
15        cookieBtn.addEventListener('click', function () {
16            localStorage.setItem('cookieMain_BB', Date.now());
17            cookieNotification.style.display = 'none';
18        });
19    }
20
21    checkCookies();
22});

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.