PageSourceSearch

https://www.askthebuilder.com/wp-content/plugins/ns-smooth-scroll-…/assets/js/ns-bk-to-top-arrow.js?ver=1.0.0

js askthebuilder.com collected 2026-10-02 06:35:48 UTC 1,165 bytes, 37 lines download raw bytes

1jQuery(document).ready(function(){
2     jQuery(window).scroll(function () {
3            if (jQuery(this).scrollTop() > 50) {
4                jQuery('#ns-back-to-top-arrow').fadeIn();
5            } else {
6                jQuery('#ns-back-to-top-arrow').fadeOut();
7            }
8        });
9        // click on back to top
10        jQuery('#ns-back-to-top-arrow').click(function () {
11            // click counter
12            var ns_btta_security = jQuery('#ns_btta_security').val();
13            jQuery.ajax({
14                url : ns_btta_ajax_hit.ajax_url,
15                type : 'post',
16                data : {
17                    action : 'ns_btta_ajax_hit',
18                    ns_btta_security : ns_btta_security
19                },
20                    success: function(response) {
21                    console.log(response);
22                },
23                error:function (){
24                    //console.log(user);
25                }
26            });            
27
28            // scroll body to 0px on click
29            jQuery('body,html').animate({
30                scrollTop: 0
31            }, speedScrool);
32            return false;
33        });        
34
35
36
37});

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.