File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ import {
31
31
runtime ,
32
32
localRead , localWrite ,
33
33
sessionRead , sessionWrite ,
34
+ adminRead ,
34
35
} from './ext.js' ;
35
36
36
37
import {
@@ -317,7 +318,10 @@ async function start() {
317
318
) ;
318
319
319
320
if ( firstRun ) {
320
- runtime . openOptionsPage ( ) ;
321
+ const disableFirstRunPage = await adminRead ( 'disableFirstRunPage' ) ;
322
+ if ( disableFirstRunPage !== true ) {
323
+ runtime . openOptionsPage ( ) ;
324
+ }
321
325
}
322
326
}
323
327
Original file line number Diff line number Diff line change 6
6
"title" : " List of domains for which no filtering should occur" ,
7
7
"type" : " array" ,
8
8
"items" : { "type" : " string" }
9
+ },
10
+ "disableFirstRunPage" : {
11
+ "title" : " Disable first run page" ,
12
+ "type" : " boolean"
9
13
}
10
14
}
11
15
}
You can’t perform that action at this time.
0 commit comments