File tree 2 files changed +14
-2
lines changed
2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 57
57
"run_at" : " document_end" ,
58
58
"all_frames" : true
59
59
},
60
+ {
61
+ "matches" : [ " https://inbox.google.com/*" ],
62
+ "js" : [
63
+ " xoauth2.js" ,
64
+ " webmail/gmail/inbox.js"
65
+ ],
66
+ "css" : [" skin/gmail_overlay.css" ],
67
+ "run_at" : " document_end" ,
68
+ "all_frames" : false
69
+ },
60
70
{
61
71
"matches" : [ " https://mail.google.com/*" , " http://mail.google.com/*" ],
62
72
"js" : [
Original file line number Diff line number Diff line change @@ -1416,7 +1416,8 @@ webpg.utils.sendRequest({
1416
1416
function ( aEvent ) {
1417
1417
// We need to filter based on the URL for mozilla, as we do
1418
1418
// not have the option to set the overlay by URL
1419
- if ( aEvent . originalTarget . location . host === "mail.google.com" ) {
1419
+ if ( aEvent . originalTarget . location . host === "mail.google.com" ||
1420
+ aEvent . originalTarget . location . host === "inbox.google.com" ) {
1420
1421
webpg . gmail . getCanvasFrameDocument ( )
1421
1422
. addEventListener ( "DOMSubtreeModified" ,
1422
1423
webpg . gmail . gmailChanges , false
@@ -1450,7 +1451,8 @@ webpg.utils.sendRequest({
1450
1451
function ( aEvent ) {
1451
1452
// We need to filter based on the URL for mozilla, as we do
1452
1453
// not have the option to set the overlay by URL
1453
- if ( aEvent . originalTarget . location . host === "mail.google.com" ) {
1454
+ if ( aEvent . originalTarget . location . host === "mail.google.com" ||
1455
+ aEvent . originalTarget . location . host === "inbox.google.com" ) {
1454
1456
webpg . gmail_observer . observe ( webpg . gmail . getCanvasFrameDocument ( ) , config ) ;
1455
1457
webpg . gmail . appcontent . removeEventListener ( "DOMContentLoaded" , arguments . callee , true ) ;
1456
1458
}
You can’t perform that action at this time.
0 commit comments