2008-07-29

Firefox 選單背景

之前使用這樣一段 CSS code 來改變選單背景,

menupopup, popup {
background-image:url("fx_popup.jpg") !important;
background-position:left top !important;
background-repeat:no-repeat !important;
background-attachment:scroll !important;
}
menupopup>menu[_moz-menuactive="true"], menupopup>menuitem[_moz-menuactive="true"],
popup>menu[_moz-menuactive="true"], popup>menuitem[_moz-menuactive="true"] {
background-color:#000 !important;
color:#fff !important;
}

不過到了 3.0 版好像失效了,因為 WinXP 中沒有效果,而 Win2K 下有效果,多方詢問終於有了解答,「由於 XP 以後,以及 Linux 都有自己的主題風格,Firefox 會引用 OS 的風格,所以 CSS 對於 OS 物件無效, 您可以加入 -moz-appearance:none; 告訴 Firefox 不要使用 OS 風格。

感謝來自 Racklin's 阿土伯程式大觀園的協助。
詳細資料 http://developer.mozilla.org/en/docs/CSS:-moz-appearance

以下是比較完整的寫法:

popup:not(#autoscroller), menupopup {
background-image:url("chrome://fxtools/skin/fx_popup.jpg") !important;
background-color:#fff !important;
background-position:center center !important;
background-repeat:no-repeat !important;
background-attachment:scroll !important;
color:#000 !important;
-moz-appearance:none;
}
menubar > menu, menupopup > menu, popup > menu, menuitem,
toolbarbutton, popup:not(#autoscroller) {
color:#000 !important;
}
#contentAreaContextMenu menuitem[disabled="true"],
#contentAreaContextMenu menuitem[disabled="true"] + menuseparator,
menuitem[disabled="true"] {
color:#aaa !important;
}
menupopup>menu[_moz-menuactive="true"], menupopup>menuitem[_moz-menuactive="true"],
popup>menu[_moz-menuactive="true"], popup>menuitem[_moz-menuactive="true"] {
background-color:#000 !important;
color:#fff !important;
}

2008-07-17

Fixed in Firefox 3.0.1

Firefox 3 釋出功能與安全性更新版。

Release Date:
July 16, 2008
Security Update:
  • MFSA 2008-36 Crash with malformed GIF file on Mac OS X
  • MFSA 2008-35 Command-line URLs launch multiple tabs when Firefox not running
  • MFSA 2008-34 Remote code execution by overflowing CSS reference counter
  • Fixed several stability issues.
  • Fixed an issue where the phishing and malware database did not update on first launch.
  • Under certain circumstances, Firefox 3.0 did not properly save the SSL certificate exceptions list.
  • Updated the internal Public Suffix list.
  • In certain cases, installing Firefox 2 in the same directory in which Firefox 3 has been installed resulted in Firefox 2 being unstable. This issue was fixed as part of Firefox 2.0.0.15.
  • Fixed an issue where, when printing a selected region of content from the middle of a page, some of the output was missing (bug 433373).
  • Fixed a Linux issues where, for users on a PPP connection (dialup or DSL) Firefox always started in "Offline" mode (bug 424626).
20080717 Update:
不知道該不該向 ISP 反應,Firefox 又開始抓住連線不放了,名氣一大,開發人員可能有點飄飄然,下載首日的 BUG 遲了一個月才修正,也許下次得等上一季了。
20080718 Update:
對 Unicode 的支援度變差了,在使用 Google 搜尋時,結果列表常出現一堆看不懂的方形符號,以往 2.0.0.14 版不會有這樣的狀況,目前還不知道要如何解決。
20080718 Update:
連線問題更嚴重了,目前已無法登入 Hotmail,不清楚是 Microsoft 還是 Firefox 那一邊出問題。
20080719 Update:
這版本跟智邦特別不合,若不是連線要很久才能連上,就是直接說無法連線。
20080729 Update:
用圖片當作選單背景,在 Win2K 的系統下可以,在 WinXP 下不行,不知跟 WinXP 的 SP3 有沒有關係?

2008-06-19

Firefox 3.0

正式版本終於現身了,安裝了以後其實跟 Firefox 2.0 並有多大的分別,也許穩定些(這是別人說的),就我自己使用而言,大部分的套件都掛點了,順利升級到 3.0 的套件中,有許多地方都沒有 2.0 時的方便。

要不要升級就自己評估吧!

update: 2008-06-23
這版 Firefox 將給你前所未有的體驗,第一次感覺到原來 Browser 對 HardDisk 的 I/O 次數竟如此頻繁。
使用這版 Firefox 上網時,背景程式千萬別在大檔案上作業,不論是複製、搬移或是轉檔,那會讓你誤以為 ISP 掛了。

2008-05-25

更新到 3.0 rc1

本次的更新後,多數的套件都無法使用,唯一存活的是先前早一步更新版本的 flashgot,現階段最需要的是 sage 及 Tab Mix Lite,後者早已換手開發許久,不過因為不喜歡風格的改變,只能想其它辦法。

有些套件其實改一下許可版號就可用了,雖然沒嚴謹測試。

PS: 上面的表列尚未更新。

Update: 2008-05-28
用這個版本到樂多日誌去登入,等了幾分鐘仍然沒有進到管理介面中,還是只能用登入 google blogger 的老偏方,中斷一下再重新登入。
AJAX 果然是 Firefox 的痛腳(除去記憶體的過度使用外)。
滑鼠飄移也是個老問題,似乎跟 Javascript 的解析過程有關,在網頁 javascript 載入時特別容易發生。
Update: 2008-05-28
就在剛才,在 moztw 論壇看文,莫名奇妙就連不上了,看來這個 rc1 版本跟先前 2.0.0.XX 的短命修正版一樣,有著嚴重的先天問題。

2008-05-05

Fixed in Firefox 2.0.0.14

Firefox 2 釋出功能與安全性更新版。

Release Date:
April 16, 2008
Security Update:
Update 20080512:
偉大的 Firefox 又開始擺爛了,抓住連線不放的情況更加嚴重了,論壇上有人說這些連線是無害的,但這些連線都已經影響到其它的正常網頁連線速度,怎麼會是無害的呢?