Logo CEWEB.br Logo NIC.br Logo CGI.br
Home Sobre o projeto

Sites Atualizados

Lista dos novos sites adicionados a plataforma na última atualização

Endereço Nota Erros Avisos

www.cristal.rs.gov.br/sic-acompanhamento

88.98 9 895
Recomendações Avaliadas
2.2 Garantir que os objetos programáveis sejam acessíveis.

Recomendações

Número Descrição Quantidade Linhas Código Fonte
2.2.6 Presença do elemento SCRIPT sem o elemento NOSCRIPT 3 39 2493 2952
39 <![CDATA[<script> window.dataLayer = window.dataLayer || []; function gtag() { dataLayer.push(arguments); } gtag('js', new Date()); gtag('config', 'G-PNL90FQ1HD'); </script>]]>
2493 <![CDATA[<script> window.addEventListener('DOMContentLoaded', () => { setTimeout(() => { const myCallback = function() { if (document.readyState == 'complete') { google.search.cse.element.render( { div: 'searchGoogleContent', tag: 'search' }); } else { google.setOnLoadCallback(function() { google.search.cse.element.render( { div: 'searchGoogleContent', tag: 'search' }); }, true); } }; window.__gcse = { parsetags: 'explicit', callback: myCallback }; (() => { const cx = '011042267039235339792:w6o5jhhdtiy'; const gcse = document.createElement('script'); gcse.type = 'text/javascript'; gcse.async = true; gcse.src = 'https://cse.google.com/cse.js?cx=' + cx; const s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gcse, s); })(); }, 2000); }) </script>]]>
2952 <![CDATA[<script> function recaptchaCallback() { $('#btn-enviar-ouvidoria').removeAttr('disabled'); }; function recaptchaCallback2() { $('#btn-enviar-complementos').removeAttr('disabled'); }; function validarDocumentoResposta(){ var fileInput = document.getElementById('document').files[0]; var maxSize = 2048000; // in bytes var extPermitidas = ['jpg', 'jpeg', 'png', 'pdf', 'doc', 'docx', 'xls', 'xlsx']; //aqui a sua função normal if (fileInput) { var fileSize = fileInput.size; // in bytes var fileName = fileInput.name; var fileExtension = fileName.substring(fileName.lastIndexOf('.')+1, fileName.length) || fileName; if (fileSize > maxSize) { alert('Arquivo excedeu o limite permitido, por favor escolha arquivos com no maximo 2MB*'); document.getElementById("document").value = ""; } else if(extPermitidas.indexOf(fileExtension) < 0){ alert('Extensão de arquivo/foto não permitida. (utilize jpg, jpeg, png, pdf, doc, docx, xls ou xlsx)'); document.getElementById("document").value = ""; } } }; </script>]]>