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

Endereço Nota Erros Avisos

www.irupi.es.gov.br/comunicados/7

90.04 84 233
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 16 8 156 841 1348 1369 1392 1405 1645 1773 1783 1826 1922 2272 2356 2372 2383
8 <![CDATA[<script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-GZ4SHV01P2'); </script>]]>
156 <![CDATA[<script type="application/ld+json"> { "@context": "http:\/\/schema.org", "@type": "Organization", "name": "Prefeitura Municipal de Irupi\/ES", "url": "https:\/\/www.irupi.es.gov.br\/", "address": "R Jalmas Gomes de Freitas, 151 - Irupi- ES", "sameAs": [] } </script>]]>
841 <![CDATA[<script type="text/javascript"> jQuery(document).ready( function(){ $('.footer-style-2-category__anchor').on('click', function(event) { event.preventDefault(); /* Act on the event */ $('.footer-style-2-category__anchor').removeClass('footer-style-2-category__anchor--active'); $('.footer-style-2-category__list-wrap').css('max-height', '0'); $(this).addClass('footer-style-2-category__anchor--active'); var hdiv = $(this).nextAll(".footer-style-2-category__list-wrap").first().height(); if (hdiv == 0) { //$(this).parents('.footer-style-2-category__anchor').removeClass('footer-style-2-category__anchor--active'); $(this).nextAll(".footer-style-2-category__list-wrap").first().css('max-height', '100%'); } }); }); </script>]]>
1348 <![CDATA[<script type="text/javascript"> // $('#menu_top li ul li.nav-item a.nav-link > div').on('mouseover mouseout', function() { // $(this).find('i').toggleClass('fa-chevron-down fa-chevron-right') // }); </script>]]>
1369 <![CDATA[<script> var site_url = 'https://www.irupi.es.gov.br/'; var nonceID = 'csrf_token_name'; var nonce = 'af477dd269fe7a09785b7c0e5eba830a'; </script>]]>
1392 <![CDATA[<script type="text/javascript"> $('a[href$=".pdf"]').not('.ver').attr('download', '').attr('target', '_blank'); // $('.verpdf').magnificPopup({ // disableOn: 700, // type: 'iframe', // mainClass: 'mfp-fade', // removalDelay: 160, // preloader: false, // fixedContentPos: false // }); </script>]]>
1405 <![CDATA[<script type="text/javascript"> function call_debounce(funcao, time, debounce_timeout) { clearTimeout(debounce_timeout); return debounce_timeout = setTimeout(funcao, time) } function show_libras(action) { var vlibras = (localStorage.getItem("_showVlibras") !== null) ? localStorage.getItem("_showVlibras") : 0; var vlibras_include = $("#vlibras_include"); if (typeof action === "undefined" || action === null) { action = vlibras } if (action || action === 1) { if (vlibras_include.find("div[vw-access-button]").hasClass("active")) { vlibras_include.find("div[vw-access-button]").trigger("click") } localStorage.setItem("_showVlibras", action) } else { if (!vlibras_include.find("div[vw-access-button]").hasClass("active")) { vlibras_include.find("img.vpw-settings-btn-close").trigger("click") } localStorage.removeItem("_showVlibras") } } function show_pesquisa() { var btn_pesquisa = $("#pesquisa"); var modal_search_open = $('#search').is(':visible');//$('#search').hasClass('show'); //console.log(modal_search_open); //console.log(($("#search").data('bs.modal') || {isShown: false}).isShown); //console.log($('#search').is(':visible')); if (modal_search_open){ console.log('estava aberto'); } else { btn_pesquisa.trigger("click"); $('#busca_interna').focus(); // $('#busca_interna').focus(function(event) { // console.log('foquei'); // }); } //console.log($("#search").data('bs.modal')?._isShown); // if (btn_pesquisa.find("div[vw-access-button]").hasClass("active")) { // btn_pesquisa.find("div[vw-access-button]").trigger("click") // } } // shows a given element and hides all others function showViaKeypress(element_id) { $(element_id).slideDown("slow"); $('html, body').animate({ scrollTop: $("#element_id").offset().top }, 2000); } // function KeyCheck(e) // { // var KeyID = (window.event) ? event.keyCode : e.keyCode; // switch(KeyID) // { // case 18: // alert ("Alt"); // break; // case 17: // alert ("Ctrl"); // setTimeout(function() { // show_libras(!0) // }, 100) // break; // } // } function atalhos() { var url = site_url || window.location.origin + "/"; /* * https://www.freecodecamp.org/news/javascript-keycode-list-keypress-event-key-codes/ * https://github.com/wp-plugins/wp-hotkeys/blob/master/lib/js/wp-hotkeys.js * https://stackoverflow.com/questions/28158262/detect-altgr-key-using-javascript * https://stackoverflow.com/questions/17857404/why-does-alt-gr-have-the-same-keycode-as-ctrl * https://code.tutsplus.com/tutorials/how-to-create-a-keypress-navigation-using-jquery--net-30 * https://github.com/johnbillion/wordpress-keyboard-shortcuts/blob/master/js/shortcuts.js (https://rawgit.com/jeresig/jquery.hotkeys/master/test-static-01.html) * *https://www.toptal.com/developers/keycode *CTRL = 17, Alt = 18, AltGR = 18 (225 firefox) * AltGR : * { "key": "AltGraph", (no firefox, pode ser 225) "keyCode": 18, "which": 18, "code": "AltRight", "location": 2, "altKey": false, "ctrlKey": false, "metaKey": false, "shiftKey": false, "repeat": false } AltRight(225) BracketRight(171) Equal(187) * Alt : * { "key": "Alt", "keyCode": 18, "which": 18, "code": "AltLeft", "location": 1, "altKey": true, "ctrlKey": false, "metaKey": false, "shiftKey": false, "repeat": false } https://github.com/loliconaoquadrado123/loliconaoquadrado123.github.io/blob/46a672eae9bfc3a2f17204c59a9377a35375ecb1/main.js https://github.com/strdr4605/ludum-dare-39/blob/0686cdd1030f14297a96f5023414b10df0c35bb5/Roop/src/Input.js https://github.com/benolayinka/rover-client/blob/1290f6975a6144f142fdc55c79068c429c344482/client.js https://github.com/djmarcosban/caldazinha/blob/d7ab05fbfabc18085b2b052741bcb48bb0f1ba63/js/script.func.js */ var keys = {}; var updateKeys = function() { var pressed = []; for (var key in keys) { pressed.push(key); } //console.log(pressed); // Teclas AltGr + 0 if ((pressed.includes('225') || (pressed.includes('17') && pressed.includes('18'))) && (pressed.includes('48') || pressed.includes('96'))) { window.location = url + 'acessibilidade'; keys = {} } // Teclas AltGr + 1 if ((pressed.includes('225') || (pressed.includes('17') && pressed.includes('18'))) && (pressed.includes('49') || pressed.includes('97'))) { window.location = url; keys = {} } // Teclas AltGr + 2 if ((pressed.includes('225') || (pressed.includes('17') && pressed.includes('18'))) && (pressed.includes('50') || pressed.includes('98'))) { window.location = url + 'mapa-site'; keys = {} } // Teclas AltGr + 3 if ((pressed.includes('225') || (pressed.includes('17') && pressed.includes('18'))) && (pressed.includes('51') || pressed.includes('99'))) { console.log(' AltGr + 3 '); show_pesquisa(); // window.location = url + '#pesquisa'; // const _search = document.querySelector("footer"); // _footer && window.scrollTo({ // top: _footer.offsetTop, // behavior: "smooth" // }) keys = {} } // Teclas AltGr + 4 // footer if ((pressed.includes('225') || (pressed.includes('17') && pressed.includes('18'))) && (pressed.includes('52') || pressed.includes('100'))) { console.log(' AltGr + 4 '); const _footer = document.querySelector("footer"); _footer && window.scrollTo({ top: _footer.offsetTop, behavior: "smooth" }) keys = {} } // Teclas AltGr + 5 // topo if ((pressed.includes('225') || (pressed.includes('17') && pressed.includes('18'))) && (pressed.includes('53') || pressed.includes('101'))) { console.log(' AltGr + 5 '); const _topo = document.querySelector("body"); _topo && window.scrollTo({ top: _topo.offsetTop, behavior: "smooth" }) keys = {} } // Teclas AltGr + 6 // vlibras if ((pressed.includes('225') || (pressed.includes('17') && pressed.includes('18'))) && (pressed.includes('54') || pressed.includes('102'))) { console.log(' AltGr + 6 '); setTimeout(function() { show_libras(1) }, 100) keys = {} } }; document.onkeydown = function(e) { keys[e.keyCode] = true; updateKeys(); }; document.onkeyup = function() { keys = {}; updateKeys(); }; } function show_termos() { politicaPrivacidade = $('#privacidade'); privacidadeAceita = localStorage.getItem("politicaAceita"); //console.log('privacy:' + privacidadeAceita); if ((!privacidadeAceita || parseInt(privacidadeAceita) != 1 ) ) { //console.log('to passando'); politicaPrivacidade.removeClass('d-none'); politicaPrivacidade.show(); } // if (politicaPrivacidade.html()) { // if (localStorage.getItem("politicaAceita") == '0') { // politicaPrivacidade.hide(); // } // } $('#aceitar-termos').on('click', function() { localStorage.setItem("politicaAceita", '1'); $('#privacidade').hide(); }); } $(function () { //document.onkeyup = KeyCheck; atalhos(); show_termos(); }); </script>]]>
1645 <![CDATA[<script type="text/javascript"> $(document).ready(function () { if ($(window).width() <= 997) { $('.btn-ligar').show(); } $(window).resize(function () { if ($(window).width() <= 997) { $('.btn-ligar').show(); } else { $('.btn-ligar').hide(); } }); }); (function() { var v = document.getElementsByClassName("youtube-player"); var iframePrincipal = document.getElementsByClassName("box_video_principal"); for (var n = 0; n < v.length; n++) { var p = document.createElement("div"); p.innerHTML = videoThumb(v[n].dataset.id); p.onclick = videoIframe; v[n].appendChild(p); } })(); function videoThumb(id) { return '<img class="youtube-thumb" src="https://i.ytimg.com/vi/' + id + '/hqdefault.jpg"><div class="play-button"></div>'; } function videoIframe() { var iframe = document.createElement("iframe"); iframe.setAttribute("class", "embed-responsive-item"); iframe.setAttribute("id", "youtube_frame"); iframe.setAttribute("src", "//www.youtube.com/embed/" + this.parentNode.dataset.id + "?autoplay=1&rel=0&autohide=2&border=0&wmode=opaque&enablejsapi=1&controls=0&showinfo=0"); iframe.setAttribute("frameborder", "0"); iframe.setAttribute("width", "100%"); //iframe.setAttribute("height", "650"); iframe.setAttribute("id", "youtube-iframe"); //this.parentNode.replaceChild(iframe, this); $("div.embed-responsive").html(iframe); } function popupCompartilhar(url){ window.open(url,'sharer','toolbar=0,status=0,width=648,height=395'); return true; } _topNav(); function _topNav() { window.scrollTop = 0; // jQuery(window).scroll(function() { // _toTop(); // }); // Mobile Submenu var addActiveClass = false; jQuery("#topMain a.dropdown-toggle").bind("click", function(e) { if(jQuery(this).attr('href') == '#') { e.preventDefault(); } addActiveClass = jQuery(this).parent().hasClass("resp-active"); jQuery("#topMain").find(".resp-active").removeClass("resp-active"); if(!addActiveClass) { jQuery(this).parents("li").addClass("resp-active"); } return; }); // Drop Downs - do not hide on click jQuery("#topMain li.dropdown, #topMain a.dropdown-toggle").bind("click", function(e) { e.stopPropagation(); }); // IE11 Bugfix // Version 1.1 // Wednesday, July 23, 2014 if(jQuery("html").hasClass("ie") || jQuery("html").hasClass("ff3")) { jQuery("#topNav ul.nav > li.mega-menu div").addClass('block'); jQuery("#topNav ul.nav > li.mega-menu div div").addClass('pull-left'); } } $('.imagem-item').magnificPopup({ type: 'image', gallery:{ enabled:true } }); // $('.popup-youtube').magnificPopup({ // disableOn: 300, // type: 'iframe', // //mainClass: 'mfp-fade', // removalDelay: 160, // preloader: false, // fixedContentPos: false // }); // $('.popup-youtube').click(function () { // return false; // }); $('#drawerExample').drawer({ toggle: false }); $('#drawerExample').drawer({ toggle: false, trigger: '[data-toggle="drawer"]' }); function resetForm($form) { $form.find('input:text, input:password, input:file, select, textarea').val(''); $form.find('input:radio, input:checkbox').removeAttr('checked').removeAttr('selected'); } </script>]]>
1773 <![CDATA[<script> var lazy = function lazy() { document.addEventListener('lazyloaded', function (e) { e.target.parentNode.classList.add('image-loaded'); e.target.parentNode.classList.remove('loading'); }); } lazy(); </script>]]>
1783 <![CDATA[<script> var $pagetitle = jQuery('#page-title-wrapper'), pageTitleOffset = 0; function stickyPageTitle( pageTitleOffset ){ if( $pagetitle.length < 1 ) { return true; } if ( jQuery(window).scrollTop() > pageTitleOffset ) { if( jQuery('body').hasClass('device-xl') || jQuery('body').hasClass('device-lg') ) { $pagetitle.addClass('sticky-page-title'); } else { $pagetitle.removeClass('sticky-page-title'); } } else { $pagetitle.removeClass('sticky-page-title'); } } function pageTitleHeight() { $pagetitle.css({ 'height': jQuery('#page-title').outerHeight() }); } stickyPageTitle( pageTitleOffset ); jQuery(document).ready( function(){ pageTitleHeight(); pageTitleOffset = $pagetitle.length ? $pagetitle.offset().top - jQuery('#header-wrap').outerHeight() : 0 ; }); jQuery(window).on( 'resize', function(){ pageTitleHeight(); setTimeout( function(){ pageTitleOffset = $pagetitle.length ? $pagetitle.offset().top - jQuery('#header-wrap').outerHeight() : 0; }, 500); }); jQuery(window).on( 'scroll', function(){ stickyPageTitle( pageTitleOffset ); }); </script>]]>
1826 <![CDATA[<script type="text/javascript"> $("#galeriaDetalhe").justifiedGallery({ rowHeight : 200, lastRow : 'nojustify', margins : 3 }); $(document).ready(function() { try { if ($.browser.opera) { $('a[href]').attr('tabindex', 0); } } catch (err) {} $('#show-privacy .go').on('click', function() { localStorage.setItem("privacyok", true); $('#show-privacy').hide(); }); privacy_ok = $('#show-privacy'); if (privacy_ok.html()) { if (localStorage.getItem("privacyok")) { privacy_ok.hide(); } } // $("#topMain>li").focusin(function() { // $("#topMain li").removeClass('active'); // $(this).addClass('active'); // $(this).find('ul').attr('aria-hidden', 'false'); // menuAberto = true; // }); // $('*').focusin(function() { // if (menuAberto) { // if (!($("#topMain>li a").is(":focus"))) { // $("#topMain li").removeClass('active'); // $("#topMain li").find('ul').attr('aria-hidden', 'true'); // menuAberto = false; // } // } // }); // $("#topMain>li").mouseout(function() { // $("#topMain li").removeClass('active'); // $("#topMain li").find('ul').attr('aria-hidden', 'true'); // menuAberto = false; // }); // jQuery("#hideMenuAcessibilidade, #showMenuAcessibilidade").click(function() { // marginLeft = jQuery("#showMenuAcessibilidade").css('margin-left'); // if (marginLeft == '0px') { // var _identifier = "#showMenuAcessibilidade"; // jQuery("#menuAcessibilidade").animate({ // "margin-left": "0px" // }, 500); // $('#linkConteudo').focus(); // } else { // var _identifier = "#menuAcessibilidade"; // jQuery("#showMenuAcessibilidade").show().animate({ // "margin-left": "0" // }, 500); // } // jQuery(_identifier).animate({ // "margin-left": "-500px" // }, 500, function() {}); // return false; // }); // var fonteOriginal = 14; // $("#aumentarFonte").click(function() { // tamanhoFonte = $('body').css('font-size'); // tamanhoFonte = parseInt(tamanhoFonte.substr(0, 2)); // if (tamanhoFonte <= 16) { // tamanhoFonte++; // $('body').css('font-size', tamanhoFonte); // } // }); // $("#diminuirFonte").click(function() { // tamanhoFonte = $('body').css('font-size'); // tamanhoFonte = parseInt(tamanhoFonte.substr(0, 2)); // if (tamanhoFonte >= 10) { // tamanhoFonte--; // $('body').css('font-size', tamanhoFonte); // } // }); // $("#fonteOriginal").click(function() { // $('body').css('font-size', fonteOriginal); // }); // jQuery("input.contraste").bind("click", function() { // var color_skin = jQuery(this).attr('value'); // if (color_skin == 'contraste') { // jQuery("#css_contraste").remove(); // jQuery("head").append('<link id="css_contraste" href="' + siteurl + '/site/custom/default/css/contraste.css" rel="stylesheet" type="text/css" title="dark" />'); // } else { // jQuery("#css_contraste").remove(); // } // }); }); </script>]]>
1922 <![CDATA[<script> /** * BS Pretty Tabs **/ !function(e){ (function ($) { function bsPrettyTabs($element, options) { this.element = $element[0]; this.$element = $element; this.overflowElements = []; this.elementsWidth = 0; this.lastExecutedBR = 0; this.handleBR = false; this.enable = true; this.options = $.extend({ childClass: false, mustDisplayClass: false, menuContainerTag: 'div', menuContainerClass: 'bs-pretty-tabs-container', menuContainerPosition: 'beginning', // beginning|end itemsWrapperSelector: false, moreContainer: '<a href="#" class="bs-pretty-tabs-more">More <i class="fa fa-angle-down" aria-hidden="true"></i></a><div class="bs-pretty-tabs-elements"></div>', getContainerWidth: function(width) { return width; }, initWrapperContainer: function ($wrapper) { return $wrapper; }, styleChangesAt: [] //breakpoint list }, options); if(this.options.styleChangesAt.length) { this.handleBR = true; this.options.styleChangesAt = this.options.styleChangesAt.sort(function(a,b) { return a>b; }); } this.init(); } $.extend(bsPrettyTabs.prototype, { init: function () { var self = this; function prettyTabsInit() { /** * handle brakpoints */ if (self.handleBR && self.enable) { var currentBR = self.getCurrentBR(); if (currentBR !== self.lastExecutedBR) { self.retrieveElements(true); self.getItems() .each(function () { var $el = $(this); self._updateElementWidth($el); }); self.lastExecutedBR = currentBR; } } self.handlePrettyTabs(); } $(window).on('resize.bsPrettyTabs', prettyTabsInit); self.$element.addClass('bs-pretty-tabs bs-pretty-tabs-initialized'); prettyTabsInit(); }, getItemsWrapper: function() { var $wrapper; if(this.options.itemsWrapperSelector) { $wrapper = this.$element.find(this.options.itemsWrapperSelector); } else { $wrapper = this.$element; } return $wrapper; }, getItems:function(selector) { return this.getItemsWrapper().children(selector); }, getCurrentBR: function() { var result = 0; for(i = 0 ; i < this.options.styleChangesAt.length; i++) { if(this.options.styleChangesAt[i] >= window.outerWidth) { result = this.options.styleChangesAt[i]; break; } } return result; }, handlePrettyTabs: function () { var self = this; if(! self.enable) { return; } self.collectOverflowElements(); if (self.overflowElements.length) { self.overflowElements.forEach(function ($el) { self.moveToInvisibleContainer($el); }); } else { self.retrieveElements(); } // hide more tab if its overflowed otherwise display it var totalWidth = this._getTotalWidth(), moreTabWidth = this._getMenuLinkWidth(), $menuContainer = this._getMenuContainer(); if(totalWidth < moreTabWidth ) { $menuContainer.hide(); } else { var containerWidth = totalWidth; self._getVisibleElement().each(function() { containerWidth -= self._getElementWidth($(this)); }); $menuContainer[moreTabWidth <= containerWidth && self._getInvisibleElements().length ? 'show' : 'hide'](); } this.$element.trigger('after-pretty-tabs',[this]); }, retrieveElements: function (retrieveAll) { var totalWidth = this.options.getContainerWidth.call(this,this.$element.width()), width = this.elementsWidth, self = this; if (self._getInvisibleElements().length) { var children = this.getInvisibleElementsContainer() .children(); var moved = false; for (var i = 0; i < children.length; i++) { var $this = $(children[ i ]), elementWidth = self._getElementWidth($this), withAfterMove = width + elementWidth; if (retrieveAll || withAfterMove < totalWidth) { width = withAfterMove; self.moveToVisibleContainer($this); moved = true; } else { break; } } if( children.length === 1 && ! moved) { if((withAfterMove - self._getMenuLinkWidth()) < totalWidth) { self.moveToVisibleContainer(children); self._getMenuContainer().remove(); } } } else { this._getMenuContainer().remove(); } }, _getInvisibleElements: function () { var cls = this.options.menuContainerClass; return this.$element .find('.' + cls + ' .bs-pretty-tabs-elements').children(); }, _updateElementWidth: function ($element) { var width = $element.outerWidth(true) + 1; if ($element.data('bs-visibility') !== 'hidden') { $element.data('bs-width', width); return width; } return false; }, _getElementWidth: function ($element) { var width; if($element.data('bs-visibility') === 'hidden') { width = $element.data('bs-width'); } else { width = this._updateElementWidth($element); } return width; }, _getVisibleElement: function () { var cls = this.options.menuContainerClass; return this.getItems(':not(.' + cls + '):last'); }, _getMenuContainer: function () { var $container = this.$element.find('.' + this.options.menuContainerClass); if ($container.length) { return $container; } return this._setMenuContainer(); }, _setMenuContainer: function () { var $container = $('<' + this.options.menuContainerTag + '/>', { 'class': this.options.menuContainerClass }); $container = this.options.initWrapperContainer.call(this, $container), $container.append(this.options.moreContainer); if (this.options.menuContainerPosition === 'end') { $container.appendTo(this.getItemsWrapper()); } else { $container.prependTo(this.getItemsWrapper()); } $container.on('mouseover', function() { $(this).addClass('display-more-items'); }).on('mouseout', function() { $(this).removeClass('display-more-items'); }).on('click', function() { $(this).toggleClass('display-more-items'); }); return $container; }, _getMenuLinkWidth: function (force) { var cls = this.options.menuContainerClass, $el = this.$element.find('.' + cls + ' .bs-pretty-tabs-more'); var force = force || false; if(! $el.length && ! force) { this._setMenuContainer(); return this._getMenuLinkWidth(true); } return this._getElementWidth($el) || 0; }, _getTotalWidth: function() { return this.options.getContainerWidth.call(this,this.$element.width()); }, getInvisibleElementsContainer: function () { return $('.bs-pretty-tabs-elements', this._getMenuContainer()); }, moveToInvisibleContainer: function (el) { var $container = this.getInvisibleElementsContainer(), $el = $(el); $el.data('bs-visibility', 'hidden'); $el.prependTo($container); }, moveToVisibleContainer: function ($el) { var $container = this._getMenuContainer(); $el.data('bs-visibility', 'visible'); if(this.options.menuContainerPosition === 'end') { $el.insertBefore(this._getMenuContainer()); } else { $el.appendTo($container.parent()); } }, /** * Delete is element overflow * * @return {Boolean} true/false */ collectOverflowElements: function () { var totalWidth = this._getTotalWidth(), self = this; this.overflowElements = []; this.elementsWidth = self._getMenuLinkWidth(); var elWidth = 0; this.getItems() .each(function () { var $this = $(this); if (!$this.hasClass(self.options.menuContainerClass)) { elWidth = self._getElementWidth($this); self.elementsWidth += elWidth; if (self.elementsWidth > totalWidth) { //overflow occurred! if (!$this.hasClass(self.options.menuContainerClass)) { // dont collect mustDisplay elements if(! self.options.mustDisplayClass || !$this.hasClass(self.options.mustDisplayClass)) { self.overflowElements.push($this); } } } } }); if(self.overflowElements.length === 1) { // Don't collect single element if((self.elementsWidth - self._getMenuLinkWidth()+elWidth)<totalWidth) { self.overflowElements.pop(); } } self.overflowElements = self.overflowElements.reverse(); }, changeState: function(state) { this.enable = state === 'start'; } }); $.fn.bsPrettyTabs = function (settings) { return this.each(function () { var $this = $(this); if (typeof settings === 'string') { var obj = $this.data('bs-pretty-tabs'); if(obj && obj.changeState) { obj.changeState(settings); } } else if(! $this.data('bs-pretty-tabs')) { var _PrettyTabs = new bsPrettyTabs($this, settings); $this.data('bs-pretty-tabs', _PrettyTabs); } }); } })(jQuery); }(jQuery); </script>]]>
2272 <![CDATA[<script type='text/javascript'> /* <![CDATA[ */ var PojoA11yOptions = {"focusable":"","remove_link_target":"","add_role_links":"","enable_save":"","save_expiration":""}; /* ]]> */ </script>]]>
2356 <![CDATA[<script> // var ua = window.navigator.userAgent; // var isIE11 = /Trident.*rv[ :]*11\./.test(navigator.userAgent); // var msie = ua.indexOf("MSIE "); // if ((((msie > 0) && (parseInt(ua.substring(msie + 5, ua.indexOf(".", msie))) < 11)) === false) && isIE11 === false) { // $('#vlibras_include').html('<div vw class="enabled"><div vw-access-button class="active"></div><div vw-plugin-wrapper><div class="vw-plugin-top-wrapper"></div></div></div>'); // new window.VLibras.Widget('https://vlibras.gov.br/app'); // $(window).on("load", function(){ // $('#vlibras_include img').each( function(){ // $(this).attr("alt", "Imagem VLibras"); // }); // }); // } </script>]]>
2372 <![CDATA[<script type="text/javascript" language="javascript"> // var script = document.createElement('script'); // script.src = 'test1.js'; // script.onreadystatechange = function(){ // bezen.log.info('readystatechange: '+script.readyState); // }; // document.body.appendChild(script); // bezen.log.info('Added script with onreadystatechange handler'); </script>]]>
2383 <![CDATA[<script> var script = document.getElementById("vlibras_js"); script.onload = script.onreadystatechange = function(){ console.log('vlibras loaded'); new window.VLibras.Widget('https://vlibras.gov.br/app'); } </script>]]>