mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
[mv3] Minor change for when side-loaded
This commit is contained in:
parent
c6de97ceb7
commit
9f0c55fccb
1 changed files with 3 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue