PageSourceSearch

https://glaa.org/wp-content/plugins/shock-core/assets/js/side-widget.min.js?ver=1.0.3

js glaa.org collected 2026-10-02 06:01:21 UTC 698 bytes, 36 lines download raw bytes

1/**
2 * Side Widget 1.0.0 (https://codings.dev)
3 * Copyright 2022-2023 Codings
4 */
5
6// #region Side Widget
7
8jQuery(function ($) {
9	'use strict';
10
11	$(window).scroll(function () {
12		var current_position = $(window).scrollTop();
13		var widget = $('.shock-body .side-widget');
14
15		widget.each(function() {
16
17			if ( $(this).is('[data-position]') ) {
18				var display_in = $(this).data('position');
19	
20			} else {
21				var display_in = window.innerHeight;
22			}
23
24			if ( ! $(this).hasClass('active') ) {
25				if ( current_position > display_in ) {
26					$(this).addClass('show');
27	
28				} else {
29					$(this).removeClass('show');
30				}
31			}
32		})
33	})
34})
35
36// #endregion Side Widget

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.