1
edit
Changes
→FAQ
The Function "LoadURL" loads a URL in the Browser window:
function LoadURL(URL) {
window._content.document.location = URL;
window.content.focus();
}
Is it possible to open the URL in a new tab?
Answer:
var tab = getBrowser().addTab( url );
// And if you want it to load in foreground: getBrowser().selectedTab = tab;
-----