Update index.js

This commit is contained in:
Spmario233 2024-04-17 11:35:30 +08:00
parent 376ef149ed
commit 7b7af440d5
1 changed files with 1 additions and 1 deletions

View File

@ -469,7 +469,7 @@ export async function boot() {
extensionlist.push(config.get("extensions")[name]); extensionlist.push(config.get("extensions")[name]);
} }
} }
} else { } else if (!localStorage.getItem(lib.configprefix + 'directstart')) {
for (var name = 0; name < config.get("extensions").length; name++) { for (var name = 0; name < config.get("extensions").length; name++) {
if (Reflect.get(window, "bannedExtensions").includes(config.get("extensions")[name])) { if (Reflect.get(window, "bannedExtensions").includes(config.get("extensions")[name])) {
continue; continue;