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

Sites Pertecentes a (o) RJ

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 2 86 303
86 <![CDATA[<script type="text/javascript"> jQuery(window).on('load', function() { new JCaption('img.caption'); }); var sp_preloader = '0'; var sp_gotop = '1'; var sp_offanimation = 'default'; jQuery(function($){ $(".hasTooltip").tooltip({"html": true,"container": "body"}); }); /*=== EASY GOOGLE ANALYTICS : START TRACKING CODE ===*/ var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-XXXXX-X']); _gaq.push(['_trackPageview']); (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); })(); /*=== EASY GOOGLE ANALYTICS : END TRACKING CODE ===*/ </script>]]>
303 <![CDATA[<script type="text/javascript"> jQuery(document).ready(function () { var url = 'http://redec-iv.defesacivil.rj.gov.br/'; function setCookie(c_name,value,exdays,domain) { if (domain) {domain = '; domain=' + domain} var exdate=new Date(); exdate.setDate(exdate.getDate() + exdays); var c_value=escape(value) + ((exdays==null) ? "" : "; expires="+exdate.toUTCString()) + "; path=/" + domain; document.cookie=c_name + "=" + c_value; } function readCookie(name) { var nameEQ = name + "="; var jb = document.cookie.split(';'); for(var i=0;i < jb.length;i++) { var c = jb[i]; while (c.charAt(0)==' ') c = c.substring(1,c.length); if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length); } return null; } var $jb_cookie = jQuery('.jb.cookie'); var $jb_infoaccept = jQuery('.jb.accept'); var jbcookies = readCookie('jbcookies'); if(!(jbcookies == "yes")){ $jb_cookie.delay(1000).slideDown('fast'); $jb_infoaccept.click(function(){ setCookie("jbcookies","yes",90,""); $jb_cookie.slideUp('slow'); jQuery('.jb.cookie-decline').fadeIn('slow', function() {}); }); } jQuery('.jb.decline').click(function(){ setCookie("jbcookies","",0,""); window.location.reload(); }); }); </script>]]>