Commit 1e64439f7992c75985b89b5f4e269f5b04fadc09
1 parent
22005cbb
Exists in
master
Novo trecho que inclui o javascript do servi?o de estat?sticas do Serpro
Showing
1 changed file
with
9 additions
and
0 deletions
Show diff stats
assets/barra-brasil.coffee
@@ -29,3 +29,12 @@ | @@ -29,3 +29,12 @@ | ||
29 | style.appendChild conteudo | 29 | style.appendChild conteudo |
30 | head.appendChild style | 30 | head.appendChild style |
31 | 31 | ||
32 | + #Inserindo tag javascript do Serpro Analytics | ||
33 | + novoScript = document.createElement("script") | ||
34 | + tipo = document.createAttribute("type") | ||
35 | + tipo.nodeValue = "text/javascript" | ||
36 | + src = document.createAttribute("src") | ||
37 | + src.nodeValue = "http://coletajavascript.serpro.gov.br/estatistica.js" | ||
38 | + novoScript.setAttributeNode tipo | ||
39 | + novoScript.setAttributeNode src | ||
40 | + head.appendChild novoScript |