PageSourceSearch

https://zip.gy/assets/referralCapture-vTZJ8qxV.js

js zip.gy collected 2026-10-05 23:09:50 UTC 536 bytes, 1 lines download raw bytes

1const t="zipgy_referral_code";function o(){try{const e=new URLSearchParams(window.location.search).get("ref");e&&e.trim()&&localStorage.setItem(t,e.trim().toUpperCase())}catch{}}function a(r){try{const e=(r||"").trim().toUpperCase();e?localStorage.setItem(t,e):localStorage.removeItem(t)}catch{}}function c(){try{return localStorage.getItem(t)||""}catch{return""}}function l(){try{localStorage.removeItem(t)}catch{}}export{o as captureReferralFromUrl,l as clearStoredReferralCode,c as getStoredReferralCode,a as setStoredReferralCode};

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.