MozTW 討論區
https://forum.moztw.org/

JavaScript開啟的新視窗開在分頁
https://forum.moztw.org/viewtopic.php?f=11&t=12134
1 頁 (共 1 頁)

發表人:  Velociraptor [ 2005-12-24, 12:37 ]
文章主題 :  JavaScript開啟的新視窗開在分頁

除了TMP類的分頁瀏覽套件之外
還有別的方法嗎
(因為裡面很多功能和TabFX重複,想精簡一點)

發表人:  why [ 2005-12-24, 13:55 ]
文章主題 : 

http://kb.mozillazine.org/About:config_entries

browser.link.open_newwindow.restriction

Firefox only. Source: The Burning Edge.
0: 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): 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.

Caveats:
browser.link.open_newwindow must be set to 3 (redirect links opening in new windows to tabs) for this preference to have an effect.

1 頁 (共 1 頁) 所有顯示的時間為 UTC + 8 小時
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/