Posts with the tag 'firefox'

[FF] Open links in new tabs

之前把開新視窗的選項都改成開在新分頁,不過似乎在升級到 FF3 之後就失效了,想說會不會是改到哪邊的設定,不過也順著用下來。

最近接連重灌了家裡和實驗室的電腦,想說順便尋找為什麼之前的設定不行,發現選項已經不適用了,再找找新的設定,發現 browser.link.open_newwindow 和 browser.link.open_newwindow.restriction,詳細的項目可參考 About:config entries

browser.link.open_newwindow (可以從工具->選項->分頁中更改)

Where to open links that would normally open in a new window
2 (default in SeaMonkey and Firefox 1.5): In a new window
3 (default in Firefox 2 and above): In a new tab
1 (or anything else): In the current tab or window

browser.link.open_newwindow.restriction

0 (Default in Firefox 1.0.x and SeaMonkey): Force all new windows opened by JavaScript into tabs.
1: Let all windows opened by JavaScript open in new windows. (Default behavior in IE.)
2 (Default in Firefox 1.5 and above): Catch new windows opened by JavaScript that do not have specific values set (how large the window should be, whether it should have a status bar, etc.) This is useful because some popups are legitimate — it really is useful to be able to see both the popup and the original window at the same time. However, most advertising popups also open in new windows with values set, so beware.

因為不喜歡開新視窗就強制所有都開在分頁,不過請記得搭配使用不允許 javascript 更改視窗大小,不然登入博客來時就會變超小的視窗 :P

Add comment August 25th, 2008

Firefox 2.0 Tabbed Browsing

實驗室的電腦掛了,趁著重灌系統,把新的 Firefox 2.0RC2 (今天已經是 RC3 ) 裝了起來,雖說已經加強了 Tab 的功能處理,但是還是很不習慣每個 Tab 都有關閉按鈕。習慣開一堆後慢慢看,每次都要找是哪個分頁,然後才關閉,我知道有快速鍵可以幫忙關,但是懶惰阿! 在家裏都用滑鼠設快速鍵,關閉只要用滑鼠 :P

不過每個分頁都有關閉,畫面上也會亂亂的,簡單來說俺就是龜毛阿,之前 FF1.5 用 TMP 設成只有一個關閉紐,所以找了找有沒有 Extension 可以作這件事,後來發現在 No Tab Close Button 的回應中看到,只要在 about:config 中把 browser.tabs.closeButtons 的值設成 2 就可以了,另外查了一下資料

Possible values and their effects
0 Display a close button on the active tab only
1 Display close buttons on all tabs
2 Don’t display any close buttons
3 Display a single close button at the end of the tab strip (Firefox 1.x behavior)

所以現在又改回去 FF 1.x 版的樣式,不過還是把 TMP 裝了回去,習慣使用強制開新分頁和恢復關閉分頁的功能(關閉分頁倒是有其他的 Extension 可以作用)。不過在寫這篇 blog 的時候看到了這個,順手把 browser.tabs.opentabfor.windowopen = true 加上去,目前看起來似乎都和之前的使用習慣差不多,FF 2.0 分頁功能已經符合基本需求了,所以先把 TMP 停用,看看狀況後再來作決定。

倒是 FF RC2 用了幾天沒當過,今天更新了 FF RC3,看有 Java 的網頁似乎會當掉,上班果然不能看不該看的網站。

Add comment October 17th, 2006


Recent Posts

Recent Comments

Categories

Archives

Meta