PageSourceSearch

https://www.mairie-oz.fr/assets/js/website/voirplus-31a426ffa0239b81b03e870fcaff31e4.js

js mairie-oz.fr collected 2026-10-02 22:07:48 UTC 690 bytes, 23 lines download raw bytes

1$(document).ready(() => {
2
3    function voirPlus(nr) {
4        let div = document.querySelector(`div[data-nr="${nr}"]`);
5        let btn = document.querySelector(`button[data-nr="${nr}"]`);
6
7        if (!div.classList.contains("voir-moins")) {
8            div.classList.add("voir-moins");
9            btn.innerHTML = "Voir plus";
10        } else {
11            div.classList.remove("voir-moins");
12            btn.innerHTML = "Voir moins";
13        }
14    }
15
16    let btns = document.getElementsByClassName("texte-voir-plus");
17    for (let i = 0; i < btns.length; i++) {
18        btns[i].addEventListener("click",() => {
19           voirPlus(btns[i].getAttribute("data-nr"));
20        });
21    }
22
23});

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.