* Replace "MSN" with "Bing" engine.
This commit is contained in:
Anthony Lieuallen 2009-09-06 19:08:02 +00:00
parent 6b241c5251
commit 1407452985
27 changed files with 37 additions and 35 deletions

View file

@ -395,8 +395,8 @@
image='chrome://resurrect/skin/cacheicons/archive.png'
/>
<xul:button
value='msn' label=' &resurrect.msn;'
image='chrome://resurrect/skin/cacheicons/msn.png'
value='bing' label=' &resurrect.bing;'
image='chrome://resurrect/skin/cacheicons/bing.png'
/>
<xul:button
value='gigablast' label=' &resurrect.gigablast;'

View file

@ -53,8 +53,8 @@ window.addEventListener('load', resurrect.loadTarget, false);
image='chrome://resurrect/skin/cacheicons/archive.png'
/>
<xul:button
value='msn' label=' &resurrect.msn;'
image='chrome://resurrect/skin/cacheicons/msn.png'
value='bing' label=' &resurrect.bing;'
image='chrome://resurrect/skin/cacheicons/bing.png'
/>
<xul:button
value='gigablast' label=' &resurrect.gigablast;'

View file

@ -169,20 +169,22 @@ var resurrect={
}
break;
case 'msn':
var soapBody='<?xml version="1.0" encoding="ISO-8859-1"?><SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:si="http://soapinterop.org/xsd"><SOAP-ENV:Body><ns1:Search xmlns:ns1="http://testuri.org"><Request><AppID xsi:type="xsd:string">FD382E93B5ABC456C5E34C238A906CAB2DEEB5D6</AppID><Query xsi:type="xsd:string">url:'+xmlUrl+'</Query><CultureInfo xsi:type="xsd:string">en-US</CultureInfo><SafeSearch xsi:type="xsd:string">Off</SafeSearch><Requests><SourceRequest><Source xsi:type="xsd:string">Web</Source><Offset xsi:type="xsd:int">0</Offset><Count xsi:type="xsd:int">1</Count><ResultFields xsi:type="xsd:string">All</ResultFields></SourceRequest></Requests></Request></ns1:Search></SOAP-ENV:Body></SOAP-ENV:Envelope>';
case 'bing':
var xhr=new XMLHttpRequest();
xhr.open('POST', 'http://soap.search.msn.com/webservices.asmx', false);
xhr.setRequestHeader('Content-Type', 'text/xml; charset=ISO-8859-1');
xhr.setRequestHeader('SOAPAction', '""');
xhr.send(soapBody);
xhr.open('GET',
'http://api.search.live.net/xml.aspx'+
'?AppId=FD382E93B5ABC456C5E34C238A906CAB1E6F9875'+
'&Query=url:'+encUrl+
'&Sources=web&Web.Count=1',
false
);
xhr.send(null);
try {
var c=xhr.responseXML.getElementsByTagName('CacheUrl');
var c=xhr.responseXML.getElementsByTagName('web:CacheUrl');
gotoUrl=c[0].textContent;
} catch (e) {
gotoUrl='http://search.msn.com/results.aspx?q=url:'+encUrl;
gotoUrl='http://www.bing.com/search?q=url:'+encUrl;
}
break;

View file

@ -9,7 +9,7 @@
<!ENTITY resurrect.textonly "(només text)">
<!ENTITY resurrect.yahoo "Yahoo! Cache">
<!ENTITY resurrect.archive "The Internet Archive">
<!ENTITY resurrect.msn "MSN Cache">
<!ENTITY resurrect.bing "Bing">
<!ENTITY resurrect.gigablast "Gigablast">
<!ENTITY resurrect.webcitation "WebCite">
<!ENTITY resurrect.inCurrTab "En la pestanya/finestra actual">

View file

@ -9,7 +9,7 @@
<!ENTITY resurrect.textonly "(kun tekst)">
<!ENTITY resurrect.yahoo "Yahoo! Cache">
<!ENTITY resurrect.archive "The Internet Archive">
<!ENTITY resurrect.msn "MSN Cache">
<!ENTITY resurrect.bing "Bing">
<!ENTITY resurrect.gigablast "Gigablast">
<!ENTITY resurrect.webcitation "WebCite">
<!ENTITY resurrect.inCurrTab "I nuværende faneblad/vindue">

View file

@ -9,7 +9,7 @@
<!ENTITY resurrect.textonly "(Nur Text)">
<!ENTITY resurrect.yahoo "Yahoo!">
<!ENTITY resurrect.archive "The Internet Archive">
<!ENTITY resurrect.msn "Live Seach (MSN)">
<!ENTITY resurrect.bing "Bing">
<!ENTITY resurrect.gigablast "Gigablast">
<!ENTITY resurrect.webcitation "WebCite">
<!ENTITY resurrect.inCurrTab "In aktuellem Tab/Fenster">

View file

