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

Sites Pertecentes a (o) MG

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 51 67 265 305 376 459 498 502 506
51 <![CDATA[<script type="application/json" class="joomla-script-options new">{"csrf.token":"59c1110c97d79bdf5f19fc92a41b65b9","system.paths":{"root":"","base":""}}</script>]]>
67 <![CDATA[<script type="text/javascript"> jQuery(document).ready(function(){ jQuery("#phModalPlay").on("hidden.bs.modal", function (e) { jQuery("#phModalPlay iframe").attr("src", jQuery("#phModalPlay iframe").attr("src")); jQuery("audio").each(function(){this.pause();this.currentTime = 0;}); jQuery("video").each(function(){this.pause();this.currentTime = 0;}); }); jQuery(".pd-modal-button").on("click", function () { var $target = jQuery(this).data("target"); var $href = jQuery(this).data("href"); var $body = $target + "Body"; var $dialog = $target + "Dialog"; var $height = jQuery(this).data("height"); var $width = jQuery(this).data("width"); var $heightD= jQuery(this).data("height-dialog"); var $widthD = jQuery(this).data("width-dialog"); var $type = jQuery(this).data("type"); jQuery($body).css("height", $height); jQuery($target).css("width", $width); jQuery($body).css("overflow-y", "auto"); jQuery($dialog).css("height", $heightD); jQuery($dialog).css("width", $widthD); if ($type == "image") { jQuery($body).html('<img class="img-responsive" src="' + $href + '" />'); } else if ($type == "document") { $widthD = $widthD -50; $heightD = $heightD -40; jQuery($body).html('<object type="application/pdf" data="' + $href + '" width="' + $widthD + '" height="' + $heightD + '" ></object>'); } else { jQuery($body).load($href, function (response, status, xhr) { if (status == "success") { /*jQuery($target).modal({ show: true });*/ } }); } }); }); jQuery(function($) { SqueezeBox.initialize({}); initSqueezeBox(); $(document).on('subform-row-add', initSqueezeBox); function initSqueezeBox(event, container) { SqueezeBox.assign($(container || document).find('a.pd-modal-button').get(), { parse: 'rel' }); } }); window.jModalClose = function () { SqueezeBox.close(); }; // Add extra modal close functionality for tinyMCE-based editors document.onreadystatechange = function () { if (document.readyState == 'interactive' && typeof tinyMCE != 'undefined' && tinyMCE) { if (typeof window.jModalClose_no_tinyMCE === 'undefined') { window.jModalClose_no_tinyMCE = typeof(jModalClose) == 'function' ? jModalClose : false; jModalClose = function () { if (window.jModalClose_no_tinyMCE) window.jModalClose_no_tinyMCE.apply(this, arguments); tinyMCE.activeEditor.windowManager.close(); }; } if (typeof window.SqueezeBoxClose_no_tinyMCE === 'undefined') { if (typeof(SqueezeBox) == 'undefined') SqueezeBox = {}; window.SqueezeBoxClose_no_tinyMCE = typeof(SqueezeBox.close) == 'function' ? SqueezeBox.close : false; SqueezeBox.close = function () { if (window.SqueezeBoxClose_no_tinyMCE) window.SqueezeBoxClose_no_tinyMCE.apply(this, arguments); tinyMCE.activeEditor.windowManager.close(); }; } } }; jQuery(function($) { SqueezeBox.initialize({}); initSqueezeBox(); $(document).on('subform-row-add', initSqueezeBox); function initSqueezeBox(event, container) { SqueezeBox.assign($(container || document).find('a.modal').get(), { parse: 'rel' }); } }); window.jModalClose = function () { SqueezeBox.close(); }; // Add extra modal close functionality for tinyMCE-based editors document.onreadystatechange = function () { if (document.readyState == 'interactive' && typeof tinyMCE != 'undefined' && tinyMCE) { if (typeof window.jModalClose_no_tinyMCE === 'undefined') { window.jModalClose_no_tinyMCE = typeof(jModalClose) == 'function' ? jModalClose : false; jModalClose = function () { if (window.jModalClose_no_tinyMCE) window.jModalClose_no_tinyMCE.apply(this, arguments); tinyMCE.activeEditor.windowManager.close(); }; } if (typeof window.SqueezeBoxClose_no_tinyMCE === 'undefined') { if (typeof(SqueezeBox) == 'undefined') SqueezeBox = {}; window.SqueezeBoxClose_no_tinyMCE = typeof(SqueezeBox.close) == 'function' ? SqueezeBox.close : false; SqueezeBox.close = function () { if (window.SqueezeBoxClose_no_tinyMCE) window.SqueezeBoxClose_no_tinyMCE.apply(this, arguments); tinyMCE.activeEditor.windowManager.close(); }; } } }; window.addEvent("load", function() { SqueezeBox.open('https://www.ibia.mg.gov.br/images/CRONOGRAMA_VACINAO_31_01_2022.png',{handler: 'image'}); }); jQuery(function($) { SqueezeBox.initialize({}); initSqueezeBox(); $(document).on('subform-row-add', initSqueezeBox); function initSqueezeBox(event, container) { SqueezeBox.assign($(container || document).find('a.pg-modal-button').get(), { parse: 'rel' }); } }); window.jModalClose = function () { SqueezeBox.close(); }; // Add extra modal close functionality for tinyMCE-based editors document.onreadystatechange = function () { if (document.readyState == 'interactive' && typeof tinyMCE != 'undefined' && tinyMCE) { if (typeof window.jModalClose_no_tinyMCE === 'undefined') { window.jModalClose_no_tinyMCE = typeof(jModalClose) == 'function' ? jModalClose : false; jModalClose = function () { if (window.jModalClose_no_tinyMCE) window.jModalClose_no_tinyMCE.apply(this, arguments); tinyMCE.activeEditor.windowManager.close(); }; } if (typeof window.SqueezeBoxClose_no_tinyMCE === 'undefined') { if (typeof(SqueezeBox) == 'undefined') SqueezeBox = {}; window.SqueezeBoxClose_no_tinyMCE = typeof(SqueezeBox.close) == 'function' ? SqueezeBox.close : false; SqueezeBox.close = function () { if (window.SqueezeBoxClose_no_tinyMCE) window.SqueezeBoxClose_no_tinyMCE.apply(this, arguments); tinyMCE.activeEditor.windowManager.close(); }; } } }; /*=== EASY GOOGLE ANALYTICS : START TRACKING CODE ===*/ (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','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-173695050-1', 'mg.gov.br'); ga('send', 'pageview'); /*=== EASY GOOGLE ANALYTICS : END TRACKING CODE ===*/ </script>]]>
265 <![CDATA[<script type="text/javascript"> Shadowbox.init({ overlayColor: '#000',overlayOpacity:0.5,resizeDuration:0.35,displayCounter:true,displayNav:true, slideshowDelay: 5 }); </script>]]>
305 <![CDATA[<script type='text/javascript'> document.getElementById('cloak7ad05d03d35ea5a969cefacca1f94e93').innerHTML = ''; var prefix = '&#109;a' + 'i&#108;' + '&#116;o'; var path = 'hr' + 'ef' + '='; var addy7ad05d03d35ea5a969cefacca1f94e93 = 'l&#105;c&#105;t&#97;c&#97;&#111;' + '&#64;'; addy7ad05d03d35ea5a969cefacca1f94e93 = addy7ad05d03d35ea5a969cefacca1f94e93 + '&#105;b&#105;&#97;' + '&#46;' + 'mg' + '&#46;' + 'g&#111;v' + '&#46;' + 'br'; var addy_text7ad05d03d35ea5a969cefacca1f94e93 = 'l&#105;c&#105;t&#97;c&#97;&#111;' + '&#64;' + '&#105;b&#105;&#97;' + '&#46;' + 'mg' + '&#46;' + 'g&#111;v' + '&#46;' + 'br';document.getElementById('cloak7ad05d03d35ea5a969cefacca1f94e93').innerHTML += '<a ' + path + '\'' + prefix + ':' + addy7ad05d03d35ea5a969cefacca1f94e93 + '\'>'+addy_text7ad05d03d35ea5a969cefacca1f94e93+'<\/a>'; </script>]]>
376 <![CDATA[<script type="text/javascript"> function S5QCTSubmit() { jQuery('button.g-recaptcha').off().on('click', function() { S5QCTSubmit(); }) s5_qc_submit(); } function s5_qc_isValidEmail(str_email) { if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(str_email)) { alert("Muito obrigado! Seu email foi enviado com sucesso..."); document.s5_quick_contact.submit(); } else { alert("Você inseriu um email inválido, por favor tente novamente."); document.getElementById("s5_qc_emailbox").className = "inputbox s5_qc_required"; } } var s5_qc_subject_type = "user"; var s5_qc_spambox_text = "Anti-spam..."; var s5_qc_subject_text = "Assunto..."; var s5_qc_name_text = "Nome..."; var s5_qc_email_text = "Email..."; var s5_qc_field1_text = "Mensagem..."; var s5_qc_field2_text = "Field 2..."; var s5_qc_field3_text = "Field 3..."; var s5_qc_field4_text = "Field 4..."; var s5_qc_field5_text = "Field 5..."; var s5_qc_field6_text = "Field 6..."; var s5_qc_field7_text = "Field 7..."; var s5_qc_field8_text = "Field 8..."; var s5_qc_field9_text = "Field 9..."; var s5_qc_field10_text = "Field 10..."; function s5_qc_clear_inputs(s5_qc_click_id) { s5_qc_clear_inputs_values(s5_qc_click_id); } var s5_qc_field1_type = "textarea_required"; var s5_qc_field2_type = "1"; var s5_qc_field3_type = "1"; var s5_qc_field4_type = "1"; var s5_qc_field5_type = "1"; var s5_qc_field6_type = "1"; var s5_qc_field7_type = "1"; var s5_qc_field8_type = "1"; var s5_qc_field9_type = "1"; var s5_qc_field10_type = "1"; var s5_qc_required_missing = "no"; var s5_qc_all_content = ""; function s5_qc_submit() { s5_qc_check_required(); if (s5_qc_required_missing == "yes") { alert("Todos os campos do formulário são obrigatórios."); return false; } s5_qc_find_all_values(); if (s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0) { return false; } else { var email_str = document.getElementById("s5_qc_emailbox").value; s5_qc_isValidEmail(email_str); } } function s5_qc_load_pikaday() { } function s5_qc_load_pikaday_timer() { window.setTimeout(s5_qc_load_pikaday,500); } window.onload = s5_qc_load_pikaday_timer(); </script>]]>
459 <![CDATA[<script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/pt_BR/sdk.js#xfbml=1&version=v2.4"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script>]]>
498 <![CDATA[<script> new window.VLibras.Widget('https://vlibras.gov.br/app'); </script>]]>
502 <![CDATA[<script> new WOW().init(); </script>]]>
506 <![CDATA[<script> (function(){ const containers = document.querySelectorAll('div#phoca-dl-category-box .pd-fdesc'); containers.forEach(function(container) { let p = container.querySelector('p'); let initialHeight = container.getBoundingClientRect().height; let height = p.getBoundingClientRect().height; let btn = document.createElement('button'); btn.innerHTML = 'Mais detalhes'; btn.type = 'button'; btn.className = 'phocadownload-read-more-btn'; btn.onclick = function() { if(btn.classList.contains('opened')) { // container.style.maxHeight = `${initialHeight}px`; container.classList.remove('opened'); btn.classList.remove('opened'); btn.innerHTML = 'Mais detalhes'; } else { // container.style.maxHeight = `${height}px`; container.classList.add('opened'); btn.classList.add('opened'); btn.innerHTML = 'Minimizar'; } }; container.parentElement.appendChild(btn); }); }()); </script>]]>