MCPcopy Index your code
hub / github.com/FastForwardTeam/FastForward / encodedRedirect

Function encodedRedirect

src/js/background.js:22–22  ·  view source on GitHub ↗
(url,referer,safe_in)

Source from the content-addressed store, hash-verified

20 return {redirectUrl}
21},
22encodedRedirect=(url,referer,safe_in)=>getRedirect(decodeURIComponent(url),referer,safe_in),
23isGoodLink=link=>{
24 if(typeof link !== "string"||(link.split("#")[0]==location.href.split("#")[0]&&!isGoodLink_allowSelf))
25 {

Callers 1

background.jsFile · 0.85

Calls 1

getRedirectFunction · 0.85

Tested by

no test coverage detected