Google Ajax search API key!

Source: Internet
Author: User
Thank you for registering the key for using the Google Ajax search Api!

Your key is:

 
Bytes

This key can be used for all URLs in this directory:

 
Http://www.rdladmin.test

The following is the instance page to help you get started:

<! Doctype HTML public "-// W3C // dtd xhtml 1.0 strict // en" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<HTML xmlns = "http://www.w3.org/1999/xhtml">
<Head>
<Title> my Google Ajax search API application </title>
<SCRIPT src = "http://www.google.com/jsapi? Key = plain "type =" text/JavaScript "> </SCRIPT>
<Script language = "JavaScript" type = "text/JavaScript">
// <! [CDATA [

Google. Load ("Search", "1 ");

Function onload (){
// Create a search control
VaR searchcontrol = new Google. Search. searchcontrol ();

// Add in a full set of searchers
VaR localsearch = new Google. Search. localsearch ();
Searchcontrol. addsearcher (localsearch );
Searchcontrol. addsearcher (new Google. Search. Websearch ());
Searchcontrol. addsearcher (new Google. Search. videosearch ());
Searchcontrol. addsearcher (new Google. Search. blogsearch ());

// Set the local search center point
Localsearch. setcenterpoint ("New York, NY ");

// Tell the searcher to draw itself and tell it where to attach
Searchcontrol. Draw (document. getelementbyid ("searchcontrol "));

// Execute an indomainsearch
Searchcontrol.exe cute ("google ");
}
Google. setonloadcallback (onload );

//]>
</SCRIPT>
</Head>
<Body>
<Div id = "searchcontrol"> loading... </div>
</Body>
</Html>
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.