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

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 9 392 633 639 666 845 854 867 880 880
392 <![CDATA[<script language="javascript"> <!-- // Cross platform event handling for IE5+, NS6+, Mozilla/Gecko function p16_addEvent(elm, evType, fn, useCapture) { if(elm != null) { if(elm.addEventListener) { elm.addEventListener(evType, fn, useCapture); return true; } else if(elm.attachEvent) { var r = elm.attachEvent('on' + evType, fn); return r; } else { elm['on' + evType] = fn; } } } var p16_links = new Array(); function p16_getlinkid(elm) { // "elm" is to be the DOM element, whose name has the unique ID // at it's end, separated by underscore "_": result = 0; if ((elm != undefined)) { var myid = new String(elm.id); myid = myid.split('_'); if (myid.length > 0) { result = myid[myid.length-1]; } } return result; } function p16_onLoad() { // Process anchor tags for links and their <td> table cell: for(i=0; i < p16_links.length; i++) { // Deactivate click on link ah = document.getElementById("p16_"+i); if ((ah != undefined)) { ah.href = "#"; ah.onclick = function(){return false;}; } // Assign click and mouse events to <td> tag: ah = document.getElementById("p16_links_"+i); if ((ah != undefined)) { ah.onclick = function(){ linkelement = p16_links[p16_getlinkid(this)]; if (linkelement[2] != 0) { window.open(linkelement[0],'link','status=1,toolbar=1,location=1,menubar=1,directories=1,resizable=1,scrollbars=1'); } else { window.location = linkelement[0]; } return false; }; ah.onmouseover = function(){ window.status = p16_links[p16_getlinkid(this)][0]; this.style.cursor = 'pointer'; this.style.cursor = 'hand'; this.style.background = '#e8e9ec'; } ah.onmouseout = function(){ window.status = ''; this.style.background = 'transparent'; } ah.title = p16_links[i][1]; } } } p16_addEvent(window, "load", p16_onLoad, false); //--> </script>]]>
633 <![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>]]>
639 <![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>]]>
666 <![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>]]>
845 <![CDATA[<script> jQuery('#confirm-delete').on('show.bs.modal', function(e) { $(this).find('.btn-ok').attr('href', $(e.relatedTarget).data('href')); }); </script>]]>
854 <![CDATA[<script type="text/javascript"> jQuery('.datepicker').datepicker({ endDate: '+1m', language: "pt-BR" }); 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>]]>
867 <![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-45', 'auto'); ga('send', 'pageview'); </script>]]>
880 <![CDATA[<script> if (window.top!=window.self){ document.getElementsByTagName('header')[0].style.display = 'none'; document.getElementsByTagName('footer')[0].style.display = 'none'; document.getElementsByClassName('owl-wrapper')[0].style.display = 'none'; document.getElementsByClassName('gradient-navigation')[0].style.display = 'none'; } </script>]]>
880 <![CDATA[<script>new window.VLibras.Widget('https://vlibras.gov.br/app', "https://vlibras.gov.br/config/default_logo.json?1");</script>]]>