MCPcopy Index your code
hub / github.com/hoothin/UserScripts / pushDecoder

Function pushDecoder

Pagetual/pagetual.user.js:4205–4210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4203 }
4204 };
4205 let pushDecoder = label => {
4206 let raw = String(label || "").trim();
4207 if (raw && decoderList.indexOf(raw) === -1) {
4208 decoderList.push(raw);
4209 }
4210 };
4211 let normalizedPreferred = normalize(preferredCharset).replace(/["']/g, "");
4212 pushDecoder(preferredCharset);
4213 pushDecoder(normalizedPreferred);

Callers 2

addAliasFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected