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

Sites Pertecentes a (o) BA

Endereço Nota Erros Avisos

www.camacari.ba.gov.br/contatos/

85.87 161 186
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 5 83 293 584 637 651
83 <![CDATA[<script> var tempUrl = "https://www.camacari.ba.gov.br/wp-content/themes/camacari"; </script>]]>
293 <![CDATA[<script> function Mudarestado(el) { document.getElementById("minhaDivNota").style.display = 'none'; document.getElementById("minhaDivBoletim").style.display = 'none'; var display = document.getElementById(el).style.display; if (display == "none") document.getElementById(el).style.display = 'block'; else document.getElementById(el).style.display = 'none'; } </script>]]>
584 <![CDATA[<script> $(document).ready(function () { $('.video,a[href^="https://www.youtube.com"]').not('.forcar-abrir').magnificPopup({ type: 'iframe', closeBtnInside: false, mainClass: 'mfp-with-zoom', removalDelay: 300, closeOnContentClick: false, closeOnBgClick: false, iframe: { markup: '<div class="jsMediaPlayer" data-type="youtube" data-video-id=""></div>' }, callbacks: { updateStatus: function (data) { if (data.status === "ready") { window.dispatchEvent(new Event("resize")); } }, resize: function () { setTimeout(function () { plyr.setup(".jsMediaPlayer"); }, 0); }, open: function () { $('.jsMediaPlayer')[0].dataset.videoId = $(this)[0].currItem.el[0].dataset.vid; var titleItem = $(this)[0].currItem.el[0].dataset.title; $('.mfp-container').append( '<div class="mfp-top">' + '<div class="row no-gap">' + '<div class="mfp-img-logo col-md-1 col-lg-1 hidden-sm-down"><img src="https://www.camacari.ba.gov.br/wp-content/themes/camacari/assets/images/logo-pc-mini-gallery.png" alt="" /><span></span></div>' + '<div class="mfp-title-top col-md-9 ">' + titleItem + '</div>' + '</div>' + '</div>'); } } }); }); </script>]]>
637 <![CDATA[<script type="text/javascript"> /*<![CDATA[*/ document.oncontextmenu = function(event) { if (event.target.tagName != 'INPUT' && event.target.tagName != 'TEXTAREA') { event.preventDefault(); } }; document.ondragstart = function() { if (event.target.tagName != 'INPUT' && event.target.tagName != 'TEXTAREA') { event.preventDefault(); } }; /*]]>*/ </script>]]>
651 <![CDATA[<script type="text/javascript"> jQuery(document).ready(function ($) { //$( document ).ajaxStart(function() { //}); for (var i = 0; i < document.forms.length; ++i) { var form = document.forms[i]; if ($(form).attr("method") != "get") { $(form).append('<input type="hidden" name="BOikVrafQMz-Tb_" value="8HjXV_pR" />'); } if ($(form).attr("method") != "get") { $(form).append('<input type="hidden" name="goFWGDiLj" value="MPsXhDcf4an9" />'); } if ($(form).attr("method") != "get") { $(form).append('<input type="hidden" name="mvHOgdeNVJ_qcWpX" value="DKxG9s_k02" />'); } } $(document).on('submit', 'form', function () { if ($(this).attr("method") != "get") { $(this).append('<input type="hidden" name="BOikVrafQMz-Tb_" value="8HjXV_pR" />'); } if ($(this).attr("method") != "get") { $(this).append('<input type="hidden" name="goFWGDiLj" value="MPsXhDcf4an9" />'); } if ($(this).attr("method") != "get") { $(this).append('<input type="hidden" name="mvHOgdeNVJ_qcWpX" value="DKxG9s_k02" />'); } return true; }); jQuery.ajaxSetup({ beforeSend: function (e, data) { //console.log(Object.getOwnPropertyNames(data).sort()); //console.log(data.type); if (data.type !== 'POST') return; if (typeof data.data === 'object' && data.data !== null) { data.data.append("BOikVrafQMz-Tb_", "8HjXV_pR"); data.data.append("goFWGDiLj", "MPsXhDcf4an9"); data.data.append("mvHOgdeNVJ_qcWpX", "DKxG9s_k02"); } else { data.data = data.data + '&BOikVrafQMz-Tb_=8HjXV_pR&goFWGDiLj=MPsXhDcf4an9&mvHOgdeNVJ_qcWpX=DKxG9s_k02'; } } }); }); </script>]]>