PageSourceSearch

https://die-gesunde-wahrheit.de/wp-content/plugins/easy-table-of-c…/assets/js/smooth_scroll.js?ver=2.0.82.2

js die-gesunde-wahrheit.de collected 2026-09-25 20:18:17 UTC 1,893 bytes, 35 lines download raw bytes

1jQuery(document).ready((function() {
2    var e = !1;
3    void 0 !== eztoc_smooth_local.JumpJsLinks && 1 === parseInt(eztoc_smooth_local.JumpJsLinks) && (e = !0), document.querySelectorAll(".ez-toc-link").forEach((e => {
4        e = e.replaceWith(e.cloneNode(!0))
5    })), document.querySelectorAll(".ez-toc-section").forEach((e => {
6        e.setAttribute("ez-toc-data-id", "#" + decodeURI(e.getAttribute("id")))
7    })), jQuery("a.ez-toc-link").click((function() {
8
9        let dhref = jQuery(this).attr("data-href");
10        let ahref = jQuery(this).attr("href");
11
12        if(1 === parseInt(eztoc_smooth_local.add_request_uri) || 1 === parseInt(eztoc_smooth_local.add_self_reference_link)){
13            if(jQuery(this).attr("data-href")){
14                let dsplit = jQuery(this).attr("data-href").split("#");                    
15                if(dsplit && dsplit.length > 1){
16                    dhref = `#${dsplit[1]}`;
17                }                    
18            }
19            if(jQuery(this).attr("href")){
20                let asplit = jQuery(this).attr("href").split("#");                    
21                if(asplit && asplit.length > 1){
22                    ahref = `#${asplit[1]}`;
23                }
24            }
25        }
26
27        let t = e ? dhref : ahref,
28            o = jQuery("#wpadminbar"),
29            c = jQuery("header"),
30            r = 0;
31        if (parseInt(eztoc_smooth_local.scroll_offset) > 30 && (r = parseInt(eztoc_smooth_local.scroll_offset)), o.length && (r += o.height()), (c.length && "fixed" == c.css("position") || "sticky" == c.css("position")) && (r += c.height()), jQuery('[ez-toc-data-id="' + decodeURI(t) + '"]').length > 0 && (r = jQuery('[ez-toc-data-id="' + decodeURI(t) + '"]').offset().top - r), jQuery("html, body").animate({
32                scrollTop: r
33            }, 500), e) return !1
34    }))
35}));

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.