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

tce.pe.gov.br/tomeconta

81.74 18 44
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 4 69 82 625 647
69 <![CDATA[<script> (function(h,o,t,j,a,r){ h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)}; h._hjSettings={hjid:1664489,hjsv:6}; a=o.getElementsByTagName('head')[0]; r=o.createElement('script');r.async=1; r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv; a.appendChild(r); })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv='); </script>]]>
82 <![CDATA[<script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-25189688-2', 'auto'); ga('send', 'pageview'); </script>]]>
625 <![CDATA[<script type="text/javascript" charset="utf-8"> $(function() { $('a.desce[href*=#]').on('click', function(e) { e.preventDefault(); $('html, body').animate({ scrollTop: $($(this).attr('href')).offset().top}, 500, 'linear'); }); }); var $ = jQuery.noConflict(); $(window).load(function() { $('.flexslider').flexslider({ animationSpeed: 200, animation: "fade" }); }); </script>]]>
647 <![CDATA[<script type="text/javascript"> jQuery(document).ready(function() { $('#listaUJsEstaduais').select2({}); $('#listaUJsEstaduais').on("select2-selecting", function(e) { iniciarProgresso(); var ujsEstaduaisCodigo = e.object.id; $('#ujsEstaduaisCodigo').val(ujsEstaduaisCodigo); document.forms[0].action = 'UJsEstaduais!undJurisEstadualSelecionada'; document.forms[0].submit(); }); $('#listaMunicipio').select2({}); $('#listaMunicipio').on("select2-selecting", function(e) { iniciarProgresso(); var municipioCodigo = e.object.id; $('#municipioCodigo').val(municipioCodigo); document.forms[0].action = 'Municipio!municipioSelecionado'; document.forms[0].submit(); }); //FORNECEDOR $('#cnpjCpfPessoas').select2({ allowClear : true, minimumInputLength : 3, ajax : { url : "Pessoa!buscaJsonPessoaFornecedor", dataType : 'json', quietMillis: 500, data : function(term, page) { novTerm = removeDiacritics (term); return { q : novTerm }; return { q : term }; }, results : function(data) { return { results : $.map(data.listaPessoasFornecedor, function(item) { if(item.cpfcnpj != 0){ if(item.tipoCredor == 1) { var cpf = item.cpfcnpj; if(cpf.substring(0,3) == '000' && cpf.length == 14) cpf = cpf.substring(3,14); cpf = '***.' + cpf.substring(3,6) + '.' + cpf.substring(6,9) + '-**'; return { text : cpf + " - " + item.nome, id : item.cpfcnpj, name : item.nome, kind : item.tipoCredor } } else if(item.tipoCredor == 2) { var cnpj = item.cpfcnpj; if(cnpj.length == 14) { cnpj = cnpj.substring(0,2)+"."+cnpj.substring(2,5)+"."+cnpj.substring(5,8)+"/"+cnpj.substring(8,12)+"-"+cnpj.substring(12,14); } return { text : cnpj + " - " + item.nome, id : item.cpfcnpj, name : item.nome, kind : item.tipoCredor } } else { var str = item.cpfcnpj.substring(0,3); if(str != '000') { var cnpj = item.cpfcnpj; if(cnpj.length == 14) { cnpj = cnpj.substring(0,2)+"."+cnpj.substring(2,5)+"."+cnpj.substring(5,8)+"/"+cnpj.substring(8,12)+"-"+cnpj.substring(12,14); } return { text : cnpj + " - " + item.nome, id : item.cpfcnpj, name : item.nome, kind : item.tipoCredor } } else { var cpf = item.cpfcnpj; if(cpf.substring(0,3) == '000' && cpf.length == 14) cpf = cpf.substring(3,14); cpf = '***.' + cpf.substring(3,6) + '.' + cpf.substring(6,9) + '-**'; return { text : cpf + " - " + item.nome, id : item.cpfcnpj, name : item.nome, kind : item.tipoCredor } } } }else{ return { text : item.nome, id : item.cpfcnpj, name : item.nome, kind : item.tipoCredor } } }) }; } } }); // SERVIDOR $('#cnpjCpfPessoasServidor').select2({ allowClear : true, minimumInputLength : 3, ajax : { url : "Pessoa!buscaJsonPessoaServidor", dataType : 'json', quietMillis: 500, data : function(term, page) { novTerm = removeDiacritics (term); return { q : novTerm }; return { q : term }; }, results : function(data) { return { results : $.map(data.listaPessoasServidor, function(item) { if(item.cpfcnpj != 0){ if(item.tipoCredor == 1) { var cpf = item.cpfcnpj; if(cpf.substring(0,3) == '000' && cpf.length == 14) cpf = cpf.substring(3,14); cpf = '***.' + cpf.substring(3,6) + '.' + cpf.substring(6,9) + '-**'; return { text : cpf + " - " + item.nome, id : item.cpfcnpj, name : item.nome, kind : item.tipoCredor } } else if(item.tipoCredor == 2) { var cnpj = item.cpfcnpj; if(cnpj.length == 14) { cnpj = cnpj.substring(0,2)+"."+cnpj.substring(2,5)+"."+cnpj.substring(5,8)+"/"+cnpj.substring(8,12)+"-"+cnpj.substring(12,14); } return { text : cnpj + " - " + item.nome, id : item.cpfcnpj, name : item.nome, kind : item.tipoCredor } } else { var str = item.cpfcnpj.substring(0,3); if(str != '000') { var cnpj = item.cpfcnpj; if(cnpj.length == 14) { cnpj = cnpj.substring(0,2)+"."+cnpj.substring(2,5)+"."+cnpj.substring(5,8)+"/"+cnpj.substring(8,12)+"-"+cnpj.substring(12,14); } return { text : cnpj + " - " + item.nome, id : item.cpfcnpj, name : item.nome, kind : item.tipoCredor } } else { var cpf = item.cpfcnpj; if(cpf.substring(0,3) == '000' && cpf.length == 14) cpf = cpf.substring(3,14); cpf = '***.' + cpf.substring(3,6) + '.' + cpf.substring(6,9) + '-**'; return { text : cpf + " - " + item.nome, id : item.cpfcnpj, name : item.nome, kind : item.tipoCredor } } } }else{ return { text : item.nome, id : item.cpfcnpj, name : item.nome, kind : item.tipoCredor } } }) }; } } }); $('#cnpjCpfPessoasServidor').on("select2-selecting", function(e) { iniciarProgresso(); var cpfcnpj = e.object.id; var name = e.object.name; var tipoC = e.object.kind; $('#cpfCnpj').val(cpfcnpj); $('#nomeFornecedor').val(name); $('#tipoCredorPessoa').val(tipoC); if (cpfcnpj != "0"){ document.forms[0].action = 'Pessoa!principal'; document.forms[0].submit(); }else{ document.forms[0].action = 'Pessoa!pesquisaPaginada'; document.forms[0].submit(); } }); $('#cnpjCpfPessoas').on("select2-selecting", function(e) { iniciarProgresso(); var cpfcnpj = e.object.id; var name = e.object.name; var tipoC = e.object.kind; $('#cpfCnpj').val(cpfcnpj); $('#nomeFornecedor').val(name); $('#tipoCredorPessoa').val(tipoC); if (cpfcnpj != "0"){ document.forms[0].action = 'Pessoa!principal'; document.forms[0].submit(); }else{ document.forms[0].action = 'Pessoa!pesquisaPaginada'; document.forms[0].submit(); } }); }); $(document).ready(function() { $('.select2').select2(); }); $(document).ready(function() { $(".navbar-toggle").click(function(){ alert('PST!'); $(".Tome-Conta").toggle(); $(".Tome-Conta-uma-ferramenta-da-sociedade-para-a-sociedade").hide(); }); }); $(document).ready(function() { jQuery(document).ready(function($) { var alterClass = function() { var ww = document.body.clientWidth; if (ww < 768) { $('.tc-tabs').removeClass('nav-justified'); } else if (ww >= 769) { $('.tc-tabs').addClass('nav-justified'); }; }; $(window).resize(function(){ alterClass(); }); //Fire it when the page first loads: alterClass(); }); }); </script>]]>