PageSourceSearch

https://keelesu.com/pagestylesheet/news/article/advice/moving-into-rented-accommodation/scripts.js?v=32

js keelesu.com collected 2026-09-25 06:05:30 UTC 1,775 bytes, 40 lines download raw bytes

1$(document).ready(function() {
2            // Replace title-section text with h1 text
3            var newTitle = $('#news h1').text();
4            $('#title-section .mslwidget').text(newTitle);
5
6            // Wrap News item Title and Leader
7            $(".newslist-box .news_item").each(function() {
8                $(this).find("h5, .leader, .msl_pubdate").wrapAll('<div class="details"></div>');
9            });
10
11            // Insert wrapped content after News item Image
12            $(".newslist-box .news_item").each(function() {
13                $(this).find(".details").insertAfter($(this).find(".news_image"));
14            });
15
16            // Move .details to the top for .itemEven items
17            $('.newslist-box .itemEven').each(function() {
18                var details = $(this).find(".details");
19                $(this).prepend(details);
20            });
21
22            // Prepend "Post by:" to byline and move it into #news
23            $(".byline").prepend("Post by: ").appendTo('#news');
24
25            // Insert .news_footer after the first h1 inside #news
26            $(".news_footer").insertAfter("#news h1:first");
27
28            // Make each news item clickable
29            $(".newslist-box .news_item").click(function() {
30                window.location = $(this).find("a").attr("href");
31                return false;
32            });
33             // Remove the h1 element inside #news
34            $('#news h1').remove();
35            
36            // Adjust the image source to remove thumbnail parameters
37            $("#ctl00_Main_imgImage").each(function() {
38                $(this).attr("src", $(this).attr("src").replace(/\?thumbnail_width=\d+&thumbnail_height=\d+&resize_type=\w+/, ""));
39            });
40        });

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.