@ -9,7 +9,7 @@
<!ENTITY resurrect.textonly "(μόνο κείμενο)">
<!ENTITY resurrect.yahoo "Yahoo! Cache">
<!ENTITY resurrect.archive "The Internet Archive">
<!ENTITY resurrect.msn "MSN Cache">
<!ENTITY resurrect.bing "Bing">
<!ENTITY resurrect.gigablast "Gigablast">
<!ENTITY resurrect.webcitation "WebCite">
<!ENTITY resurrect.inCurrTab "Στην τρέχουσα καρτέλα/παράθυρο">

View file

@ -9,7 +9,7 @@
<!ENTITY resurrect.textonly " (text only)">
<!ENTITY resurrect.yahoo "Yahoo!">
<!ENTITY resurrect.archive "The Internet Archive">
<!ENTITY resurrect.msn "Live Search (MSN)">
<!ENTITY resurrect.bing "Bing">
<!ENTITY resurrect.gigablast "Gigablast">
<!ENTITY resurrect.webcitation "WebCite">
<!ENTITY resurrect.inCurrTab "In the current tab/window">

View file

@ -9,7 +9,7 @@
<!ENTITY resurrect.textonly "(solo texto)">
<!ENTITY resurrect.yahoo "Cache de Yahoo!">
<!ENTITY resurrect.archive "El Archivo de Internet">
<!ENTITY resurrect.msn "Cache de MSN">
<!ENTITY resurrect.bing "Bing">
<!ENTITY resurrect.gigablast "Gigablast">
<!ENTITY resurrect.webcitation "WebCite">
<!ENTITY resurrect.inCurrTab "En la actual ventana/pestaña">

View file

@ -9,7 +9,7 @@
<!ENTITY resurrect.textonly "(solo texto)">
<!ENTITY resurrect.yahoo "Cache de Yahoo!">
<!ENTITY resurrect.archive "El Archivo de Internet">
<!ENTITY resurrect.msn "Cache de MSN">
<!ENTITY resurrect.bing "Bing">
<!ENTITY resurrect.gigablast "Gigablast">
<!ENTITY resurrect.webcitation "WebCite">
<!ENTITY resurrect.inCurrTab "En la actual ventana/pestaña">

View file

@ -9,7 +9,7 @@
<!ENTITY resurrect.textonly "(sólo texto)">
<!ENTITY resurrect.yahoo "Caché de Yahoo!">
<!ENTITY resurrect.archive "The Internet Archive">
<!ENTITY resurrect.msn "Caché de MSN">
<!ENTITY resurrect.bing "Bing">
<!ENTITY resurrect.gigablast "Gigablast">
<!ENTITY resurrect.webcitation "WebCite">
<!ENTITY resurrect.inCurrTab "En la pestaña/ventana actual">

View file

@ -9,7 +9,7 @@
<!ENTITY resurrect.textonly "(vain teksti)">
<!ENTITY resurrect.yahoo "Yahoo! välimuisti">
<!ENTITY resurrect.archive "The Internet Archive">
<!ENTITY resurrect.msn "MSN välimuisti">
<!ENTITY resurrect.bing "Bing">
<!ENTITY resurrect.gigablast "Gigablast">
<!ENTITY resurrect.webcitation "WebCite">
<!ENTITY resurrect.inCurrTab "Nykyiseen välilehteen/ikkunaan">

View file

@ -9,7 +9,7 @@
<!ENTITY resurrect.textonly "(texte seulement)">
<!ENTITY resurrect.yahoo "Cache Yahoo!">
<!ENTITY resurrect.archive "Archive internet">
<!ENTITY resurrect.msn "Cache MSN">
<!ENTITY resurrect.bing "Bing">
<!ENTITY resurrect.gigablast "Gogablast">
<!ENTITY resurrect.webcitation "WebCite">
<!ENTITY resurrect.inCurrTab "dans l&apos;onglet/la fenêtre courant(e)">

View file

@ -9,7 +9,7 @@
<!ENTITY resurrect.textonly "(samo tekst)">
<!ENTITY resurrect.yahoo "Yahoo! privremeni spremnik">
<!ENTITY resurrect.archive "The Internet Archive">
<!ENTITY resurrect.msn "MSN privremeni spremnik">
<!ENTITY resurrect.bing "Bing">
<!ENTITY resurrect.gigablast "Gigablast">
<!ENTITY resurrect.webcitation "WebCite">
<!ENTITY resurrect.inCurrTab "U trenutnoj kartici/prozoru">

View file

@ -9,7 +9,7 @@
<!ENTITY resurrect.textonly " (solo testo)">
<!ENTITY resurrect.yahoo "Yahoo! Cache">
<!ENTITY resurrect.archive "Internet Archive">
<!ENTITY resurrect.msn "MSN Cache">
<!ENTITY resurrect.bing "Bing">
<!ENTITY resurrect.gigablast "Gigablast">
<!ENTITY resurrect.webcitation "WebCite">
<!ENTITY resurrect.inCurrTab "nella scheda/finestra attuale">

View file

@ -9,7 +9,7 @@
<!ENTITY resurrect.textonly "(テキストのみ)">
<!ENTITY resurrect.yahoo "Yahoo!">
<!ENTITY resurrect.archive "The Internet Archive">
<!ENTITY resurrect.msn "Live Search (MSN)">
<!ENTITY resurrect.bing "Bing">
<!ENTITY resurrect.gigablast "Gigablast">
<!ENTITY resurrect.webcitation "WebCite">
<!ENTITY resurrect.inCurrTab "現在のタブ・ウィンドウ">

