PageSourceSearch

https://glowterra.com/wp-content/plugins/lilac-beauty-plus/modules…/assets/js/go-to-top.js?ver=1.0.2

js glowterra.com collected 2026-10-07 19:34:01 UTC 1,585 bytes, 45 lines download raw bytes

1(function ($) {
2    "use strict";
3    $(document).ready(function () {
4        var $back_to_top = $("#back-to-top");
5
6        if( $back_to_top.length) {
7
8            var $min         = 200;
9            var $inDelay     = 600;
10            var $outDelay    = 400;
11            var $scrollSpeed = 1200;
12            var $easingType  = 'linear';            
13
14            $( $back_to_top ).hide().on("click",function(e){
15                $('html, body').animate({scrollTop:0}, $scrollSpeed, $easingType);
16                $('#back-to-top-hover').stop().animate({'opacity': 0 }, $inDelay, $easingType);
17                return false;
18            }).hover(function(){
19                $('#back-to-top-hover').stop().animate({
20                    'opacity': 1
21                }, 600, 'linear');
22            },function(){
23                $('#back-to-top-hover').stop().animate({
24                    'opacity': 0
25                }, 700, 'linear');
26            });
27
28            $(window).scroll(function(){
29                var $sd = $(window).scrollTop();
30                if(typeof document.body.style.maxHeight === "undefined") {
31                    $($back_to_top).css({
32                        'position': 'absolute',
33                        'top': sd + $(window).height() - 50
34                    });
35                }
36
37                if ( $sd > $min ){
38                    $($back_to_top).fadeIn($inDelay);
39                } else {
40                    $($back_to_top).fadeOut($outDelay);
41                }
42            });
43        }
44    });
45})(jQuery);  

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.