K-Meleon
KMeleonWiki > Documentation > TipsAndTricks > SingleWindow
You can set up K-Meleon to force all new windows into tabs instead. This setup will also prevent pages from changing the window size or hiding user interface elements.
The technique involves modifying user.js. The user.js file is an advanced way of modifying preferences. You can carry this file over to other installations of K-Meleon. You can even use the file in other browsers like Firefox, SeaMonkey, Pale Moon, New Moon, and Mypal. Changes made in user.js override changes made in about:config.
To change the settings:
/* SINGLE WINDOW MODE */ user_pref("dom.disable_window_flip", true); user_pref("dom.disable_window_move_resize", true); user_pref("dom.disable_window_open_feature.*", true); user_pref("dom.disable_window_open_feature.minimizable", true); user_pref("dom.disable_window_open_feature.titlebar", true); user_pref("dom.disable_window_open_feature.close", true); user_pref("dom.disable_window_open_feature.toolbar", true); user_pref("dom.disable_window_open_feature.location", true); user_pref("dom.disable_window_open_feature.directories", true); user_pref("dom.disable_window_open_feature.personalbar", true); user_pref("dom.disable_window_open_feature.menubar", true); user_pref("dom.disable_window_open_feature.scrollbars", true); user_pref("dom.disable_window_open_feature.resizable", true); user_pref("dom.disable_window_open_feature.status", true); user_pref("dom.disable_window_status_change", true); user_pref("kmeleon.tabs.onCloseOption", false); user_pref("kmeleon.tabs.onOpenOption", true); user_pref("browser.link.open_newwindow", 3); user_pref("browser.link.open_newwindow.restriction", 0);