SHARE
TWEET

Google Custom Search Engine Results Only Code

agentdeepak Mar 28th, 2015 (edited) 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script>
  2.   (function() {
  3.     var cx = 'partner-pub-0729143788067006:7750213438';
  4.     var gcse = document.createElement('script');
  5.     gcse.type = 'text/javascript';
  6.     gcse.async = true;
  7.     gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
  8.         '//www.google.com/cse/cse.js?cx=' + cx;
  9.     var s = document.getElementsByTagName('script')[0];
  10.     s.parentNode.insertBefore(gcse, s);
  11.   })();
  12. </script>
  13. <gcse:searchresults-only></gcse:searchresults-only>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top