diff --git a/assets/barra-brasil.coffee b/assets/barra-brasil.coffee index eaf984a..3d7c309 100644 --- a/assets/barra-brasil.coffee +++ b/assets/barra-brasil.coffee @@ -29,3 +29,12 @@ style.appendChild conteudo head.appendChild style + #Inserindo tag javascript do Serpro Analytics + novoScript = document.createElement("script") + tipo = document.createAttribute("type") + tipo.nodeValue = "text/javascript" + src = document.createAttribute("src") + src.nodeValue = "http://coletajavascript.serpro.gov.br/estatistica.js" + novoScript.setAttributeNode tipo + novoScript.setAttributeNode src + head.appendChild novoScript -- libgit2 0.21.2