Changes

Jump to: navigation, search

Mozilla.dev.extensions

6 bytes added, 11:58, 6 October 2006
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;
-----
1
edit

Navigation menu