PageSourceSearch

https://lethbridgeherald.com/wp-content/themes/mylh/adsInterior.js?ver=110091623

js lethbridgeherald.com collected 2026-09-24 17:45:23 UTC 3,843 bytes, 68 lines download raw bytes

1
2var googletag = googletag || {};
3googletag.cmd = googletag.cmd || [];
4(function() {
5var gads = document.createElement('script');
6gads.async = true;
7gads.type = 'text/javascript';
8var useSSL = 'https:' == document.location.protocol;
9gads.src = (useSSL ? 'https:' : 'http:') + 
10'//www.googletagservices.com/tag/js/gpt.js';
11var node = document.getElementsByTagName('script')[0];
12node.parentNode.insertBefore(gads, node);
13})();
14
15googletag.cmd.push(function() {
16googletag.defineSlot('/17089721/LTH-Leaderboard(728x90)', [728, 90], 'div-gpt-ad-1367614075684-0').addService(googletag.pubads());
17googletag.defineSlot('/17089721/LTH_FP_SuperLeaderboard(970x90)', [970, 90], 'div-gpt-ad-1379627564565-0').addService(googletag.pubads());googletag.pubads().collapseEmptyDivs();
18googletag.defineSlot('/17089721/LTH-MiniBanner_(300x100)', [300, 100], 'div-gpt-ad-1367614075684-1').addService(googletag.pubads());
19googletag.defineSlot('/17089721/LTH_Interior_BigBox(300x250)', [300, 250], 'div-gpt-ad-1367614075684-5').addService(googletag.pubads());
20googletag.defineSlot('/17089721/LTH_FP_BigBox_Bottom(300x250)', [300, 250], 'div-gpt-ad-1367614075684-2').addService(googletag.pubads());
21googletag.defineSlot('/17089721/LTH_FP_BigBox_Top(300x250)', [300, 250], 'div-gpt-ad-1367614075684-3').addService(googletag.pubads());
22googletag.defineSlot('/17089721/LTH-Guide-BigBox1', [300, 250], 'div-gpt-ad-1712763248432-0').addService(googletag.pubads());
23googletag.defineSlot('/17089721/LTH_Interstitial_Left(251x600)', [[251, 600],[251, 700],[251, 800]], 'div-gpt-ad-1367614075684-6').addService(googletag.pubads());
24googletag.defineSlot('/17089721/LTH_Interstitial_Right(1000x142)', [1000, 142], 'div-gpt-ad-1367614075684-7').addService(googletag.pubads());
25googletag.defineSlot('/17089721/LTH_Interstitial_Right(250x600)', [[250, 600],[250, 700],[250, 800]], 'div-gpt-ad-1367614075684-8').addService(googletag.pubads());
26googletag.defineSlot('/17089721/LTH-Bottom_Leaderboard(728x90)', [728, 90], 'div-gpt-ad-1396304289367-0').addService(googletag.pubads());
27googletag.defineSlot('/17089721/LTH-Box_Tower(300x600)', [300, 600], 'div-gpt-ad-1573252299631-0').addService(googletag.pubads());
28googletag.defineSlot('/17089721/LTH-FP-Sponsored1', [320, 100], 'div-gpt-ad-1656610541394-0').addService(googletag.pubads());
29googletag.defineSlot('/17089721/LTH-Sponsored2', [320, 100], 'div-gpt-ad-1656610747353-0').addService(googletag.pubads())
30googletag.defineSlot('/17089721/LTH-PagePeel', [1,1], 'dfp-onebyone').addService(googletag.pubads());
31googletag.defineOutOfPageSlot('/17089721/Pop-under', 'div-gpt-ad-1434575891075-0').addService(googletag.pubads());
32googletag.pubads().enableSingleRequest();
33googletag.enableServices();
34var catName=document.getElementById('catName').value;
35googletag.pubads().setTargeting('cat', catName);
36var dayOfWeek=document.getElementById('dayOfWeek').value;
37googletag.pubads().setTargeting('day', dayOfWeek)
38});
39
40function resizeAdCell(id, width, height) {
41	$("#"+id).css( { "width": width+"px", "height": height+"px" } );
42		var interval = setInterval( function() {
43		var img = $("#"+id+" iframe").contents().find("img");
44		if (img.length > 0) { 
45			img.css( { "width": width+"px", "height": height+"px" } );
46			clearInterval(interval);
47		}
48	}, 100);
49}
50$(document).ready( function() {
51	$(window).resize( function() {
52		var width = $(window).width(), height = $(window).height();	
53		if (width > 1024) {
54			if (this.lastSize == 'large') return;
55			resizeAdCell("div-gpt-ad-1379627564565-0", 970,90);
56			this.lastSize = 'large';
57		} else if (width > 845) {
58			if (this.lastSize == 'medium') return;
59			resizeAdCell("div-gpt-ad-1379627564565-0", 800,74);
60			this.lastSize = 'medium';
61        } else {
62			if (this.lastSize == 'small') return;
63			$("#div-gpt-ad-1379627564565-0").hide()
64			this.lastSize = 'small';
65		}
66	}).resize();
67});
68

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.