Created
January 8, 2010 23:57
-
-
Save fitorec/272596 to your computer and use it in GitHub Desktop.
Instalador del openwebSearch ejemplo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function instalarBuscador( ){ | |
if ((typeof window.sidebar == "object") && | |
(typeof window.sidebar.addSearchEngine == "function")) | |
{ | |
window.sidebar.addSearchEngine( | |
"http://mundosica.com/openSearchSICA.xml", | |
"http://mundosica.com/images/sica-search16x16.png", | |
"mundosica.com", | |
"Web" | |
); | |
} | |
else | |
{ | |
alert("Mozilla M15 or later is required to add a search engine."); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment