Search code examples
javascriptgoogle-apiblogger

I found a unknown script in blogger theme


Can someone familiar with blogger tell me what is this script doing?

<script type="text/javascript">
(function() {
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = '//pagead2.googlesyndication.com/pagead/js/google_top_exp.js';
var head = document.getElementsByTagName('head')[0];
if (head) {
head.appendChild(script);
}})();
</script>

I tried to see what in this file //pagead2.googlesyndication.com/pagead/js/google_top_exp.js is, but the code is minified and hard to read.


Solution

  • I found out the answer.

    The code is from blogger navigation bar.