PageSourceSearch

https://www.samys.com/cdn-non-cached-init-js?saveDestination=false…=false&emitPageView=false&pageType=general

js samys.com collected 2026-10-02 20:13:03 UTC 5,226 bytes, 154 lines download raw bytes

vendor: 367 bytes, lines 1-23
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
19(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
20m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
21})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
22
23ga('create', '
23UA-1151345-1
vendor: 18 bytes, line 23
23', 'samys.com');
24ga('require', 'displayfeatures');
25// ga('require', 'ec', 'ec.js');
26ga('require', 'linkid', 'linkid.js'); 
27
28
29
30
31
32
33jQuery(document).on('userLoggedIn', function(evnt) {
34	if (nox.member.info.highestUserTypeFromSession) {
35		nox.analytics.google.customDimensionOrMetric({dataObject : {dimension2: nox.member.info.highestUserTypeFromSession}, useCarrierEvent: true});
36	}
37});
38
39	nox.analytics.google.customDimensionOrMetric({dataObject : {dimension1: 'Desktop'}});
40
41
42	nox.analytics.google.customDimensionOrMetric({dataObject : {dimension2: 'Prospect'}});
43
44nox.analytics.google.pageView({page: ""});
45
46
47
48jQuery(document).ready(function() {
49    var $styledInputForms = jQuery('form.styled-inputs'),
50    $inputGroups = $styledInputForms.find('.input-group'),
51    $inputGroupsText = $inputGroups.filter(function (index) {
52        var $this = jQuery(this);
53        return !$this.is('.checkbox, .displayed-text, .select, .radio');
54    }),
55    $inputGroupsCheckbox = $inputGroups.filter('.checkbox'),
56    $inputGroupsRadio = $inputGroups.filter('.radio');
57
58    $inputGroupsText.append('<span class="highlight"></span><span class="bar"></span>');
59    $inputGroupsCheckbox.find('label').append('<span class="check"></span>');
60    $inputGroupsRadio.find('label').find('input').after('<span class="outer"><span class="inner"></span></span>');
61    
62
63    $inputGroupsText.delegate('input:not([type="submit"])', 'focus change', function(evnt) {
64        var $this = jQuery(this),
65        $inputGroup = $this.parents('.input-group');
66        if (evnt.type == 'focus' || evnt.type == 'focusin') {
67            $inputGroup.addClass('focused');
68        }
69        $inputGroup.addClass('expand');
70    });
71    $inputGroupsText.delegate('input:not([type="submit"])', 'blur', function(evnt) {
72        var $this = jQuery(this),
73        $inputGroup = $this.parents('.input-group');
74        $inputGroup.removeClass('focused');
75        if ($this.val().length < 1) {
76            $inputGroup.removeClass('expand');
77        }
78    });
79    setTimeout(function() {
80        $inputGroupsText.find('input').each(function(index, elmnt) {
81            var $elmnt = jQuery(elmnt),
82            autofilled = false;
83            try {
84                autofilled = $elmnt.is(":autofill");
85            } catch (error) {                                      
86                try {
87                    autofilled = $elmnt.is(":-webkit-autofill");
88                  
89                } catch (error) {}
90            }
91            if (!autofilled && $elmnt.val().length > 0) {
92                autofilled = true;
93            }
94            if (autofilled) {
95                $elmnt.trigger('change');
96            }
97        });
98    }, 50);
99    var head = document.getElementsByTagName('head')[0];
100    var signifydScript = document.createElement('script');
101    signifydScript.type = 'text/javascript';
102    signifydScript.src = 'https://cdn-scripts.signifyd.com/api/script-tag.js';
103    signifydScript.id = 'sig-api';
104    signifydScript.setAttribute('data-order-session-id', '0FA42F0BACD5E6AAF5FBB4347C81DA1D');
105    head.appendChild(signifydScript);
106});
107
108
109
110    function openStickyPromoModal() {
111        nox.ui.modal.open('/modules/modals/newsletter/promo.jsp', 
112            {wrapCSS: 'custom-promo-modal', 
113            closeBtn: true,
114            transition:'transform 0.3s ease-in-out',
115            beforeShow: function() {            
116                window.addEventListener("scroll", resetPromo);
117            },
118            afterClose: function() {            
119                $("#floatingButton").css("display","block"); 
120                window.removeEventListener("scroll", resetPromo); 
121            }
122        });
123        $("#floatingButton").css("display","none");
124    }
125
126    function resetPromo() {
127        nox.ui.modal.resize();
128    }
129
130            
131                jQuery(document).ready(function() {
132                    if ($("#floatingButton").length === 0) {
133                        var divElement = $("<div>", {
134                            id: "floatingButton",
135                            
136                            click: function() {
137                                openStickyPromoModal();
138                            },
139                            
140                        });
141                        var imgElement = $("<img>", {
142                            src: "/images/general/samys-help.png",
143                            alt: "Got a question, Need advice? Samy's experts are here to help",
144                        });
145                        
146                        divElement.append(imgElement);
147                        
148                        $('body').append(divElement);
149                    }
150                });
151            
152            
153
154

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.