PageSourceSearch

https://hfaf.org/wp-content/mws-includes/resources/global.js?ver=7.0.2

js hfaf.org collected 2026-10-02 12:32:11 UTC 766 bytes, 27 lines download raw bytes

1jQuery(function($){
2
3	/**
4	 * Stop console breaking IE
5	 */
6	if (!window.console) {window.console = {};}
7	if (!window.console.log) {window.console.log = function(){};}
8	
9	//give widow a property of it's width with scroll
10	//gets the viewport width including the scrollbar - this returns a value that will tally with the value returned by CSS media queries.
11	
12	function calculateWidthWithScrollbar(){
13		var $html = $('html');
14		var $doc = $(document);
15		var overflowBefore = $html.css('overflow');
16		
17		$html.css({'overflow' : 'hidden'});
18		var returnWidth = $doc.width();
19		$html.css({'overflow' : overflowBefore});
20		
21		window.widthWithScroll = returnWidth;
22	};
23	calculateWidthWithScrollbar();
24	$(window).resize(function(){
25		calculateWidthWithScrollbar();
26	});
27});

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.