201109132228Firefox:Gmail Manager 手動更新

最近,我發現無法在 Firefox 中,使用 Gmail Manager 的提醒功能!

一開啟 Firefox,就會停留在要求登入的登入視窗畫面!原來 Google 修改了 Gmail 的認證網址!

在 Gmail Manger 尚未改版前(目前是 0.6.4.1 的版本),我們只好暫用手動方式修改認證網址,方式如下:

  1. Browse to C:\Users\YOUR USER NAME\AppData\Roaming\Mozilla\Firefox\Profiles\A RANDOM CODE IS HERE.default\extensions\
  2. Locate the file {582195F5-92E7-40a0-A127-DB71295901D7}.xpi, rename it to {582195F5-92E7-40a0-A127-DB71295901D7}.zip and extract the files to a temporary location.
  3. Open the components folder, look for the file gmServiceGmail.js and use a text editor to modify these 2 lines:

    his._loginURL = "https://accounts.google.com/ServiceLoginAuth";
    should be changed to this
    this._loginURL = "https://accounts.google.com/accounts/ServiceLoginAuth?service=mail";

    this._loginURL = "https://www.google.com/a/" + this.domain + "/LoginAction2";
    should be changed to this
    this._loginURL = "https://accounts.google.com/a/"+ar[1]+"/LoginAction2?service=mail";

  4. Save the file, overwrite the existing gmServiceGmail.js
  5. Open the file install.rdf with a text editor and change the line:

    <em:maxVersion>4.0.*</em:maxVersion>
    to
    <em:maxVersion>6.0.*</em:maxVersion>

  6. Save the file, overwrite the existing install.rdf.
  7. Rezip all files you extracted in step 2 and name it {582195F5-92E7-40a0-A127-DB71295901D7}.xpi
  8. Replace the old {582195F5-92E7-40a0-A127-DB71295901D7}.xpi for the 1 you just adjusted and restart FireFox

修改內容,如下:

if (this.isHosted)
{
this._loginURL = "https://www.google.com/a/" + this.domain + "/LoginAction2";
this._checkURL = "https://mail.google.com/a/" + this.domain + "/?";
this._atomURL = "https://mail.google.com/a/" + this.domain + "/feed/atom/";
}
else
{
this._loginURL = "https://accounts.google.com/ServiceLoginAuth";
this._checkURL = "https://mail.google.com/mail/?";
this._atomURL = "https://mail.google.com/mail/feed/atom/";
}

【參考資料】
GMail Manager 0.6.4.1 for Firefox 6 Stops Working
Firefox 附加元件:Gmail Manager

沒有上一則|日誌首頁|沒有下一則
回應
關鍵字
    沒有新回應!





Powered by Xuite
我的最愛
推薦好站