PK
D8 chrome.manifestcontent retrofind content/
locale retrofind en-US locale/en-US/
skin retrofind classic skin/classic/
overlay chrome://browser/content/browser.xul chrome://retrofind/content/retrofind_browser_overlay.xul
style chrome://browser/content/browser.xul chrome://retrofind/content/retrofind_browser_xbl.css
overlay chrome://global/content/viewSource.xul chrome://retrofind/content/retrofind_viewsource_overlay.xul
style chrome://global/content/viewSource.xul chrome://retrofind/content/retrofind_viewsource_xbl.css
overlay chrome://global/content/finddialog.xul chrome://retrofind/content/retrofind_finddialog_overlay.xul
style chrome://global/content/finddialog.xul chrome://retrofind/content/retrofind_finddialog.cssPK
z8 content/PK
{8쪑u u % content/retrofind_browser_overlay.xul
PK
|8q ! content/retrofind_browser_xbl.cssbrowser { -moz-binding: url("chrome://retrofind/content/retrofind_old_browser.xml#browser") }
tabbrowser { -moz-binding: url("chrome://retrofind/content/retrofind_old_tabbrowser.xml#tabbrowser") }
PK
|8,. content/retrofind_finddialog.css.message-icon { list-style-image: url(chrome://global/skin/icons/notfound.png) }
.alert-icon { list-style-image: url(chrome://global/skin/icons/Warning.png) }
PK
|8t content/retrofind_finddialog.js// Find Statusbar
var findstatusbar, prefs, attrib, icon, inputbox, wasfound, notfound, findstatus = {
onload: function () {
window.alert = findstatus.alert;
var defaultInterface;
var findDialog = document.getElementById("findDialog");
findDialog.setAttribute("ondialogaccept", "return findstatus.onfind();");
icon = document.getElementById("icon");
prefs = Components.classes["@mozilla.org/preferences-service;1"]
.getService(Components.interfaces.nsIPrefService).getBranch("extensions.retrofind.");
if (prefs.prefHasUserValue("useDefaultInterface"))
defaultInterface = prefs.getBoolPref("useDefaultInterface");
else
defaultInterface = true;
if (defaultInterface == true) {
attrib = "value";
var groupbox = document.getElementById("default");
groupbox.setAttribute("hidden", "false");
findstatusbar = document.getElementById("default_label");
findstatusbar.setAttribute("id", "find-status");
}
else {
attrib = "label";
findstatusbar = document.getElementById("lite");
findstatusbar.setAttribute("id", "find-status");
findstatusbar.setAttribute("hidden", "false");
}
findstatusbar = document.getElementById("find-status");
findstatusbar.setAttribute(attrib, " ");
inputbox = document.getElementById("dialog.findKey");
var bundle = document.getElementById("findStatusBundle");
wasfound = bundle.getString("wasFound");
notfound = bundle.getString("notFound");
window.sizeToContent();
},
alert: function () {
findstatusbar.setAttribute(attrib, "\"" + inputbox.value + "\" " + notfound);
icon.setAttribute("class","alert-icon");
},
onfind: function () {
findstatusbar.setAttribute(attrib, "\"" + inputbox.value + "\" " + wasfound);
icon.setAttribute("class", "message-icon");
onAccept();
return false;
}
}
window.addEventListener('load', findstatus.onload, true);
// Elephant Find Wrap
const efwPrefs = Components.classes['@mozilla.org/preferences-service;1']
.getService(Components.interfaces.nsIPrefBranch);
// overload this function so it DOES set the wrap state
function fillDialog() {
var fServ = Components.classes["@mozilla.org/find/find_service;1"]
.getService(Components.interfaces.nsIFindService);
// why isn't this defined by the time we're here???
// hmmm....do it ourself
dialog.wrapFind = document.getElementById('dialog.wrap');
dialog.findKey.value = (gFindInst.searchString
? gFindInst.searchString
: fServ.searchString);
dialog.caseSensitive.checked = (gFindInst.matchCase
? gFindInst.matchCase
: fServ.matchCase);
// -------- DO initialize Wrap here --------
dialog.wrapFind.checked = (gFindInst.wrapFind
? gFindInst.wrapFind
: fServ.wrapFind);
// -----------------------------------------
var findBackwards = (gFindInst.findBackwards
? gFindInst.findBackwards
: fServ.findBackwards);
if (findBackwards)
dialog.rg.selectedItem = dialog.up;
else
dialog.rg.selectedItem = dialog.down;
}
function saveState() {
if (gFindInst)
gFindInst.wrapFind = dialog.wrapFind.checked;
saveFindData();
efwPrefs.setBoolPref('extensions.retrofind.wrap_on', dialog.wrapFind.checked);
}
function listenUp() {
window.removeEventListener('load', listenUp, false);
var dw = document.getElementById('dialog.wrap');
dw.addEventListener('command', saveState, true);
try {
dw.checked = efwPrefs.getBoolPref('extensions.retrofind.wrap_on');
}
catch(e) {
dw.checked = true;
}
}
window.addEventListener('load', listenUp, true);PK
g|8QF F ( content/retrofind_finddialog_overlay.xul
PK
|8⡬ ! content/retrofind_old_browser.xml
PK
|8A $ content/retrofind_old_tabbrowser.xml
null
PK
8 $ content/retrofind_old_viewsource.xml
null
PK
A|8_ss s content/retrofind_settings.jsvar radio, prefs, retrofindsettings = {
onload: function() {
prefs = Components.classes["@mozilla.org/preferences-service;1"].
getService(Components.interfaces.nsIPrefService).getBranch("extensions.retrofind.");
radio = document.getElementById("defaultinterface");
var select;
if (prefs.prefHasUserValue("useDefaultInterface"))
select = prefs.getBoolPref("useDefaultInterface");
else
select = true;
if (select == true) {
radio.firstChild.setAttribute("selected", true);
radio.lastChild.setAttribute("selected", false);
}
else {
radio.firstChild.setAttribute("selected", false);
radio.lastChild.setAttribute("selected", true);
}
},
onaccept: function() {
if (radio.selectedItem.value == "true")
prefs.setBoolPref("useDefaultInterface", true);
else
prefs.setBoolPref("useDefaultInterface", false);
}
}PK
,I2[ʤ content/retrofind_settings.xul
PK
A8)M M ( content/retrofind_viewsource_overlay.xul
PK
8J $ content/retrofind_viewsource_xbl.css#content { -moz-binding: url("chrome://retrofind/content/retrofind_old_viewsource.xml#browser") }
#FindToolbar { display: none !important }
PK
A8H install.rdf
ausdilecce
Ben Basson (Cusser)
Jordan Callicoat
Unarmed
Replace the find toolbar with the old find dialog and add a status bar
chrome://retrofind/skin/retrofind.png
{832b72e7-7368-4ba3-931d-a242e3dd18f2}
Retro Find
chrome://retrofind/content/retrofind_settings.xul
2
2.2
{ec8030f7-c20a-464f-9b0e-13a3a9e97384}
3.0pre
3.0.*
PK
{8 locale/PK
{8
locale/en-US/PK
I2]hd d locale/en-US/contents.rdf
PK
I2P?se e locale/en-US/retrofind.dtd
PK
]01B, , ! locale/en-US/retrofind.propertiesnotFound=was not found.
wasFound=was found.PK
{8 skin/PK
{8
skin/classic/PK
H2 skin/classic/contents.rdf
PK
H2 skin/classic/retrofind.pngPNG
IHDR gAMA 7 tEXtSoftware Adobe ImageReadyqe<