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

Sites Pertecentes a (o) SC

Endereço Nota Erros Avisos

www.tubarao.sc.gov.br/tag/index/index/codTag/1084

61.77 34 54
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 46 114 232 375 435 663
46 <![CDATA[<script type="text/javascript"> var contraste = 'ativar'; const url = "/zbox/contraste"; $("#pluginContrasteIsAtivo").click(function(){ let dataPost = { contraste: contraste, }; let xhr = $.ajax({ headers: {"Access-Control-Allow-Origin": "*"}, url: url, method: "POST", data: dataPost, dataType: "json" }); xhr.setRequestHeader("Access-Control-Allow-Origin", "*"); xhr.setRequestHeader("Access-Control-Allow-Credentials", "true"); xhr.setRequestHeader("Access-Control-Allow-Methods", "GET,HEAD,OPTIONS,POST,PUT"); xhr.setRequestHeader("Access-Control-Allow-Headers", "Access-Control-Allow-Headers, Origin,Accept, X-Requested-With, Content-Type, Access-Control-Request-Method, Access-Control-Request-Headers"); xhr.complete(function () { location.reload(); }); }); </script>]]>
114 <![CDATA[<script type="text/javascript"> $(function() { //$('#topo-tempo').hide(); console.log('https://www.fecam.org.br/tempo.php?codPrevisao=5467'); $.ajax({ url: 'https://www.fecam.org.br/tempo.php?codPrevisao=5467', jsonpCallback: 'jsonCallback', contentType: "application/json", dataType: 'jsonp', cache: 'false', success: function(data){ data = data['tempo']; dc = 0; //Contador de dias; while(dc <= 1){ prefix = "#previsao-tempo-dia-"+(dc+1); dia = data['previsao'][dc]; $(prefix).html(dia['diaSemana']); $(prefix+'-max').html(dia['maxima']+"C"); $(prefix+"-min").html(dia['minima']+"C"); $(prefix+"-icone img").attr("src","/styles/layouts/pm/default/images/previsao-tempo/"+dia['tempo']+".png"); $(prefix+"-previsao").html(dia['condicao']); console.log(dia); dc++; } } }); }); </script>]]>
232 <![CDATA[<script type="text/javascript">var addthis_config = {"data_track_addressbar":false};</script>]]>
375 <![CDATA[<script type="text/javascript"> jQuery(function ($) { var url = '/tag/index/index/codTag/1084/pagina/%pagina%'; $('.botaoIrPagina').click(function () { var paginaRedirect = parseInt($(this).parent().children('.pagina').val()); if (paginaRedirect <= 0) paginaRedirect = 1; if (paginaRedirect > 32 ) paginaRedirect = 32; if (paginaRedirect > 0 && paginaRedirect <= 32) { var urlRedirect = url.replace('%pagina%', paginaRedirect); window.location = urlRedirect; } else { alert('Página inválida!'); } }); $('.pagina').keypress(function (e) { if (e.which == 13) { $(this).parent().children('.botaoIrPagina').click(); } }); }); </script>]]>
435 <![CDATA[<script type="text/javascript"> var paginasWidgetNoticiasTags = {}; var paginasWidgetPaginacaoTags = {}; paginasWidgetNoticiasTags[1] = $(".widget-noticias-tag .noticias-holder").html(); paginasWidgetPaginacaoTags[1] = $(".widget-noticias-tag .paginacao-holder").html(); $(".widget-noticias-tag .paginacao-default li:first-child").addClass("ativo"); $(".widget-noticias-tag .paginacao-default li a").click(function(evt){ evt.preventDefault(); evt.stopPropagation(); $(".widget-noticias-tag .paginacao-default li").removeClass("paginaAtiva"); $(this).parent().parent().addClass("paginaAtiva"); var pagina = parseInt($(this).html()); if (paginasWidgetNoticiasTags[pagina] === undefined && !$(".widget-noticias-tag").hasClass("loading")) { $(".widget-noticias-tag").addClass("loading"); $.post(getUrlPaginaNoticiasTag(pagina),function(data){ $(".widget-noticias-tag").removeClass("loading"); paginasWidgetNoticiasTags[pagina] = data.html; $(".widget-noticias-tag .noticias-holder").html(data.html); paginasWidgetPaginacaoTags[pagina] = data.paginacao; $(".widget-noticias-tag .paginacao-holder").html(data.paginacao); atualizaListenersJS() }, 'json'); } else { $(".widget-noticias-tag .noticias-holder").html(paginasWidgetNoticiasTags[pagina]); $(".widget-noticias-tag .noticias-holder").html(paginasWidgetPaginacaoTags[pagina]); atualizaListenersJS() } return false; }) function atualizaListenersJS(){ $(".scriptjs").html($(".scriptjs").html()); } function getUrlPaginaNoticiasTag(pagina){ var url = "/tag/widget/paginacao-noticias-tag/codTag/1084/page/paginaX/num-por-page/5".replace("paginaX",pagina); return url; } </script>]]>
663 <![CDATA[<script type='text/javascript'> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-20437164-52']); _gaq.push(['_trackPageview'], '/tag/index/index/codTag/1084'); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); jQuery(document).ajaxComplete(function(e, xhr, settings){ _gaq.push(['_trackPageview', settings.url]); }); </script>]]>