Add tracker health badges for magnets

This commit is contained in:
thePR0M3TH3AN
2025-09-25 18:50:12 -04:00
parent 0ad6d53ebb
commit ddd8a393f4
10 changed files with 724 additions and 2 deletions

17
js/bufferPolyfill.js Normal file
View File

@@ -0,0 +1,17 @@
import { Buffer } from "https://esm.sh/buffer@6.0.3?bundle";
const globalScope = typeof globalThis !== "undefined" ? globalThis : window;
if (globalScope && !globalScope.Buffer) {
globalScope.Buffer = Buffer;
}
if (globalScope && !globalScope.global) {
globalScope.global = globalScope;
}
if (globalScope && !globalScope.process) {
globalScope.process = { env: {} };
}
export { Buffer };