In Keuring Check Google

by Marcel Landeweerd

HTML

<div id="gcse"></div>

JavaScript

WEBWINKELKEUR_BEDRIJFSNAAM = "We Love Must Haves";
WEBWINKELKEUR_WEBWINKELNAAM = "We Love Musthaves";
WEBWINKELKEUR_SEARCH_QUERY = "("+WEBWINKELKEUR_WEBWINKELNAAM+"+OR+"+WEBWINKELKEUR_BEDRIJFSNAAM+")+AND+(ervaringen+OR+oplichting+OR+klachten)"               
                

window.__gcse = { parsetags: 'explicit', callback: function () {
  google.search.cse.element.render({
    div: 'gcse',
    gname: 'gcse',
    tag: 'search'
  });

  if (typeof WEBWINKELKEUR_SEARCH_QUERY !== 'undefined') {
    google.search.cse.element.getElement('gcse').execute(WEBWINKELKEUR_SEARCH_QUERY);
  }
}};

(function() {
  var cx = '010917615065561396649:zp37mgtkk7m';
  var gcse = document.createElement('script');
  gcse.type = 'text/javascript';
  gcse.async = true;
  gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;
  var s = document.getElementsByTagName('script')[0];
  s.parentNode.insertBefore(gcse, s);
})();