[mv3] Minor change for when side-loaded

This commit is contained in:
Raymond Hill 2026-01-23 12:31:06 -05:00
parent c6de97ceb7
commit 9f0c55fccb
No known key found for this signature in database
GPG key ID: F5630CAE62A14316

View file

@ -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();
}