diff --git a/platform/mv3/extension/js/background.js b/platform/mv3/extension/js/background.js index e139a1f62..d266cccdd 100644 --- a/platform/mv3/extension/js/background.js +++ b/platform/mv3/extension/js/background.js @@ -677,7 +677,9 @@ async function startSession() { // Permissions may have been removed while the extension was disabled const permissionsUpdated = await syncWithBrowserPermissions(); - if ( isNewVersion || permissionsUpdated || isSideloaded ) { + const shouldInject = isNewVersion || permissionsUpdated || + isSideloaded && rulesetConfig.developerMode; + if ( shouldInject ) { registerInjectables(); }