Sunday, September 25, 2011

WebMail Notifier Gmail fix

Gmail changed the login from https://www.google.com to https://accounts.google.com

To get WMN working again with Gmail accounts do the following:

1. Close Firefox
2. Go to:

C:\Users\{your username}\AppData\Roaming\Mozilla\Firefox\Profiles\{yourProfile}.default\extensions\{37fa1426-b82d-11db-8314-0800200c9a66}\components\scripts

3. Change the following 2 1 lines in gmail.js:

Line 13

FROM
this.loginData=["https://www.google.com/accounts/ServiceLoginAuth?service=mail",

TO
this.loginData=["https://accounts.google.com/accounts/ServiceLoginAuth?service=mail"


/* NOT NEEDED

Line 20

FROM
this.loginData=["https://www.google.com/a/"+ar[1]+"/LoginAction2?service=mail",

TO
this.loginData=["https://accounts.google.com/a/"+ar[1]+"/LoginAction2?service=mail",

*/