Bug 225490 - netscape search plugin no longer functioning.

patch by timeless, r=caillon, sr=alecf, a=tor
This commit is contained in:
tor%cs.brown.edu 2003-12-04 20:50:25 +00:00
parent 1c8b8e88e5
commit d552b72591
5 changed files with 3 additions and 54 deletions

View File

@ -53,9 +53,9 @@
<RDF:Seq about="NC:SearchCategory?category=urn:search:category:1">
<RDF:li resource="NC:SearchCategory?engine=urn:search:engine:NetscapeSearch.src" />
<RDF:li resource="NC:SearchCategory?engine=urn:search:engine:google.src" />
<RDF:li resource="NC:SearchCategory?engine=urn:search:engine:dmoz.src" />
<RDF:li resource="NC:SearchCategory?engine=urn:search:engine:dmoz.src" />
<RDF:li resource="NC:SearchCategory?engine=urn:search:engine:jeeves.src" />
</RDF:Seq>
<RDF:Seq about="NC:SearchCategory?category=urn:search:category:2">

View File

@ -43,8 +43,6 @@ FILES = \
lxrmozilla.src \
mozilla.gif \
mozilla.src \
NetscapeSearch.gif \
NetscapeSearch.src \
$(NULL)
endif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 250 B

View File

@ -1,49 +0,0 @@
# Netscape Search Sherlock for Netscape 6
# Copyright (c) 2000 Netscape Communications Corp.
#
# The BROWSER alsomatch= tags must be there or the GIF will not update!
#
<SEARCH
name = "Netscape Search"
description = "Netscape Search"
routeType = "Internet"
method = "GET"
action = "http://info.netscape.com/fwd/clk61srsid/http://search.netscape.com/search.psp"
actionButton = "http://info.netscape.com/fwd/clk61srurl1/http://search.netscape.com/search.psp?search="
actionBar = "http://info.netscape.com/fwd/clk61srurl2/http://search.netscape.com/search.psp?search="
searchForm = "http://search.netscape.com/nscp_index.adp"
>
<INPUT NAME="search" USER>
# Search Results
<INTERPRET
charset = "ISO-8859-1"
browserResultType = "result"
bannerStart = "<!-- START: AOL BANNER AD -->"
bannerEnd = "<!-- END: AOL BANNER AD -->"
resultListStart = "<!-- BEGIN SEARCH RESULTS-->"
resultListEnd = "<!-- END SEARCH RESULTS -->"
resultItemStart = "<li>"
resultItemEnd = "<br>"
relevanceStart = ""
relevanceEnd = ""
resultItemSiteTag = ""
>
</SEARCH>
<BROWSER
alsomatch="http://search.netscape.com/search.psp http://search.netscape.com/cgi-bin/search http://search.netscape.com/search.tmpl http://search.netscape.com/google.tmpl"
update = "http://search.netscape.com/sherlock/SBWeb_01.src"
updateIcon = "http://search.netscape.com/sherlock/SBWeb_01.gif"
updateCheckDays = "1"
>

View File

@ -717,7 +717,7 @@ function onNavWindowLoad() {
for (var i = 0; i < engineBox.childNodes.length; ++i) {
itemNode = engineBox.childNodes[i];
var theID = itemNode.id;
if (theID.indexOf("NetscapeSearch.src") != -1) {
if (theID.indexOf("google.src") != -1) {
engineURIs[engineURIs.length] = theID;
foundEngine = true;
break;