mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 11:44:40 +00:00
improve loading performance of settings UI
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import Browser from "webextension-polyfill";
|
||||
|
||||
console.log('hi');
|
||||
|
||||
(async () => {
|
||||
const result = await Browser.storage.local.get();
|
||||
if (result.DarkMode) {
|
||||
document.body.classList.add('dark');
|
||||
}
|
||||
})();
|
||||
Reference in New Issue
Block a user