PageSourceSearch

https://www.allimmunology.org/js/shopify_rolling_bootstrap_v2.js

js allimmunology.org collected 2026-09-25 08:58:51 UTC 1,782 bytes, 42 lines download raw bytes

1(function () {
2    if (window && window.__ecommerce_rolling_bootstrap_v2) return;
3    window.__ecommerce_rolling_bootstrap_v2 = true;
4
5    function parseQuery(query) {
6        var Params = new Object();
7        if (!query) return Params;
8        var Pairs = query.split(/[;&]/);
9        for (var i = 0; i < Pairs.length; i++) {
10            var KeyVal = Pairs[i].split('=');
11            if (!KeyVal || KeyVal.length != 2) continue;
12            var key = decodeURIComponent(KeyVal[0]);
13            var val = decodeURIComponent(KeyVal[1]);
14            val = val.replace(/\+/g, ' ');
15            Params[key] = val;
16        }
17        return Params;
18    }
19
20    var scripts = document.getElementsByTagName('script');
21    for(var i = 0; i < scripts.length; i++){
22        var script = scripts[i];
23        if (script.src && script.src.indexOf('shopify_rolling_bootstrap') != -1) {
24            var queryString = script.src.replace(/^[^\?]+\??/, '');
25            var params = parseQuery(queryString);
26            window.adroll_adv_id = params.adroll_adv_id;
27            window.adroll_pix_id = params.adroll_pix_id;
28            break;
29        }
30    }
31
32    adroll_version = '2.0';
33    window.adroll_tag_source = 'shopify';
34
35    (function(w,d,e,o,a){
36        w.__adroll_loaded=true;
37        w.adroll=w.adroll||[];
38        w.adroll.f=['setProperties','identify','track'];
39        var roundtripUrl = 'https://s.adroll.com/j/' + w.adroll_adv_id + '/roundtrip.js';
40        for(a=0;a<w.adroll.f.length;a++){
41            w.adroll[w.adroll.f[a]]=w.adroll[w.adroll.f[a]]||(function(n){return function(){w.adroll.push([n,arguments])}})(w.adroll.f[a])};e=d.createElement('script');o=d.getElementsByTagName('script')[0];e.async=1;e.src=roundtripUrl;o.parentNode.insertBefore(e, o);})(window,document);
42}());

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.