Hello,

I wish the function that the cse.js is loading asynchronously. :-)
Google itself offers this feature for its search yes also:

<script>
(function() {
var cx = 'partner-pub-xxx:xxx';
var gcse = document.createElement('script');
gcse.type = 'text/javascript';
gcse.async = true;
gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
'//cse.google.com/cse.js?cx=' + cx;
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(gcse, s);
})();
</script>

Is this done with the Adsense module?

Thanks and best regards
Frank

Comments

jcnventura’s picture

Status: Active » Closed (won't fix)

This module supports only the AdSense-generated CSE code. This should be handled by the Google Custom Search Engine.

I'm not sure if they support the "Make money" option, but it's really something best solved by using that module.