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

Sites Pertecentes a (o) PB

Endereço Nota Erros Avisos

varzea.pb.gov.br/acesso-a-informacao/conselhos

82.77 100 137
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 8 464 470 496 675 689 735 749 760
464 <![CDATA[<script> function resultParse(v){ console.log(v); $('#tempoClimaUP').text(v.climatempo[0].previsao[0].detalhe.max); $('#tempoClimaDOWN').text(v.climatempo[0].previsao[0].detalhe.min); $('#iconeClima').addClass('weather-'+v.climatempo[0].previsao[0].detalhe.icone+'24'); } </script>]]>
470 <![CDATA[<script> $("#share").jsSocials({ showLabel: true, shares: [{ share: "facebook", logo: "fab fa-facebook-f" },{ share: "twitter", logo: "fab fa-twitter" },{ share: "whatsapp", logo: "fab fa-whatsapp" }] }); $('.ajax-popup-link').magnificPopup({ type: 'iframe', iframe: { markup: '<div class="mfp-iframe-scaler your-special-css-class">'+ '<div class="mfp-close"></div>'+ '<iframe class="mfp-iframe" frameborder="0" allowfullscreen></iframe>'+ '</div>' } }); </script>]]>
496 <![CDATA[<script type="text/javascript"> var $affectedElements = $("body, p"); var theme = window.localStorage.currentTheme; var theme2 = window.localStorage.currentTheme2; $('body').addClass(theme + ' ' + theme2); /*Dark mode*/ $('[data-toggle="dark-mode"]').click(function() { if ($("body").hasClass("night")) { $('body').toggleClass('night'); localStorage.removeItem('currentTheme'); localStorage.currentTheme = "day"; } else { $('body').toggleClass('night'); localStorage.removeItem('currentTheme'); localStorage.currentTheme = "night"; } }); /* Invert colors*/ $('[data-toggle="invert-color"]').click(function() { if ($("body").hasClass("inverted")) { $('body').toggleClass('inverted'); localStorage.removeItem('currentTheme2'); localStorage.currentTheme2 = "normal"; } else { $('body').toggleClass('inverted'); localStorage.removeItem('currentTheme2'); localStorage.currentTheme2 = "inverted"; } }); textResizer = $(function() { var h = { getItem: function(a) { if (!a) { return null } return decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*" + encodeURIComponent(a).replace(/[\-\.\+\*]/g, "\\$&") + "\\s*\\=\\s*([^;]*).*$)|^.*$"), "$1")) || null }, setItem: function(a, b, c, d, e, f) { if (!a || /^(?:expires|max\-age|path|domain|secure)$/i.test(a)) { return false } var g = ""; if (c) { switch (c.constructor) { case Number: g = c === Infinity ? "; expires=Fri, 31 Dec 9999 23:59:59 GMT" : "; max-age=" + c; break; case String: g = "; expires=" + c; break; case Date: g = "; expires=" + c.toUTCString(); break } } document.cookie = encodeURIComponent(a) + "=" + encodeURIComponent(b) + g + (e ? "; domain=" + e : "") + (d ? "; path=" + d : "") + (f ? "; secure" : ""); return true }, removeItem: function(a, b, c) { if (!this.hasItem(a)) { return false } document.cookie = encodeURIComponent(a) + "=; expires=Thu, 01 Jan 1970 00:00:00 GMT" + (c ? "; domain=" + c : "") + (b ? "; path=" + b : ""); return true }, hasItem: function(a) { if (!a) { return false } return (new RegExp("(?:^|;\\s*)" + encodeURIComponent(a).replace(/[\-\.\+\*]/g, "\\$&") + "\\s*\\=")).test(document.cookie) }, keys: function() { var a = document.cookie.replace(/((?:^|\s*;)[^\=]+)(?=;|$)|^\s*|\s*(?:\=[^;]*)?(?:\1|$)/g, "").split(/\s*(?:\=[^;]*)?;\s*/); for (var b = a.length, nIdx = 0; nIdx < b; nIdx++) { a[nIdx] = decodeURIComponent(a[nIdx]) } return a } }; function changeSize(a, b) { var c = parseInt(h.getItem("FontSize")); var d; if (c !== "") { c = parseInt(a.css('font-size')) } if (b === 'decrease') { if (c > 12) { d = c - 1 } } else if (b === 'increase') { if (c < 22) { d = c + 1 } } a.css('font-size', d + 'px'); h.setItem("FontSize", d, Infinity) } $('[data-toggle="font-decrease"]').click(function(e) { changeSize(i, 'decrease'); e.preventDefault() }); $('[data-toggle="font-increase"]').click(function(e) { changeSize(i, 'increase'); e.preventDefault() }); var i = $affectedElements, fontSize = h.getItem("FontSize"); if (fontSize) { i.css('font-size', fontSize + 'px') } }); </script>]]>
675 <![CDATA[<script> jQuery('#confirm-delete').on('show.bs.modal', function(e) { $(this).find('.btn-ok').attr('href', $(e.relatedTarget).data('href')); }); </script>]]>
689 <![CDATA[<script type="text/javascript"> $(document).ready(function() { $('#data-table-filter').DataTable( { "searching": false, "language": { "sProcessing": "Carregando...", "sLengthMenu": "Mostrar _MENU_ resultados", "sZeroRecords": "Não foram encontrados resultados", "sInfo": "Mostrando de _START_ à _END_ de _TOTAL_ resultados", "sInfoEmpty": "Mostrando de 0 à 0 de 0 resultados", "sInfoFiltered": "(filtrado de _MAX_ resultados no total)", "sInfoPostFix": "", "sSearch": "Buscar:", "sUrl": "", "oPaginate": { "sFirst": "Primeiro", "sPrevious": "Anterior", "sNext": "Próximo", "sLast": "Último" } }, "info": false, "order": [[ 0, "desc" ]], "columnDefs": [{"targets": [1,2,3,4,5,6,7,8,9,10], "orderable": false }], "dom": 'Bfrtip', "buttons": { "buttons": [ 'copy', 'csv', 'excel', 'pdf', 'print' ], "dom": { "button": { "className": 'btn btn-light border text-dark' } } } } ); } ); </script>]]>
735 <![CDATA[<script type="text/javascript"> $.noConflict(); jQuery( document ).ready(function( $ ) { $( ".datepicker" ).datepicker({ dateFormat: 'dd/mm/yy', dayNames: ['Domingo','Segunda','Terça','Quarta','Quinta','Sexta','Sábado','Domingo'], dayNamesMin: ['D','S','T','Q','Q','S','S','D'], dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb','Dom'], monthNames: ['Janeiro','Fevereiro','Março','Abril','Maio','Junho','Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'], monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun','Jul','Ago','Set','Out','Nov','Dez'] }); }); </script>]]>
749 <![CDATA[<script type="text/javascript"> if((jQuery("#data-inicial").val() != "") && (jQuery("#data-final").val() == "")){ jQuery("#data-inicial").val(""); alert("Você precisa informar as datas de início e fim."); } </script>]]>
760 <![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','https://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-106219313-38', 'auto'); ga('send', 'pageview'); </script>]]>