Skip to content

Commit

Permalink
come onnn
Browse files Browse the repository at this point in the history
  • Loading branch information
twnlink committed Aug 14, 2023
1 parent 88adeee commit 9d193fc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/api/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,7 @@ export async function installPluginFromURL(url, enabled = true) {
}
}

// The callback gets called once idb responds and the plugins are loaded into memory.
intercept("settings/UPDATE_STATE_FROM_LOCAL_STORAGE", async () => {
intercept("page/IS_LOADING", async () => {
// We don't attempt to load plugins if CSP exists because loading every plugin will fail and automatically disable the plugin.
if (document.querySelector(`[http-equiv="Content-Security-Policy"]`)) return;

Expand Down

0 comments on commit 9d193fc

Please sign in to comment.