Firefox Search Engine Box - Adding etc..

SpaceshipSpaceship
SpaceshipSpaceship
SpaceshipSpaceship
Watch

PoorDoggie

Soon to be RICHdoggie!VIP Member
Impact
18
Hi,

I have this code on my website to "install" a new search engine into the Firefox search engine box:

Code:
function addEngine(name,ext,cat,type){
	  if((typeof window.sidebar == "object") && (typeof window.sidebar.addSearchEngine == "function")){
		window.sidebar.addSearchEngine(
		  "http://mycroft.mozdev.org/external.php/" + name + ".src",
		  "http://mycroft.mozdev.org/external.php/" + name + "."+ ext, name, cat );
		}
        else{
		  alert("You will need a Mozilla based browser to install a search plugin.");
		}
	}

you can see it here: http://6yd.net with a firefox browser...

I need to know:
1. How to make it the default search engine in that person's firefox browser...
2. How to figure out if they already have my search engine on their list...

Thanks
Tom
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
CatchedCatched

We're social

Escrow.com
Spaceship
Escrowly
CryptoExchange.com
Domain Recover

NamePros updates

Watched threads: your alert now keeps up with new replies
When you watch a thread, each new reply now updates your alert. Before, you got one alert and then nothing until you read the thread...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back