General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
New layer in background
Posted by: ricardomatosr
Date: May 06, 2007 02:50PM

Hello, i'd like to know how i could open the urls from external applications in a new layer in background, i've added all this commands:

// Open links from external apps into a new tab
// (Firefox 1.0 builds have a UI for this pref in the Options dialog)
// (May not work quite right in 1.8a Suite builds on Windows)
user_pref("browser.link.open_external", 3);
// Force new windows into tabs
// (Firefox 1.0+ builds have a UI for this pref in the Options dialog)
user_pref("browser.link.open_newwindow", 3);
// Make the above pref apply only to targeted links, not window.open
user_pref("browser.link.open_newwindow.restriction", 1);
// Don't focus new tabs opened by left-click or external URL
user_pref("browser.tabs.loadDivertedInBackground", true);
// Don't focus new tabs opened by middle-click or ctrl-click
// (All recent Firefox and Suite builds have a UI for this pref)
user_pref("browser.tabs.loadInBackground", true);
to user.js, but the new layers still get the focus...

Thank's in advance
Best regards
Ricardo

Options: ReplyQuote


K-Meleon forum is powered by Phorum.