morphis wrote:Anyone having clue of why this happens and how to solve it, please post on this thread. Your help is appreciated.
Code: Select all
...
var forceAsURL = GoodStart.test(uri) && HasDots.test(uri) && (!HasSpace.test(uri));
if(forceAsURL) { //force it to a url
if (/([^\/]+\.xpi)$/.test(uri)) {
eval("InstallTrigger.install({ '" + RegExp.$1 + "' : uri })");
}
else {
var newTab = getBrowser().addTab(uri);
if (!gPrefService.getBoolPref("browser.tabs.loadInBackground")) {
getBrowser().selectedTab = newTab;
}
}
}
...
Shelumi`El
Jordan
S.D.G