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

Sites Pertecentes a (o) SP

Endereço Nota Erros Avisos

www.policiamilitar.sp.gov.br/

89.24 74 221
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 6 709 837 952 1159 1599 1634
709 <![CDATA[<script type="text/javascript"> function RedesSociais(Email, Facebook, Google, LinkedIn, Twitter, WhatsApp) { $("#facebook").attr("href", Facebook); $("#twitter").attr("href", Twitter); $("#google").attr("href", Google); $("#whatsApp").attr("href", WhatsApp); var bodyLinkedIn = LinkedIn; bodyLinkedIn = bodyLinkedIn.replace(' {url} ', '&url='); $("#linkedIn").attr("href", bodyLinkedIn); var bodyEmail = Email; bodyEmail = bodyEmail.replace(' {body} ', '&body='); $("#email").attr("href", bodyEmail); } </script>]]>
837 <![CDATA[<script type="text/javascript"> function Videos() { $("#facebook").attr("href", "https://www.facebook.com/sharer/sharer.php?u=http://www.youtube.com/embed/hjCOxYpnqX8"); $("#twitter").attr("href", "https://twitter.com/home?status=http://www.youtube.com/embed/hjCOxYpnqX8"); $("#google").attr("href", "https://plus.google.com/share?url=http://www.youtube.com/embed/hjCOxYpnqX8"); $("#whatsApp").attr("href", "whatsapp://send?text=http://www.youtube.com/embed/hjCOxYpnqX8"); $("#linkedIn").attr("href", "https://www.linkedin.com/shareArticle?mini=true&url=http://www.youtube.com/embed/hjCOxYpnqX8&title=Institucional PMESP"); $("#email").attr("href", "mailto:?subject=Institucional PMESP&body=http://www.youtube.com/embed/hjCOxYpnqX8"); } </script>]]>
952 <![CDATA[<script type="text/javascript"> $(function () { $(".estatisticas").on('click','.anterior',function() { $.ajax({ url: '/Site/Anterior', type: "POST", cache: false, data: { mes: $('#mes-selecionado').val(), ano: $('#ano-selecionado').val() }, success: function (data) { $('.table-responsive').html(''); $('.table-responsive').html(data); $('.tabelaEstatisticasPM').stacktable({headIndex:0}); }, complete: function () { }, error: function(data) { } }); }); $(".estatisticas").on('click','.proximo',function() { var mesSeleciona = $('.combo-mes-selecionado :selected').val(); var anoSelecionado = $('.combo-ano-selecionado :selected').val();; $.ajax({ url: '/Site/Proximo', type: "POST", cache: false, data: { mes: $('#mes-selecionado').val(), ano: $('#ano-selecionado').val() }, success: function (data) { $('.table-responsive').html(''); $('.table-responsive').html(data); }, complete: function () { }, error: function(data) { } }); }); }); </script>]]>
1159 <![CDATA[<script type="text/javascript"> function Comunitaria() { $("#facebook").attr("href", "https://www.facebook.com/sharer/sharer.php?u=https://www.policiamilitar.sp.gov.br/noticias/noticia-interna/2022/11/2552/"); $("#twitter").attr("href", "https://twitter.com/home?status=https://www.policiamilitar.sp.gov.br/noticias/noticia-interna/2022/11/2552/"); $("#google").attr("href", "https://plus.google.com/share?url=https://www.policiamilitar.sp.gov.br/noticias/noticia-interna/2022/11/2552/"); $("#whatsApp").attr("href", "whatsapp://send?text=https://www.policiamilitar.sp.gov.br/noticias/noticia-interna/2022/11/2552/"); var bodyLinkedIn = "https://www.linkedin.com/shareArticle?mini=true {url} https://www.policiamilitar.sp.gov.br/noticias/noticia-interna/2022/11/2552/"; bodyLinkedIn = bodyLinkedIn.replace(' {url} ', '&url='); $("#linkedIn").attr("href", bodyLinkedIn); var bodyEmail = "mailto:?subject=F&#195; ESPECIAL DA POL&#205;CIA MILITAR RECEBE AMIGOS EM SEU ANIVERS&#193; {body} https://www.policiamilitar.sp.gov.br/noticias/noticia-interna/2022/11/2552/"; bodyEmail = bodyEmail.replace(' {body} ', '&body='); $("#email").attr("href", bodyEmail); } function Culturais() { $("#facebook").attr("href", "https://www.facebook.com/sharer/sharer.php?u=https://www.policiamilitar.sp.gov.br/noticias/noticia-interna/2022/11/2555/"); $("#twitter").attr("href", "https://twitter.com/home?status=https://www.policiamilitar.sp.gov.br/noticias/noticia-interna/2022/11/2555/"); $("#google").attr("href", "https://plus.google.com/share?url=https://www.policiamilitar.sp.gov.br/noticias/noticia-interna/2022/11/2555/"); $("#whatsApp").attr("href", "whatsapp://send?text=https://www.policiamilitar.sp.gov.br/noticias/noticia-interna/2022/11/2555/"); var bodyLinkedIn = "https://www.linkedin.com/shareArticle?mini=true {url} https://www.policiamilitar.sp.gov.br/noticias/noticia-interna/2022/11/2555/"; bodyLinkedIn = bodyLinkedIn.replace(' {title} ', '&title='); bodyLinkedIn = bodyLinkedIn.replace(' {url} ', '&url='); $("#linkedIn").attr("href", bodyLinkedIn); var bodyEmail = "mailto:?subject=POLICIAIS RECEBEM A VISITA DO CENTRO EDUCACIONAL ARCA DE NO&#201; {body} https://www.policiamilitar.sp.gov.br/noticias/noticia-interna/2022/11/2555/"; bodyEmail = bodyEmail.replace(' {body} ', '&body='); $("#email").attr("href", bodyEmail); } </script>]]>
1599 <![CDATA[<script type="text/javascript"> $(function () { $('#formPesquisa button').on('click', function (e) { e.preventDefault(); $.ajax({ url: '/Noticias/Pesquisa', type: "POST", cache: false, data: { pesquisa: $('#inputPesquisa ').val() }, success: function (data) { $('#mais-lidas').html(''); $('#mais-lidas').html(data); }, complete: function () { closeLoader(); }, error: function (data) { } }); }); }); function openLoader() { $('body').append('<div class="ui-widget-overlay ui-front overlay-carregando"><div class="loader center">Carregando...</div></div>'); } function closeLoader() { $(".overlay-carregando").remove(); } </script>]]>
1634 <![CDATA[<script type="text/javascript"> $(function () { $('.destaque-ancora').on('click', function () { if ($(this).attr('data-tipo-conteudo') == 'E') { window.open($(this).attr('data-url'), "_blank"); } else if ($(this).attr('data-tipo-conteudo') == 'I') { javascript: location.href = ($(this).attr('data-url')); } }); }); </script>]]>