PageSourceSearch

https://www.wabash.edu/news/assets/js/main.js?v=20230426

js wabash.edu collected 2026-09-24 08:37:54 UTC 981 bytes, 30 lines download raw bytes

1
2jQuery(document).ready(function($) {
3	
4	// load video into modal via ajax
5	$(".modal-videoplayer").click(function(e) {
6		e.preventDefault();
7		var key = $(this).data("videoKey");
8		var url = 'https://www.youtube-nocookie.com/embed/'+key+'?rel=0&autoplay=1';
9		$("#videoplayerModalLabel").html("Video Player");
10		$("#videoplayerModalIframe").attr('src', url);
11		$('#videoplayerModal').on('hidden.bs.modal', function() {
12			$("#videoplayerModalIframe").attr('src', '');
13		}).modal('show');
14	});
15	
16	// load podcast into modal via ajax
17	$(".modal-podcastplayer").click(function(e) {
18		var url = $(this).attr("href");
19		if (typeof url == "string") {
20			e.preventDefault();
21			url = url.replace("//podcasts.apple.com/", "//embed.podcasts.apple.com/");
22			$("#podcastModalLabel").html("Podcast Player");
23			$("#podcastModalIframe").attr('src', url);
24			$('#podcastModal').on('hidden.bs.modal', function() {
25				$("#podcastModalIframe").attr('src', '');
26			}).modal('show');
27		}
28	});
29
30});

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.