File tree Expand file tree Collapse file tree 2 files changed +13
-12
lines changed
scripts/content-scripts/scripts Expand file tree Collapse file tree 2 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 29
29
"content_scripts" : [
30
30
{
31
31
"matches" : [" <all_urls>" ],
32
- "js" : [
33
- " scripts/content-scripts/document_start.js" ,
34
- " scripts/content-scripts/scripts/ufs_global_webpage_context.js"
35
- ],
36
- "run_at" : " document_start"
32
+ "js" : [" scripts/content-scripts/scripts/ufs_global_webpage_context.js" ],
33
+ "run_at" : " document_start" ,
34
+ "world" : " MAIN"
35
+ },
36
+ {
37
+ "matches" : [" <all_urls>" ],
38
+ "js" : [" scripts/content-scripts/document_start.js" ],
39
+ "run_at" : " document_start" ,
40
+ "world" : " ISOLATED"
37
41
},
38
42
{
39
43
"matches" : [" <all_urls>" ],
40
44
"js" : [" scripts/content-scripts/document_idle.js" ],
41
- "run_at" : " document_idle"
45
+ "run_at" : " document_idle" ,
46
+ "world" : " ISOLATED"
42
47
},
43
48
{
44
49
"matches" : [" <all_urls>" ],
45
50
"js" : [" scripts/content-scripts/document_end.js" ],
46
- "run_at" : " document_end"
51
+ "run_at" : " document_end" ,
52
+ "world" : " ISOLATED"
47
53
}
48
54
],
49
55
"web_accessible_resources" : [
Original file line number Diff line number Diff line change @@ -1346,8 +1346,3 @@ window.UsefulScriptsUtils = UsefulScriptsUtils;
1346
1346
// Chrome pre-34
1347
1347
if ( ! Element . prototype . matches )
1348
1348
Element . prototype . matches = Element . prototype . webkitMatchesSelector ;
1349
-
1350
- // https://mmazzarolo.com/blog/2022-08-25-simple-colored-logging-for-javascript-clis/
1351
- window . console . success = ( ...args ) => console . log ( "\x1b[32m✔\x1b[0m" , ...args ) ;
1352
- window . console . failure = ( ...args ) =>
1353
- console . error ( "\x1b[31mx\x1b[0m" , ...args ) ;
You can’t perform that action at this time.
0 commit comments