Pages

Tuesday, 25 June 2013

search engine for my website ...and remove water mark in search engine of google

step1-Go to link http://www.google.co.in/cse/all .


step2-Enter gmail id and password after getting this link.
       

step3-Enter the name of website namein Sites to search text box like-www.creativtechnologies.in
       
step4-After enter the Sites to search name code will apper like this in <dev></dev> tag -
                                 <script>
                                 (function() {
                                  var cx = '016289468314042054348:7um9xk_ttbe';
                                  var gcse = document.createElement('script');
                                  gcse.type = 'text/javascript';
                                  gcse.async = true;
                                  gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
                                  '//www.google.com/cse/cse.js?cx=' + cx;
                                   var s = document.getElementsByTagName('script')[0];
                                   s.parentNode.insertBefore(gcse, s);
                                   })();
                                   </script>
                                  <gcse:search></gcse:search>

step4-And if we want to remove water mark paste the code after <script></script>  like this
                               <style>
                               .cse input.gsc-input,
                                input.gsc-input {
                                background-image:none !important;
                                }
                                </style>
step 5-Now  you will able to access custom google search.
   
                                   
           


Download Link
      for Example this example for creativ technologies so insert creativ technologies in text box after download.


 
Regards-
 
Avinash Sharma

No comments:

Post a Comment