MCPcopy Index your code
hub / github.com/NobyDa/Script / urlArgs

Function urlArgs

IPA-Installer/IPA-Installer.js:92–98  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

90}
91
92function urlArgs(str) {
93 return Object.fromEntries(
94 (str.startsWith("http") && str.split("?")[1] || str).split("&")
95 .map((item) => item.split("="))
96 .map(([k, v]) => [k, decodeURIComponent(v)])
97 );
98}
99
100function compatible_tool() {
101 const isSurge = typeof $httpClient != "undefined";

Callers 1

IPA-Installer.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected