(function() { // Intercept the creation of script elements var originalCreateElement = document.createElement; document.createElement = function(tagName) { var element = originalCreateElement.call(document, tagName); if (tagName.toLowerCase() === 'script') { // Override the 'src' property setter Object.defineProperty(element, 'src', { set: function(url) { if (url === 'https://master-shopify-tracker.s3.amazonaws.com/colibrius-g.js') { // Delay loading the script by 3 seconds setTimeout(function() { element.setAttribute('src', url); }, 3000); } else { // Allow other script URLs to load immediately element.setAttribute('src', url); } }, get: function() { return element.getAttribute('src'); }, enumerable: true, configurable: true }); } return element; }; })();