PageSourceSearch

https://img.natgeomedia.com/js/ads-fixed.js?v20250823_3

js natgeomedia.com collected 2026-10-02 03:06:01 UTC 1,076 bytes, 34 lines download raw bytes

1$(window).ready(function(){
2	function AdFixed(){
3		if(document.getElementById("ad-fixed")){
4			var win = window.innerWidth;
5			if(win > 540 && win < 1100){
6				$('footer').css({'padding-bottom':'120px'});
7			} else if(win <= 540){
8				$('footer').css({'padding-bottom':'80px'});
9			} else{
10				$('footer').css({'padding-bottom':'280px'});
11			}
12		}
13	}
14	
15	AdFixed();
16
17	$(window).resize(function () {  
18		setTimeout(AdFixed,100);  
19	});
20	
21	setTimeout(function () {
22		$('#ad-fixed').html(FixedCover);
23		$('#Fixed-Cover-AD-Link').click(function(){
24			// ga('send','event','Banner','click',FixedCover_GA_label);
25			boulder_gtag('event','AD_Banner_Click',{'event_category':'AD_Banner','event_label':FixedCover_GA_label});
26		});
27		$('#Fixed-Cover-AD-Close').click(function(){
28			// ga('send','event','Banner','close_click',FixedCover_GA_label);
29			boulder_gtag('event','AD_Banner_CloseClick',{'event_category':'AD_Banner','event_label':FixedCover_GA_label});
30			$('.ad-fixed').remove();
31			$('footer').css({'padding-bottom':'0'});
32		});
33	}, 4000);
34});

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.