PageSourceSearch

https://www.neilmedpac.com/universal_JS.js?ver=7.1.2

js neilmedpac.com collected 2026-10-04 13:30:14 UTC 1,527 bytes, 69 lines download raw bytes

1/*************NMPAC Universal JS*************/
2
3jQuery(document).ready(function(){
4	
5$ = jQuery;
6var theYear = new Date().getFullYear();
7	
8$('.this-year').html(theYear);
9	
10/**** randomize where did you hear about us options on checkout 
11
12var Ssel = $('#wchau_source');
13	
14var $o = $('#wchau_source').children().toArray();
15	
16$o = $o.slice(1,6);
17	
18$o = $o.sort(function() { return 0.5 - Math.random() });
19	
20$o = $o.reverse();
21	
22	
23$('#wchau_source').append($o);
24	
25$('#wchau_source option:eq(1)').insertAfter('#wchau_source option:eq(6)');
26	
27});****/
28
29/*****Halloween Promo
30
31jQuery(document).ready(function(){
32	
33$ = jQuery;
34var couponField = $('.woocommerce .coupon-form .coupon .checkout_coupon .input-text');
35couponField.attr('autocomplete', 'off');
36	
37var now = new Date();
38var m = now.getMonth();
39var d = now.getDate();
40var h = now.getHours();
41	
42if(m <= 10 && d <= 3 || d === 31){
43	
44setInterval(function(){	
45if($('.coupon-halloween15off').length){
46    $('body').css('background','url("https://www.neilmedpac.com/universal_assets/fall-transparent-bg.png")');
47}
48else{
49    $('body').css('background','url("https://www.neilmedpac.com/universal_assets/white.jpg")');		
50}
51}, 3500);
52	
53couponField.on('input', function(){
54couponField.val(couponField.val().toLowerCase());
55if(couponField.val() == "halloween15off"){
56	couponField.css('background','url("https://www.neilmedpac.com/universal_assets/Jack-Olanter-PAC.svg")');	
57}
58else{
59	couponField.css('background','none');
60}
61});
62	
63}
64else{
65
66couponField.css('background','none');	
67
68}*****/
69});

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.