Files
discord-decomp/_bundle/Module6490.js
T
2026-11-01 12:12:55 +02:00

9 lines
340 B
JavaScript

// Metro module 6490 (f6491).
import { GLOBAL_OBJ } from "./Module6369";
export function supportsHistory() {
const chrome = GLOBAL_OBJ.chrome;
const r11 = chrome && chrome.app && chrome.app.runtime;
const r0 = "history" in GLOBAL_OBJ && !!GLOBAL_OBJ.history.pushState && !!GLOBAL_OBJ.history.replaceState;
return r11 ? !r11 : r0;
}