Closed
Bug 318560
Opened 19 years ago
Closed 19 years ago
replace javascript on Firefox Central to point to locally hosted searchplugins
Categories
(www.mozilla.org :: General, defect)
www.mozilla.org
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: beltzner, Unassigned)
References
()
Details
(Whiteboard: [mozilla.com])
Replace the addEngines function on www.mozilla.com/firefox/central to point to the searchPlugins that are locally hosted on AMO. This is the new code that should be used. function addEngine(name,ext,cat,type) { if ((typeof window.sidebar == "object") && (typeof window.sidebar.addSearchEngine == "function")) { window.sidebar.addSearchEngine( "http://addons.mozilla.org/search-engines-static/"+name+".src", "http://addons.mozilla.org/search-engines-static/"+name+"."+ext, name, cat ); } else { errorMsg(name,ext,cat); } }
Comment 1•19 years ago
|
||
thanks Mike
Comment 2•19 years ago
|
||
*** Bug 318562 has been marked as a duplicate of this bug. ***
Comment 3•19 years ago
|
||
don't change these? http://mycroft.mozdev.org/judge.php?... http://mycroft.mozdev.org/error.html "http://mycroft.mozdev.org/plugins/"
Comment 4•19 years ago
|
||
function judgePopUp(id,type) can go entirely and function errorMsg(name,ext,cat) { alert("Netscape 6 or Mozilla is needed to install a sherlock plugin"); } would be fine (though might be better updated ;) ) function addEngine(name,ext,cat,type) is correct in the opening comment
Comment 5•19 years ago
|
||
I've checked in the changes to addEngine() and removed judgePopUp() Please test.
Status: NEW → ASSIGNED
Comment 6•19 years ago
|
||
looks fine to me and installed all 4 satisfactorily you could edit the errorMsg() function as described in comment #4 but I wouldn't worry about it too much.
Reporter | ||
Updated•19 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Whiteboard: [mozilla.com]
Comment 7•19 years ago
|
||
*** Bug 259863 has been marked as a duplicate of this bug. ***
Updated•16 years ago
|
Product: mozilla.org → Websites
Updated•12 years ago
|
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in
before you can comment on or make changes to this bug.
Description
•