PageSourceSearch

https://www.countryfolks.com/leepubnewspapers/countryfolks/wp-cont…/js/calendare.js?ver=v1.0.0

js countryfolks.com collected 2026-10-02 10:43:05 UTC 1,437 bytes, 42 lines download raw bytes

1(function ($) {
2
3    // Highlight selected date. Parsing of URL.
4    var getUrlParameter = function getUrlParameter(sParam) {
5        var sPageURL = decodeURIComponent( window.location.search.substring(1) ),
6            sURLVariables = sPageURL.split('&'),
7            sParameterName,
8            i;
9        for ( i = 0; i < sURLVariables.length; i++ ) {
10            sParameterName = sURLVariables[i].split( '=' );
11            if ( sParameterName[0] === sParam ) {
12                return sParameterName[1] === undefined ? true : sParameterName[1];
13            }
14        }
15    };
16
17
18
19    // Highlight selected date. Search concrete parameter in the URL.
20    // var calendarDay = getUrlParameter( 'dy' );
21    var calendarDay = getUrlParameter( 'Categories' );
22    // console.log(calendarDay);
23
24
25    // Highlight selected date. Comparing the link with the parameter of URL.
26    // if ( typeof calendarDay !== "undefined" ) {
27    //     var links = $( '.has-events a' );
28    //     for( var i=0; i<links.length; i++ ) {
29    //         var linkString = links[i].href;
30    //         var substring = "dy=" + calendarDay;
31    //         if ( linkString.indexOf( substring ) !== -1 ) {
32    //             links[i].classList.add( 'active-toggle' );
33    //         }
34    //     }
35    // }
36
37    // 'use strict';
38    // $(function () {
39    //     $( '.mc-main' ).removeClass( 'mcjs' );
40    // });
41}
42(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.