| 130 | } |
| 131 | |
| 132 | function isParked(finalUrl) { |
| 133 | const u = safeUrl(finalUrl); |
| 134 | if (!u) return false; |
| 135 | const host = u.hostname.toLowerCase(); |
| 136 | if (PARKED_SUBDOMAIN_RE.test(host)) return true; |
| 137 | for (const ph of PARKED_HOSTS) { |
| 138 | const [phHost, phPath] = ph.split('/', 2); |
| 139 | if (host === phHost || host.endsWith('.' + phHost)) { |
| 140 | if (!phPath || u.pathname.startsWith('/' + phPath)) return true; |
| 141 | } |
| 142 | } |
| 143 | return false; |
| 144 | } |
| 145 | |
| 146 | // ---------- Re-verification with a real browser UA ---------- |
| 147 | async function reverify(url) { |