function ctOnce(fn, context) { var result; return function() { if(fn) { result = fn.apply(context || this, arguments); fn = null; } return result; }; } var canOnlyFireOnce6 = ctOnce(function() { (function( d, s ){ var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById('u1-cembed')){ return; } js = d.createElement(s); js.id = 'u1-cembed'; js.setAttribute('data-id', '101293'); js.setAttribute('data-origin', 'https://www.freedomunited.org/wp-json/embed-light/v1/campaign/'); js.src = "https://www.freedomunited.org/wp-content/themes/u1_theme/assets/js/embed-campaign.js"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script' )); }); jQuery('body').one('pointermove scroll', function () { setTimeout(canOnlyFireOnce6, 0); })