PageSourceSearch

https://savazzi.net/scripts/footer.js

js savazzi.net collected 2026-10-02 14:09:17 UTC 1,710 bytes, 38 lines download raw bytes

1// footer.js (c) 2022 by Enrico Savazzi. Not in the public domain.
2
3let displayFooter = function(creationYear)
4{
5    // prepare last modified date
6    let update = new Date(document.lastModified);
7    let month = "" + (update.getMonth() + 1);
8    let day = "" + update.getDate();
9    let year = "" + update.getFullYear();
10
11    if (month.length < 2) {
12        month = "0" + month;
13    }
14    if (day.length < 2) {
15        day = "0" + day;
16    }
17    let modify = [ year, month, day, ].join("-");
18    let footer1 = 
19        '<span style="width:auto; margin-left:auto; margin-right:auto;">' +
20        '<p class="center">Visitors count since 2026-06-06</p>' +
21        '<img style="display: block; margin-left: auto; margin-right: auto; margin-bottom: 30px; margin-top: 20px;" ' +
22        'src="/images/colorbar-small.png" alt="color bar">\n' +
23        '</span>' +
24        '<table style="table-layout: fixed; width: 500px; border: 0; margin-left: auto; margin-right: auto;">' +
25        '<tr><td style="padding: 10px;">\n'+
26        '<a href="https://www.savazzi.net/root/notice.htm">Copyright © Enrico Savazzi, 1990 - \n' +
27        new Date().getFullYear() +
28        '</a>.<br>This page was created in ' +
29        creationYear +
30        ', last updated \n' +
31        modify +
32        '.<br>(Last update refers to any change of contents, styling and/or web host.)</td></tr>\n' +
33        '<tr><td style="padding: 10px;">This site is ad-free. If you see any ads here, they are added \n' +
34        'by your ISP, or by malware on your computer, or you are visiting this site through frames of another site.' +
35        '</span>\n </td></tr></table></div>\n';
36
37    document.getElementById("footer1").outerHTML = footer1;
38};

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.