PageSourceSearch

https://www.vspoptics.com/.resources/vspoptics/webresources/js/vspoptics~2026-08-05-20-52-04-667~cache.js

js vspoptics.com collected 2026-10-10 00:57:17 UTC 1,363 bytes, 46 lines download raw bytes

1$(function(){
2
3	$(document).foundation();
4
5		//QuickLinks Grab
6        var quickLinksSelector = '.quickLinks > .row > a';
7        if(!$(quickLinksSelector).length) {
8          // extra div exists on the auth environment
9          quickLinksSelector = '.quickLinks > .row > .quickLinksContainer > a';
10        }
11        $(quickLinksSelector).each(function(){
12		    if ($(this).hasClass('selected')) {
13			    //console.log("I GOT ONE")
14			    $('.linkNest').append($('<option>', {
15				value: $(this).attr('href'),
16				text: $(this).text(),
17				selected: 'selected'
18			}));
19			    
20			} else {
21			$('.linkNest').append($('<option>', {
22				value: $(this).attr('href'),
23				text: $(this).text()
24			}));
25			}
26
27		});
28		
29		//$('.linkNest option[value="/unitycontactlenses/"]').insertBefore('.linkNest option[value="/vspoptics/"]');
30
31        $(".linkNest").on( "change", function() {
32            var linkVal = $("option:selected",this).val();
33          
34            if(linkVal !== ""){
35				window.location.href = linkVal;
36            //window.location.href = linkVal, target="_blank";
37            //window.open(linkVal, '_blank');
38            }
39        });
40        
41        /* This allows user to tab directly through input fields instead of tabbing to the X */
42		$('.voucher-form input[type=text] ~ a').each(function() {
43        	$(this).attr('tabindex', '-1')
44		});
45
46});

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.