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

Sites Pertecentes a (o) PB

Endereço Nota Erros Avisos

www.pombal.pb.gov.br/6513-2/

78.46 150 263
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 12 47 706 712 1628 1878 2044 2053 2328 2355 2374 2387 2396
47 <![CDATA[<script> var tdBlocksArray = []; //here we store all the items for the current page //td_block class - each ajax block uses a object of this class for requests function tdBlock() { this.id = ''; this.block_type = 1; //block type id (1-234 etc) this.atts = ''; this.td_column_number = ''; this.td_current_page = 1; // this.post_count = 0; //from wp this.found_posts = 0; //from wp this.max_num_pages = 0; //from wp this.td_filter_value = ''; //current live filter value this.is_ajax_running = false; this.td_user_action = ''; // load more or infinite loader (used by the animation) this.header_color = ''; this.ajax_pagination_infinite_stop = ''; //show load more at page x } // td_js_generator - mini detector (function(){ var htmlTag = document.getElementsByTagName("html")[0]; if ( navigator.userAgent.indexOf("MSIE 10.0") > -1 ) { htmlTag.className += ' ie10'; } if ( !!navigator.userAgent.match(/Trident.*rv\:11\./) ) { htmlTag.className += ' ie11'; } if ( /(iPad|iPhone|iPod)/g.test(navigator.userAgent) ) { htmlTag.className += ' td-md-is-ios'; } var user_agent = navigator.userAgent.toLowerCase(); if ( user_agent.indexOf("android") > -1 ) { htmlTag.className += ' td-md-is-android'; } if ( -1 !== navigator.userAgent.indexOf('Mac OS X') ) { htmlTag.className += ' td-md-is-os-x'; } if ( /chrom(e|ium)/.test(navigator.userAgent.toLowerCase()) ) { htmlTag.className += ' td-md-is-chrome'; } if ( -1 !== navigator.userAgent.indexOf('Firefox') ) { htmlTag.className += ' td-md-is-firefox'; } if ( -1 !== navigator.userAgent.indexOf('Safari') && -1 === navigator.userAgent.indexOf('Chrome') ) { htmlTag.className += ' td-md-is-safari'; } if( -1 !== navigator.userAgent.indexOf('IEMobile') ){ htmlTag.className += ' td-md-is-iemobile'; } })(); var tdLocalCache = {}; ( function () { "use strict"; tdLocalCache = { data: {}, remove: function (resource_id) { delete tdLocalCache.data[resource_id]; }, exist: function (resource_id) { return tdLocalCache.data.hasOwnProperty(resource_id) && tdLocalCache.data[resource_id] !== null; }, get: function (resource_id) { return tdLocalCache.data[resource_id]; }, set: function (resource_id, cachedData) { tdLocalCache.remove(resource_id); tdLocalCache.data[resource_id] = cachedData; } }; })(); var td_viewport_interval_list=[{"limitBottom":767,"sidebarWidth":228},{"limitBottom":1018,"sidebarWidth":300},{"limitBottom":1140,"sidebarWidth":324}]; var td_ajax_url="https:\/\/www.pombal.pb.gov.br\/wp-admin\/admin-ajax.php?td_theme_name=Newspaper&v=8.0"; var td_get_template_directory_uri="https:\/\/www.pombal.pb.gov.br\/wp-content\/themes\/Newspaper"; var tds_snap_menu="snap"; var tds_logo_on_sticky="show_header_logo"; var tds_header_style="7"; var td_please_wait="Aguarde..."; var td_email_user_pass_incorrect="Usu\u00e1rio ou senha incorreta!"; var td_email_user_incorrect="E-mail ou nome de usu\u00e1rio incorreto!"; var td_email_incorrect="E-mail incorreto!"; var tds_more_articles_on_post_enable=""; var tds_more_articles_on_post_time_to_wait=""; var tds_more_articles_on_post_pages_distance_from_top=0; var tds_theme_color_site_wide="#0f365b"; var tds_smart_sidebar="enabled"; var tdThemeName="Newspaper"; var td_magnific_popup_translation_tPrev="Anterior (Seta a esquerda )"; var td_magnific_popup_translation_tNext="Avan\u00e7ar (tecla de seta para a direita)"; var td_magnific_popup_translation_tCounter="%curr% de %total%"; var td_magnific_popup_translation_ajax_tError="O conte\u00fado de %url% n\u00e3o pode ser carregado."; var td_magnific_popup_translation_image_tError="A imagem #%curr% n\u00e3o pode ser carregada."; var td_ad_background_click_link=""; var td_ad_background_click_target=""; </script>]]>
706 <![CDATA[<script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-115746380-1'); </script>]]>
712 <![CDATA[<script type="application/ld+json"> { "@context": "http://schema.org", "@type": "BreadcrumbList", "itemListElement": [{ "@type": "ListItem", "position": 1, "item": { "@type": "WebSite", "@id": "https://www.pombal.pb.gov.br/", "name": "Início" } },{ "@type": "ListItem", "position": 2, "item": { "@type": "WebPage", "@id": "https://www.pombal.pb.gov.br/categorias/leis-municipais/", "name": "Leis Municipais" } },{ "@type": "ListItem", "position": 3, "item": { "@type": "WebPage", "@id": "https://www.pombal.pb.gov.br/6513-2/", "name": "LEI Nº 1.959/2021" } } ] } </script>]]>
1628 <![CDATA[<script type="text/javascript">function mostrarElemento(id, visibilidade){document.getElementById(id).style.display = visibilidade;}</script>]]>
1878 <![CDATA[<script>var block_td_uid_3_652416c323b6b = new tdBlock(); block_td_uid_3_652416c323b6b.id = "td_uid_3_652416c323b6b"; block_td_uid_3_652416c323b6b.atts = '{"limit":"5","sort":"","post_ids":"","tag_slug":"","autors_id":"","installed_post_types":"","category_id":"47","category_ids":"52, 47, 53, 54","custom_title":"","custom_url":"","show_child_cat":"","sub_cat_ajax":"","ajax_pagination":"","header_color":"#","header_text_color":"#","ajax_pagination_infinite_stop":"","td_column_number":1,"td_ajax_preloading":"","td_ajax_filter_type":"","td_ajax_filter_ids":"","td_filter_default_txt":"All","color_preset":"","border_top":"","class":"td_block_widget td_uid_3_652416c323b6b_rand","el_class":"","offset":"","css":"","tdc_css":"","tdc_css_class":"td_uid_3_652416c323b6b_rand","live_filter":"","live_filter_cur_post_id":"","live_filter_cur_post_author":"","block_template_id":""}'; block_td_uid_3_652416c323b6b.td_column_number = "1"; block_td_uid_3_652416c323b6b.block_type = "td_block_slide"; block_td_uid_3_652416c323b6b.post_count = "5"; block_td_uid_3_652416c323b6b.found_posts = "455"; block_td_uid_3_652416c323b6b.header_color = "#"; block_td_uid_3_652416c323b6b.ajax_pagination_infinite_stop = ""; block_td_uid_3_652416c323b6b.max_num_pages = "91"; tdBlocksArray.push(block_td_uid_3_652416c323b6b); </script>]]>
2044 <![CDATA[<script type="text/javascript"> jQuery( document ).ready(function() { jQuery.RealAccessability({ hideOnScroll: false }); }); <!-- /END --> </script>]]>
2053 <![CDATA[<script type="text/javascript"> function determineEnglish() { var body = document.body; var textContent = body.textContent || body.innerText; var textContent = textContent.replace(/\n/g," "); var textContent = textContent.replace(/\r/g," "); var textContent = textContent.replace(/\t/g," "); var textContent = textContent.replace(/ /g,""); var textLeft = textContent.replace(/\W+/g,""); var oldc = textContent.length; var newc = textLeft.length; var ratio = newc/oldc; if(ratio>.8) { return "english"; } else { return "other"; } } window.accPlayerStatus = "uninit"; if(responsiveVoice.voiceSupport() && determineEnglish()=="english") { var obj = document.getElementById("btnAccPlay"); obj.style.cursor="pointer"; } else { document.getElementById("real-accessability-player").style.display="none"; } if(navigator.userAgent.indexOf("OPR")!=-1) { document.getElementById("real-accessability-player").style.display="none"; } function accPlayer(btnType) { // TURN ALL TO GRAY var playObj = document.getElementById("btnAccPlay"); var pauseObj = document.getElementById("btnAccPause"); var stopObj = document.getElementById("btnAccStop"); if(btnType=="play") { if(window.accPlayerStatus=="uninit") { // CHANGE STATUS TO PLAYING window.accPlayerStatus = "playing"; // LOAD THE PAGE CONTENT ALONE var u = location.href; var s = document.createElement("script"); s.setAttribute("type","text/javascript") s.src = "//508fi.org/js/speech.php?u="+encodeURIComponent(u); document.getElementsByTagName("head")[0].appendChild(s); // ASSIGN CORRECT COLORS playObj.src = playObj.src.replace("blue","gray"); stopObj.src = stopObj.src.replace("gray","red"); pauseObj.src = pauseObj.src.replace("gray","blue"); } else if(window.accPlayerStatus=="playing") { } else if(window.accPlayerStatus=="paused") { // CHANGE STATUS TO PLAYING window.accPlayerStatus = "playing"; // RESUME PLAYING responsiveVoice.resume(); // ASSIGN CORRECT COLORS playObj.src = playObj.src.replace("blue","gray"); stopObj.src = stopObj.src.replace("gray","red"); pauseObj.src = pauseObj.src.replace("gray","blue"); } else if(window.accPlayerStatus=="stopped") { // CHANGE STATUS TO PLAYING window.accPlayerStatus = "playing"; // LOAD THE PAGE CONTENT ALONE var u = location.href; var s = document.createElement("script"); s.setAttribute("type","text/javascript") s.src = "//508fi.org/js/speech.php?u="+encodeURIComponent(u); document.getElementsByTagName("head")[0].appendChild(s); // ASSIGN CORRECT COLORS playObj.src = playObj.src.replace("blue","gray"); stopObj.src = stopObj.src.replace("gray","red"); pauseObj.src = pauseObj.src.replace("gray","blue"); } else { } } else if(btnType=="pause") { if(window.accPlayerStatus=="uninit") { } else if(window.accPlayerStatus=="playing") { // CHANGE STATUS TO PLAYING window.accPlayerStatus = "paused"; // PAUSE READING responsiveVoice.pause(); // ASSIGN CORRECT COLORS playObj.src = playObj.src.replace("gray","blue"); stopObj.src = stopObj.src.replace("gray","red"); pauseObj.src = pauseObj.src.replace("blue","gray"); } else if(window.accPlayerStatus=="paused") { } else if(window.accPlayerStatus=="stopped") { } else { } } else if(btnType=="stop") { if(window.accPlayerStatus=="uninit") { } else if(window.accPlayerStatus=="playing") { // STOP READING responsiveVoice.cancel(); // ASSIGN CORRECT COLORS playObj.src = playObj.src.replace("gray","blue"); stopObj.src = stopObj.src.replace("red","gray"); pauseObj.src = pauseObj.src.replace("blue","gray"); } else if(window.accPlayerStatus=="paused") { // STOP READING responsiveVoice.cancel(); // ASSIGN CORRECT COLORS playObj.src = playObj.src.replace("gray","blue"); stopObj.src = stopObj.src.replace("red","gray"); pauseObj.src = pauseObj.src.replace("blue","gray"); } else if(window.accPlayerStatus=="stopped") { } else {} } else {} } </script>]]>
2328 <![CDATA[<script> window.onload = function() { setTimeout(function(){ const btnCookie = document.querySelector('#btnPrivacidade'); const modalPrivacidade = document.querySelector('.politica_de_privacidade'); const modalCookie = document.cookie.includes('modal=politicaDePrivacidade'); if(modalCookie){ modalPrivacidade.classList.add('active'); } else { modalPrivacidade.classList.add('efeito'); btnCookie.addEventListener('click', (e) => { e.preventDefault(); modalPrivacidade.classList.add('active'); const dataAtual = new Date(); const dataExpiracao = new Date(dataAtual); dataExpiracao.setMonth(dataExpiracao.getMonth()+1); document.cookie = 'modal=politicaDePrivacidade;expires='+dataExpiracao; }) } }, 3000); }; </script>]]>
2355 <![CDATA[<script type="text/javascript">function openUrl(url, name) { var width=1280; var height=650; var left=25; var top=10; window.open(url, name, 'width='+width+', height='+height+', top='+top+', left='+left+', scrollbars=yes, status=no, toolbar=no, location=no, directories=no, menubar=no, resizable=no, fullscreen=no'); } function openUrlInNewTab(url, element) { var el = document.querySelector(element); el.addEventListener("click", function() { window.open(url, "_blank"); }); } </script>]]>
2374 <![CDATA[<script type='text/javascript' id='contact-form-7-js-extra'> /* <![CDATA[ */ var wpcf7 = {"api":{"root":"https:\/\/www.pombal.pb.gov.br\/wp-json\/","namespace":"contact-form-7\/v1"},"cached":"1"}; /* ]]> */ </script>]]>
2387 <![CDATA[<script type='text/javascript' id='wpcf7-recaptcha-js-extra'> /* <![CDATA[ */ var wpcf7_recaptcha = {"sitekey":"6LfMe4IUAAAAAGro3NgC10cdI-mk0ipaq6MzHkS2","actions":{"homepage":"homepage","contactform":"contactform"}}; /* ]]> */ </script>]]>
2396 <![CDATA[<script> jQuery(document).ready(function() { jQuery("#td_uid_4_652416c332389").iosSlider({ snapToChildren: true, desktopClickDrag: true, keyboardControls: false, responsiveSlideContainer: true, responsiveSlides: true, autoSlide: true, autoSlideTimer: 6000, infiniteSlider: true, navPrevSelector: jQuery("#td_uid_4_652416c332389 .prevButton"), navNextSelector: jQuery("#td_uid_4_652416c332389 .nextButton") , //onSliderLoaded : td_resize_normal_slide, //onSliderResize : td_resize_normal_slide_and_update }); }); (function(){ var html_jquery_obj = jQuery('html'); if (html_jquery_obj.length && (html_jquery_obj.is('.ie8') || html_jquery_obj.is('.ie9'))) { var path = 'https://www.pombal.pb.gov.br/wp-content/themes/Newspaper/style.css'; jQuery.get(path, function(data) { var str_split_separator = '#td_css_split_separator'; var arr_splits = data.split(str_split_separator); var arr_length = arr_splits.length; if (arr_length > 1) { var dir_path = 'https://www.pombal.pb.gov.br/wp-content/themes/Newspaper'; var splited_css = ''; for (var i = 0; i < arr_length; i++) { if (i > 0) { arr_splits[i] = str_split_separator + ' ' + arr_splits[i]; } //jQuery('head').append('<style>' + arr_splits[i] + '</style>'); var formated_str = arr_splits[i].replace(/\surl\(\'(?!data\:)/gi, function regex_function(str) { return ' url(\'' + dir_path + '/' + str.replace(/url\(\'/gi, '').replace(/^\s+|\s+$/gm,''); }); splited_css += "<style>" + formated_str + "</style>"; } var td_theme_css = jQuery('link#td-theme-css'); if (td_theme_css.length) { td_theme_css.after(splited_css); } } }); } })(); </script>]]>