Fixed 2 bugs on checking unread mail and quota. One of my accounts wouldn't update the e-mail account at all any more. While debugging, I made these fixes.
Open the XPI with your favorite unzipper, find components/gmServiceGmail.js and extract it.
Change the whole quMatches stuff around line 495 to:
Code: Select all
var quMatches = data.match(/\["qu",(?:.|\s)+?]/)[0];
quMatches = quMatches.replace(/,(?=,)/g, ',""');
this._log(quMatches);
quMatches = JSON.parse(quMatches);
And ldMatchesPre around line 12 to:
Code: Select all
var ldMatchesPre = data.match(/\["ld",(?:.|\s)+?(?:\s*[\[\]]){3}/)[0];
ldMatchesPre = ldMatchesPre.replace(/(\r\n|\r|\n)/gm, '');
ldMatchesPre = ldMatchesPre.replace(/,(?=,)/g, ',""');
ldMatchesPre = ldMatchesPre.replace(/\\x([0-9]{1,2})/g, '\\\\x$1');
this._log(ldMatchesPre);
var ldMatches = JSON.parse(ldMatchesPre);
Replace the file in the archive and restart firefox.
If you still run into problems, uncomment the "this._log" line on 465, start Firefox, go to about:config and change "longfocus.gmanager.debug" to true. Close all your tabs and disable all other addons or just make a new profile to prevent noise.
(Re)Start Firefox and start the error console with ctrl+shift+j. Take a look at the debug output and try fixing your problem or post it on pastebin and place a link here.
Edit: Note that any debug output will contain personal information. You might try stripping it out before uploading it
Don't forget to change the cookie strings.