PageSourceSearch

https://www.childcareaware.org/wp-content/plugins/insert-or-embed-…ntent-into-wordpress-premium/js/frontend.js

js childcareaware.org collected 2026-09-24 08:37:15 UTC 1,559 bytes, 45 lines download raw bytes

1var articulatejq = jQuery.noConflict();
2articulatejq(document).ready(function() {
3
4    if (document.addEventListener) {
5        document.addEventListener('webkitfullscreenchange', exitHandler, false);
6        document.addEventListener('mozfullscreenchange', exitHandler, false);
7        document.addEventListener('fullscreenchange', exitHandler, false);
8        document.addEventListener('MSFullscreenChange', exitHandler, false);
9    }
10
11	function exitHandler() {
12		if (!document.webkitIsFullScreen && !document.mozFullScreen && !document.msFullscreenElement) {
13			articulatejq( 'html, body, .articulate-iframe' ).removeClass( 'articulate-fs-on' );
14		}
15	}
16
17	function requestFullScreen(element) {
18		// Supports most browsers and their versions.
19		var requestMethod = element.requestFullScreen || element.webkitRequestFullScreen || element.mozRequestFullScreen || element.msRequestFullscreen;
20
21		if (requestMethod) { // Native full screen.
22			requestMethod.call(element);
23		} else if (typeof window.ActiveXObject !== "undefined") { // Older IE.
24			var wscript = new ActiveXObject("WScript.Shell");
25			if (wscript !== null) {
26				wscript.SendKeys("{F11}");
27			}
28		}
29	}
30
31	function makeFullScreen( id ) {
32		articulatejq( 'html, body, #' + id + '.articulate-iframe' ).addClass( 'articulate-fs-on' );
33		var elem = document.body;
34		requestFullScreen(elem);
35	}
36
37	articulatejq( document ).on( 'click', '.articulate-fs', function( event ) {
38		event.preventDefault();
39		var id = articulatejq( this ).attr( 'data-id' );
40		makeFullScreen( id );
41		return false;
42	} );
43
44});
45

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.