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

Sites Pertecentes a (o) PE

Endereço Nota Erros Avisos

www.irh.pe.gov.br/horarios-de-funcionamento

82.48 66 155
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 42 291 310 536 724 749 766 830
42 <![CDATA[<script type="text/javascript"> jQuery(window).on('load', function() { new JCaption('img.caption'); }); jQuery(function($){ $(".hasTooltip").tooltip({"html": true,"container": "body"}); }); </script>]]>
291 <![CDATA[<script type="text/javascript"> jQuery.noConflict(); (function( $ ) { $(function() { $('.active > ul').toggle(); $('.active_filho').click().parent().parent().addClass('active'); $('.active > ul').show(); }); })(jQuery); </script>]]>
310 <![CDATA[<script> // Read cookie function getCookie(strCookie) { var strName = strCookie + "="; var arrCookies = document.cookie.split(';'); for (var i = 0; i < arrCookies.length; i++) { var strValorCookie = arrCookies[i]; while (strValorCookie.charAt(0) == ' ') { strValorCookie = strValorCookie.substring(1, strValorCookie.length); } if (strValorCookie.indexOf(strName) == 0) { return strValorCookie.substring(strName.length, strValorCookie.length); } } return ''; } // Set cookie function setCookie(name, value, expires, path, domain, secure) { // set time, it's in milliseconds var today = new Date(); today.setTime( today.getTime() ); /* if the expires variable is set, make the correct expires time, the current script below will set it for x number of days, to make it for hours, delete * 24, for minutes, delete * 60 * 24 */ path = '/'; if ( expires ) { expires = expires * 1000 * 60 * 60 * 24; } var expires_date = new Date( today.getTime() + (expires) ); document.cookie = name + "=" +escape( value ) + ( ( expires ) ? ";expires=" + expires_date.toGMTString() : "" ) + ( ( path ) ? ";path=" + path : "" ) + ( ( domain ) ? ";domain=" + domain : "" ) + ( ( secure ) ? ";secure" : "" ); } // Erase cookie function eraseCookie(name) { setCookie(name, '', -1); } jQuery.noConflict(); (function( $ ) { $(function() { //Pega a temperatura $.ajax({ url: 'http://api.weatherunlocked.com/api/current/-8.05428,-34.8813?app_id=6ec55f2f&app_key=ebefdb91fcc7ba69d7bbc624a7534ec4', type: 'GET', crossDomain: true, dataType: 'text', success: function(data) { let jsonObject = JSON.parse(data); $( ".weather" ).empty(); $( ".weather" ).append( jsonObject.temp_c+"° C" ); } }); //aumenta o tamanho da fonte $("#aumentar-fonte").click(function () { var size = $("*").css('font-size'); size = size.replace('px', ''); size = parseInt(size) + 1; $("*").animate({'font-size' : size + 'px'}); return false; }); $("#diminuir-fonte").click(function () { var size = $("*").css('font-size'); size = size.replace('px', ''); size = parseInt(size) - 1; $("*").animate({'font-size' : size + 'px'}); return false; }); //controle de contraste var cookieContrast = getCookie("highContrast"); if (cookieContrast == "highContrast"){ $("body").addClass("highContrast"); } $("a.highContrast").click(function(){ var x = getCookie("highContrast"); if (x == "highContrast") { $("body").removeClass("highContrast"); eraseCookie("highContrast"); } else { $("body").addClass("highContrast"); setCookie("highContrast", "highContrast"); } return (false); }); }); })(jQuery); </script>]]>
536 <![CDATA[<script type="text/javascript"> jQuery.noConflict(); (function( $ ) { $(function() { $( "#boom" ).click(function( event ) { var category_selected = $("#category-select").val(); var campo_busca = $("#s").val(); var url = 'index.php?option=com_buscasite&busca='+campo_busca+'&catid='+category_selected; window.location.href= url; }); // $('#s').keypress(function(e) { // console.log("porra"); // if(e.which == 13) { // var category_selected = $("#category-select").val(); // var campo_busca = $(this).val(); // var url = 'index.php?option=com_buscasite&busca='+campo_busca+'&catid='+category_selected; // window.location.href= url; // } // }); })(jQuery); }); jQuery(document).ready(function(){ jQuery('#s').keypress(function(e) { if(e.which == 13) { var category_selected = jQuery("#category-select").val(); var campo_busca = jQuery(this).val(); var url = 'index.php?option=com_buscasite&busca='+campo_busca+'&catid='+category_selected; window.location.href= url; } }); }); jQuery(document).ready(function(){ jQuery('#boom').click(function(e) { var category_selected = jQuery("#category-select").val(); var campo_busca = jQuery("#s").val(); var url = 'index.php?option=com_buscasite&busca='+campo_busca+'&catid='+category_selected; window.location.href= url; }); }); </script>]]>
724 <![CDATA[<script type='text/javascript'> document.getElementById('cloak668dcc4a57d3aa39739875365873a5c8').innerHTML = ''; var prefix = '&#109;a' + 'i&#108;' + '&#116;o'; var path = 'hr' + 'ef' + '='; var addy668dcc4a57d3aa39739875365873a5c8 = 'br&#117;n&#97;.d&#97;nt&#97;s' + '&#64;'; addy668dcc4a57d3aa39739875365873a5c8 = addy668dcc4a57d3aa39739875365873a5c8 + '&#105;rh' + '&#46;' + 'p&#101;' + '&#46;' + 'g&#111;v' + '&#46;' + 'br'; var addy_text668dcc4a57d3aa39739875365873a5c8 = 'br&#117;n&#97;.d&#97;nt&#97;s' + '&#64;' + '&#105;rh' + '&#46;' + 'p&#101;' + '&#46;' + 'g&#111;v' + '&#46;' + 'br';document.getElementById('cloak668dcc4a57d3aa39739875365873a5c8').innerHTML += '<a ' + path + '\'' + prefix + ':' + addy668dcc4a57d3aa39739875365873a5c8 + '\'>'+addy_text668dcc4a57d3aa39739875365873a5c8+'<\/a>'; </script>]]>
749 <![CDATA[<script type='text/javascript'> document.getElementById('cloak6050b45eeed40d136310ba453b662c0d').innerHTML = ''; var prefix = '&#109;a' + 'i&#108;' + '&#116;o'; var path = 'hr' + 'ef' + '='; var addy6050b45eeed40d136310ba453b662c0d = 'c&#97;d&#97;str&#111;.s&#97;ss&#101;p&#101;' + '&#64;'; addy6050b45eeed40d136310ba453b662c0d = addy6050b45eeed40d136310ba453b662c0d + '&#105;rh' + '&#46;' + 'p&#101;' + '&#46;' + 'g&#111;v' + '&#46;' + 'br'; var addy_text6050b45eeed40d136310ba453b662c0d = 'c&#97;d&#97;str&#111;.s&#97;ss&#101;p&#101;' + '&#64;' + '&#105;rh' + '&#46;' + 'p&#101;' + '&#46;' + 'g&#111;v' + '&#46;' + 'br';document.getElementById('cloak6050b45eeed40d136310ba453b662c0d').innerHTML += '<a ' + path + '\'' + prefix + ':' + addy6050b45eeed40d136310ba453b662c0d + '\'>'+addy_text6050b45eeed40d136310ba453b662c0d+'<\/a>'; </script>]]>
766 <![CDATA[<script type='text/javascript'> document.getElementById('cloak9845c01cce3b8ac30dca78ced3e1f545').innerHTML = ''; var prefix = '&#109;a' + 'i&#108;' + '&#116;o'; var path = 'hr' + 'ef' + '='; var addy9845c01cce3b8ac30dca78ced3e1f545 = 's&#101;rv&#105;c&#111;s&#111;c&#105;&#97;l' + '&#64;'; addy9845c01cce3b8ac30dca78ced3e1f545 = addy9845c01cce3b8ac30dca78ced3e1f545 + '&#105;rh' + '&#46;' + 'p&#101;' + '&#46;' + 'g&#111;v' + '&#46;' + 'br'; var addy_text9845c01cce3b8ac30dca78ced3e1f545 = 's&#101;rv&#105;c&#111;s&#111;c&#105;&#97;l' + '&#64;' + '&#105;rh' + '&#46;' + 'p&#101;' + '&#46;' + 'g&#111;v' + '&#46;' + 'br';document.getElementById('cloak9845c01cce3b8ac30dca78ced3e1f545').innerHTML += '<a ' + path + '\'' + prefix + ':' + addy9845c01cce3b8ac30dca78ced3e1f545 + '\'>'+addy_text9845c01cce3b8ac30dca78ced3e1f545+'<\/a>'; </script>]]>
830 <![CDATA[<script type='text/javascript'> document.getElementById('cloak53e6077d6c9e4321c75aa0d2d632ba11').innerHTML = ''; var prefix = '&#109;a' + 'i&#108;' + '&#116;o'; var path = 'hr' + 'ef' + '='; var addy53e6077d6c9e4321c75aa0d2d632ba11 = 's&#101;rv&#105;c&#111;s&#111;c&#105;&#97;l' + '&#64;'; addy53e6077d6c9e4321c75aa0d2d632ba11 = addy53e6077d6c9e4321c75aa0d2d632ba11 + '&#105;rh' + '&#46;' + 'p&#101;' + '&#46;' + 'g&#111;v' + '&#46;' + 'br'; var addy_text53e6077d6c9e4321c75aa0d2d632ba11 = 's&#101;rv&#105;c&#111;s&#111;c&#105;&#97;l' + '&#64;' + '&#105;rh' + '&#46;' + 'p&#101;' + '&#46;' + 'g&#111;v' + '&#46;' + 'br';document.getElementById('cloak53e6077d6c9e4321c75aa0d2d632ba11').innerHTML += '<a ' + path + '\'' + prefix + ':' + addy53e6077d6c9e4321c75aa0d2d632ba11 + '\'>'+addy_text53e6077d6c9e4321c75aa0d2d632ba11+'<\/a>'; </script>]]>