1// source --> https://pittsburghnationalgolfclub.net/wp-content/plugins/foreup-wordpress-plugin/public/js/foreup-wordpress-plugin-public.js?ver=1.0.31 2(function( $ ) { 3 'use strict'; 4 5 /** 6 * public-facing javascript w/ jquery 7 */ 8 $(document).ready(function () { 9 // foreupsoftware.com iframe decoration START 10 // https://support.google.com/analytics/answer/10071811?hl=en#zippy=%2Cmanual-setup 11 let ga4_clientID; 12 let ga4_sessionID; 13 gtag('get', plugindata.ga4, 'client_id', (client_id) => { 14 ga4_clientID = client_id; 15 decorateIframes(); 16 }); 17 gtag('get', plugindata.ga4, 'session_id', (session_id) => { 18 ga4_sessionID = session_id; 19 decorateIframes(); 20 }); 21 function decorateIframes() { 22 if (plugindata.ga4 && ga4_clientID && ga4_sessionID) { 23 let urlAddOn = `clientId=${ga4_clientID}&sessionId=${ga4_sessionID}`; 24 $('iframe[src*="foreupsoftware.com"]').each(function() { 25 var originalSrc = $(this).attr('src'); 26 if (originalSrc.includes('?')) { 27 var modifiedSrc = originalSrc + '&' + urlAddOn; 28 } else { 29 var modifiedSrc = originalSrc + '?' + urlAddOn; 30 } 31 $(this).attr('src', modifiedSrc); 32 }); 33 } 34 } 35 // foreupsoftware.com iframe decoration END 36 }); 37})( jQuery );
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.