home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2011 November
/
CHIP_2011_11.iso
/
Programy
/
Narzedzia
/
AIMP2
/
aimp_2.61.583.exe
/
$TEMP
/
YandexPackSetup.msi
/
fil280461EE42F22769C97DB5F3477747B0
< prev
next >
Wrap
Text File
|
2010-07-12
|
771b
|
24 lines
var YaBookmarksRegRequired = {
nsIYaSearch: Components.classes["@yandex.ru/yasearch;1"].getService(Components.interfaces.nsIYaSearch).wrappedJSObject,
getString: function(aStr) {
return this.nsIYaSearch.yaBookmarks.getString(aStr);
},
onDialogLoad: function() {
document.title = this.getString("Error_reg_required_Title");
document.getElementById("regrequired-text").innerHTML = this.getString("Error_reg_required_Message");
},
handleWindowClick: function(aEvent) {
var targetHref = aEvent.originalTarget.getAttribute("href");
if (!targetHref)
return true;
setTimeout(function() {
document.documentElement.cancelDialog();
}, 2);
return !this.nsIYaSearch.loadURI(targetHref, "tab");
}
}