Commit 92fb8f5 1 parent 78d0c78 commit 92fb8f5 Copy full SHA for 92fb8f5
File tree 1 file changed +10
-9
lines changed
toolkit/components/extensions
1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -3790,15 +3790,16 @@ export class Extension extends ExtensionData {
3790
3790
this . permissions . delete ( PRIVATE_ALLOWED_PERMISSION ) ;
3791
3791
}
3792
3792
3793
- // Floorp Injections
3794
- // We automatically add permissions to "Gesturefy" and "uBlock Origin" extensions.
3795
- // However, User check the "Allow this extension to run in Private Windows" option on installed prompt.
3796
- if ( this . id == "uBlock0@raymondhill.net" || this . id == "{506e023c-7f2b-40a3-8066-bc5deb40aebe}" ) {
3797
- lazy . ExtensionPermissions . add ( this . id , {
3798
- permissions : [ PRIVATE_ALLOWED_PERMISSION ] ,
3799
- origins : [ ] ,
3800
- } ) ;
3801
- this . permissions . add ( PRIVATE_ALLOWED_PERMISSION ) ;
3793
+ // Floorp Injections
3794
+ // We automatically add permissions to "Gesturefy" and "uBlock Origin" extensions.
3795
+ // However, User check the "Allow this extension to run in Private Windows" option on installed prompt.
3796
+ if ( this . id === "uBlock0@raymondhill.net" || this . id === "{506e023c-7f2b-40a3-8066-bc5deb40aebe}" ) {
3797
+ lazy . ExtensionPermissions . add ( this . id , {
3798
+ permissions : [ PRIVATE_ALLOWED_PERMISSION ] ,
3799
+ origins : [ ] ,
3800
+ } ) ;
3801
+ this . permissions . add ( PRIVATE_ALLOWED_PERMISSION ) ;
3802
+ }
3802
3803
}
3803
3804
3804
3805
// We only want to update the SVG_CONTEXT_PROPERTIES_PERMISSION during
You can’t perform that action at this time.
0 commit comments