[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