PageSourceSearch

https://guelph.ca/wp-content/plugins/external-link-favicons/js/external-link-favicons.js?ver=1.0

js guelph.ca collected 2026-10-02 02:26:24 UTC 667 bytes, 21 lines download raw bytes

1
2document.addEventListener('DOMContentLoaded', function () {
3  document.querySelectorAll('a[href]').forEach(link => {
4    try {
5      if (
6        link.hostname &&
7        link.hostname !== window.location.hostname &&
8        !link.href.startsWith('mailto:') &&
9        !link.href.startsWith('#') &&
10        !link.href.startsWith('tel:')
11      ) {
12        link.classList.add('external-link-favicon');
13
14        const faviconUrl = `https://www.google.com/s2/favicons?sz=32&domain=${link.hostname}`;
15        link.style.backgroundImage = `url(${faviconUrl})`;
16      }
17    } catch (e) {
18      // fail silently (handles malformed URLs)
19    }
20  });
21});

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.