PageSourceSearch

https://odysseia-forum-webpage.pages.dev/assets/urlSafety-bwWeiOXV.js

js odysseia-forum-webpage.pages.dev collected 2026-10-03 05:29:59 UTC 587 bytes, 1 lines download raw bytes

1var e=[`discord.com`,`discord.gg`,`discordapp.com`,`discordapp.net`],t=new Set([`www.discord.com`,`cdn.discordapp.com`,`media.discordapp.net`]);function n(e){let t=e.trim();if(!t)return null;try{let e=new URL(t);return e.protocol!==`http:`&&e.protocol!==`https:`?null:e}catch{return null}}function r(n){let r=n.trim().toLowerCase();return r?t.has(r)?!0:e.some(e=>r===e||r.endsWith(`.${e}`)):!1}function i(e){let t=n(e);if(!t)return null;let i=t.hostname.toLowerCase(),a=r(i);return{href:t.toString(),hostname:i,isTrustedDiscord:a,requiresExternalWarning:!a}}export{r as n,n as r,i as t};

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.