fix script not loading on firefox

This commit is contained in:
rice-cracker-dev 2025-08-13 03:19:43 +07:00
parent 1b6814bd7f
commit 166d8d578b

View file

@ -1,10 +1,15 @@
/// <reference types="tampermonkey" />
// @ts-nocheck
import { bootstrapApp } from './app';
import { bootstrapApp } from "./app";
(function () {
'use strict';
bootstrapApp().catch(e => console.error('Overlay Pro bootstrap failed', e));
"use strict";
window.onload = () => {
bootstrapApp().catch((e) =>
console.error("Overlay Pro bootstrap failed", e),
);
};
})();
export {};
export {};