PageSourceSearch

https://www.esportelandia.com.br/app/mu-plugins/mu-requirements/ns…/inc/assets/js/TemplateFunctions.js

js esportelandia.com.br collected 2026-10-02 16:30:03 UTC 1,241 bytes, 42 lines download raw bytes

1function SpanObf() {
2    var offlinks = [...document.querySelectorAll('.nsn-obf-link')];
3    offlinks.forEach((link) => {
4        link.removeEventListener('click', clickHandler);
5
6        link.addEventListener('click', clickHandler);
7    });
8}
9function clickHandler(e) {
10    var href = decodeURIComponent(window.atob(e.currentTarget.getAttribute('data-link')));
11    var target = e.currentTarget.getAttribute('data-target');
12
13    if (target != null) {
14        window.open(href);
15    } else {
16        window.location.href = href;
17    }
18}
19
20function handleObfuscationScripts() {
21    SpanObf();
22    const observer = new MutationObserver((list) => {
23        list.forEach((element) => {
24            if (element.target.classList.contains('table-sort')
25                || element.target.classList.contains('stacktable')
26                || element.target.classList.contains('cp-modal-open')
27            ) {
28                SpanObf();
29            }
30        });
31    });
32    observer.observe(document.body, {
33        attributes: true,
34        childList: true,
35        subtree: true,
36    });
37}
38if (document.readyState !== 'loading') {
39    handleObfuscationScripts();
40} else {
41    document.addEventListener('DOMContentLoaded', handleObfuscationScripts);
42}

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.