PageSourceSearch

https://waterauthority.com.fj/wp-content/plugins/WaterBillPlugin/popup.js?ver=1.0

js waterauthority.com.fj collected 2026-09-24 10:28:21 UTC 971 bytes, 34 lines download raw bytes

1jQuery(document).ready(function ($) {
2    var $popupContainer = $(".popup-container");
3    var $popupContent = $popupContainer.find(".popup-content");
4    var $openPopupBtn = $(".open-popup-btn");
5    var $closePopupBtn = $(".close-popup");
6
7    function openPopup() {
8        $popupContainer.css("display", "flex");
9        $('#water-bill-form input[type="text"]').val("");
10        $popupContent.fadeIn();
11        localStorage.setItem('popupOpen', 'true');
12    }
13
14    function closePopup() {
15        localStorage.removeItem('popupOpen');
16        $popupContainer.css("display", "none");
17        $popupContent.fadeOut();
18    }
19
20    $openPopupBtn.click(function (event) {
21        event.preventDefault();
22        openPopup();
23    });
24
25    $closePopupBtn.click(closePopup);
26
27    if (localStorage.getItem('popupOpen') === null) {
28        localStorage.setItem('popupOpen', 'false');
29    }
30
31    if (localStorage.getItem('popupOpen') === 'true') {
32        openPopup();
33    }
34});

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.