View file

@ -9,7 +9,7 @@
<!ENTITY resurrect.textonly "(본문 만)">
<!ENTITY resurrect.yahoo "Yahoo! 캐쉬">
<!ENTITY resurrect.archive "인터넷 아카이브">
<!ENTITY resurrect.msn "MSN 캐쉬">
<!ENTITY resurrect.bing "Bing">
<!ENTITY resurrect.gigablast "Gigablast">
<!ENTITY resurrect.webcitation "WebCite">
<!ENTITY resurrect.inCurrTab "현재 탭/창으로">

View file

@ -9,7 +9,7 @@
<!ENTITY resurrect.textonly "(alleen tekst)">
<!ENTITY resurrect.yahoo "Yahoo! Cache">
<!ENTITY resurrect.archive "The Internet Archive">
<!ENTITY resurrect.msn "Live Search (MSN)">
<!ENTITY resurrect.bing "Bing">
<!ENTITY resurrect.gigablast "Gigablast">
<!ENTITY resurrect.webcitation "WebCite">
<!ENTITY resurrect.inCurrTab "In het huidige tabblad/het huidige venster">

View file

@ -9,7 +9,7 @@
<!ENTITY resurrect.textonly "(tylko tekst)">
<!ENTITY resurrect.yahoo "Yahoo! Cache">
<!ENTITY resurrect.archive "The Internet Archive">
<!ENTITY resurrect.msn "MSN Cache">
<!ENTITY resurrect.bing "Bing">
<!ENTITY resurrect.gigablast "Gigablast">
<!ENTITY resurrect.webcitation "WebCite">
<!ENTITY resurrect.inCurrTab "W aktywnej karcie/oknie">

View file

@ -9,7 +9,7 @@
<!ENTITY resurrect.textonly "(somente texto)">
<!ENTITY resurrect.yahoo "Cache do Yahoo!">
<!ENTITY resurrect.archive "The Internet Archive">
<!ENTITY resurrect.msn "Cache do MSN">
<!ENTITY resurrect.bing "Bing">
<!ENTITY resurrect.gigablast "Gigablast">
<!ENTITY resurrect.webcitation "WebCite">
<!ENTITY resurrect.inCurrTab "Na aba/janela atual">

View file

@ -9,7 +9,7 @@
<!ENTITY resurrect.textonly "(só texto)">
<!ENTITY resurrect.yahoo "Cache do Yahoo!">
<!ENTITY resurrect.archive "Arquivo de internet">
<!ENTITY resurrect.msn "Cache do MSN">
<!ENTITY resurrect.bing "Bing">
<!ENTITY resurrect.gigablast "Gigablast">
<!ENTITY resurrect.webcitation "WebCite">
<!ENTITY resurrect.inCurrTab "Na aba/janela actual">

View file

@ -9,7 +9,7 @@
<!ENTITY resurrect.textonly "(только текст)">
<!ENTITY resurrect.yahoo "Yahoo!">
<!ENTITY resurrect.archive "The Internet Archive">
<!ENTITY resurrect.msn "Поиск MSN">
<!ENTITY resurrect.bing "Bing">
<!ENTITY resurrect.gigablast "Gigablast">
<!ENTITY resurrect.webcitation "WebCite">
<!ENTITY resurrect.inCurrTab "В текущей вкладке/окне">

View file

@ -9,7 +9,7 @@
<!ENTITY resurrect.textonly "(samo besedilo)">
<!ENTITY resurrect.yahoo "Yahoo! posnetek">
<!ENTITY resurrect.archive "The Internet Archive">
<!ENTITY resurrect.msn "MSN posnetek">
<!ENTITY resurrect.bing "Bing">
<!ENTITY resurrect.gigablast "Gigablast">
<!ENTITY resurrect.webcitation "WebCite">
<!ENTITY resurrect.inCurrTab "V obstoječem zavihku/oknu">

View file

@ -9,7 +9,7 @@
<!ENTITY resurrect.textonly " (text only)">
<!ENTITY resurrect.yahoo "Yahoo! Cache">
<!ENTITY resurrect.archive "The Internet Archive">
<!ENTITY resurrect.msn "MSN Cache">
<!ENTITY resurrect.bing "Bing">
<!ENTITY resurrect.gigablast "Gigablast">
<!ENTITY resurrect.webcitation "WebCite">
<!ENTITY resurrect.inCurrTab "In the current tab/window">

View file

@ -9,7 +9,7 @@
<!ENTITY resurrect.textonly "(限文字)">
<!ENTITY resurrect.yahoo "Yahoo!">
<!ENTITY resurrect.archive "Internet Archive">
<!ENTITY resurrect.msn "MSN">
<!ENTITY resurrect.bing "Bing">
<!ENTITY resurrect.gigablast "Gigablast">
<!ENTITY resurrect.webcitation "WebCite">
<!ENTITY resurrect.inCurrTab "目前分頁/視窗">

BIN
skin/cacheicons/bing.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 506 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 835 B