PageSourceSearch

https://truecompanions.org/js/additionalJS.cfm?pageid=86191&siteid=2698&v=1&ref=blog&editPage=0

js truecompanions.org collected 2026-10-10 00:34:53 UTC 2,040 bytes, 65 lines download raw bytes

1
2var refer = 'https://truecompanions.org/';
3var PAGEID = 86191;
4$(function() {
5$(".fancygallery").fancybox();
6});
7// GLOBAL JAVASCRIPT
8/*$(".omsNav .nav .nav-item:first-of-type > a").addClass("btn-primary btn text-white mr-lg-2 my-2 my-lg-0");
9$(".omsNav .nav .nav-item:nth-of-type(2) > a").addClass("btn-primary-alt btn text-white mr-lg-2 my-2 my-lg-0");*/
10$(document).ready(function() {
11// if today is after June 30, 2026 at 23:59:59, bail out and never show
12var cutoff = new Date(2026, 09, 30, 23, 59, 59);
13if (new Date() > cutoff) {
14return;
15}
16// otherwise proceed with your modal logic
17setTimeout(function() {
18if ($.cookie("pop") == null) {
19$("#fundraiser").modal("show");
20$.cookie("pop", "2");
21}
22}, 2000);
23});
24$(document).ready(function() {
25// if the URL already has a hash on load, jump to top
26if (window.location.hash) {
27$('html, body').scrollTop(250);
28}
29// whenever the hash changes (e.g. someone appends “#foo”), jump to top
30$(window).on('hashchange', function() {
31$('html, body').scrollTop(250);
32});
33});
34document.addEventListener('DOMContentLoaded', function() {
35document.querySelectorAll('a[href]').forEach(function(link) {
36var href = link.getAttribute('href');
37if (href && (href.includes('mailto:') || href.includes('tel:'))) {
38link.classList.add('d-inline-block');
39}
40});
41});
42document.addEventListener('DOMContentLoaded', function() {
43document.querySelectorAll('a[href*=".shelterluv.com"]').forEach(function(link) {
44var parentDiv = link.closest('div');
45if (parentDiv) {
46parentDiv.classList.add('p-2', 'mt-3', 'bg-light', 'rounded', 'd-block');
47}
48});
49});
50jQuery(function($) {
51function navHeight() {
52var $nav = $('.omsNav');
53return $nav.length ? $nav.outerHeight(true) : 0;
54}
55$('#omsAccordion').on('shown.bs.collapse', function(e) {
56var $collapse = $(e.target);
57var $header = $collapse.closest('.card').children('.card-header').first();
58if (!$header.length) return;
59var buffer = 20;
60var target = Math.max(0, $header.offset().top - navHeight() - buffer);
61$('html, body').stop(true).animate({
62scrollTop: target
63}, 200);
64});
65});

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.