Skip to content

Commit acb20cc

Browse files
author
hoang.tran12
committed
fix: inject ufsGlobal to popup
1 parent 5830187 commit acb20cc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

popup/main.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
import("./index.js").then(() => {
22
document.querySelector("#loading-fullscreen")?.remove();
33
});
4+
5+
import("../scripts/content-scripts/ufs_global.js", (success, fail) => {
6+
if (success) console.log("UfsGlobal injected");
7+
else console.log("UfsGlobal injection failed: ", fail);
8+
});

0 commit comments

Comments
 (0)