PageSourceSearch

https://bbit-solutions.com/interactive-homepage-pre-popup/popup.js

js bbit-solutions.com collected 2026-10-02 01:23:56 UTC 1,599 bytes, 27 lines download raw bytes

1window.popup = function (o) {
2    if (o.dom) {
3        var t = o.dom;
4        o.width && (t.querySelector(".popup_container").style.width = o.width), o.height && (t.querySelector(".popup_container").style.height = o.height), o.minWidth && (t.querySelector(".popup_container").style.minWidth = o.minWidth), o.minHeight && (t.querySelector(".popup_container").style.minHeight = o.minHeight), o.maxWidth && (t.querySelector(".popup_container").style.maxWidth = o.maxWidth), o.maxHeight && (t.querySelector(".popup_container").style.maxHeight = o.maxHeight), t.addEventListener("mousedown", function (e) {
5            i(o.dosomethingClose)
6        }), t.querySelector(".popup_container").addEventListener("mousedown", function (e) {
7            e.stopPropagation()
8        }), t.querySelector(".popup_close") && t.querySelector(".popup_close").addEventListener("click", function () {
9            i(o.dosomethingClose)
10        }), this.show = function (e, o) {
11            e && e(t), t.classList.remove("popup_hide"), document.body.classList.add("popup_show"), t.childNodes, t.querySelector(".popup_close") && t.querySelector(".popup_close").addEventListener("click", function () {
12                i(o)
13            })
14        }, this.hide = i
15    } else console.error("popup: hide function not set dom object");
16
17    function i(e) {
18        e && e(t), t.classList.add("popup_hide"), document.body.classList.remove("popup_show");
19
20$("link[href*='popup']").prop('disabled', true);
21$("link[href*='popup']").remove();
22
23$(".interactive-homepage-full-pre-dialog").remove();
24
25
26    }
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.