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

Function decodeHexString

src/js/background.js:578–586  ·  view source on GitHub ↗
(hexstr)

Source from the content-addressed store, hash-verified

576 return destination
577}
578function decodeHexString(hexstr)
579{
580 let a=[]
581 for(let i=0;i<hexstr.length-1;i+=2)
582 {
583 a.push(parseInt(hexstr.substr(i,2),16))
584 }
585 return String.fromCharCode.apply(String,a)
586}
587const onBeforeRequest_rules = {
588 path_base64: details => getRedirect(atob(details.url.substr(details.url.indexOf("aHR0c")))),
589 path_s_encoded: details => encodedRedirect(details.url.substr(details.url.indexOf("/s/")+3)),

Callers 1

background.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected