// Fuel Your Offers guide page (/refuel, 2026-10-24). Inside a traffic-exchange frame the session and sponsor cookies are // dropped, so sign-in, join, member screens and off-site links open in a new tab, and /join carries the ?ref= this page // was opened with. (function () { var framed = false; try { framed = window.top !== window.self; } catch (e) { framed = true; } if (!framed) return; var ref = ''; try { ref = new URLSearchParams(location.search).get('ref') || ''; } catch (e) {} ref = String(ref).toLowerCase().replace(/[^a-z0-9_]/g, '').slice(0, 40); document.querySelectorAll('a[href]').forEach(function (a) { var h = a.getAttribute('href') || ''; if (h.charAt(0) === '#') return; var member = a.host === location.host && /^\/(join|credits|ads|links|signin|login)(\/|$)/.test(a.pathname); if (member && ref && a.pathname === '/join' && !/[?&]ref=/.test(a.search)) a.search = (a.search ? a.search + '&' : '?') + 'ref=' + ref; if (member || a.host !== location.host) { a.target = '_blank'; a.rel = 'noopener'; } }); })();