Download okhttp.js from Test123o/test-repo: direct link, hf CLI and curl.
- Browser
- Download file 466 Bytes
-
https://huggingface.co/Test123o/test-repo/resolve/main/okhttp.js
- Command line
-
hf download hf://Test123o/test-repo/okhttp.js
-
curl -L -o okhttp.js https://huggingface.co/Test123o/test-repo/resolve/main/okhttp.js
466 Bytes
| // expo_dl_hook.js | |
| Java.perform(function () { | |
| var OkHttpClient = Java.use("okhttp3.OkHttpClient"); | |
| var Request = Java.use("okhttp3.Request"); | |
| OkHttpClient.newCall.implementation = function (request) { | |
| var url = request.url().toString(); | |
| console.log("[*] OkHttp request:", url); | |
| if (url.indexOf("u.expo.dev") !== -1) { | |
| console.warn("[!] Expo update download ->", url); | |
| } | |
| return this.newCall(request); | |
| }; | |
| }); | |