PageSourceSearch

https://www.angloscottishfinance.co.uk/wp-content/plugins/inspired-enviroplugin/scripts/main.js

js angloscottishfinance.co.uk collected 2026-10-07 11:21:17 UTC 913 bytes, 30 lines download raw bytes

1function load_gtm() {
2    console.log('DOM Loaded');
3
4    const gtm = document.createElement('script');
5
6    gtm.setAttribute('defer', 'defer');
7    gtm.setAttribute('id', 'enviro-gtm-script');
8
9    gtm.innerHTML = `
10        (function(w, d, s, l, i) {
11            w[l] = w[l] || [];
12            w[l].push({
13                'gtm.start': new Date().getTime(),
14                event: 'gtm.js'
15            });
16            var f = d.getElementsByTagName(s)[0],
17                j = d.createElement(s),
18                dl = l != 'dataLayer' ? '&l=' + l : '';
19            j.async = true;
20            j.src =
21                'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
22            f.parentNode.insertBefore(j, f);
23        })(window, document, 'script', 'dataLayer', '` + enviro_plugin.gtm + `');
24    `
25
26    
27    document.head.appendChild(gtm);
28  }
29
30  document.addEventListener('DOMContentLoaded', load_gtm());

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.