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

Sites Pertecentes a (o) SP

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 6 68 74 76 97 1026 1203 1267
6 <![CDATA[<script> window.dataLayer = window.dataLayer || []; function gtag() { dataLayer.push(arguments); } gtag('js', new Date()); gtag('config', 'UA-54265828-2'); </script>]]>
68 <![CDATA[<script> var SUFFIX = ''; var URL_SITE = 'https://camarabp.sp.gov.br'; </script>]]>
74 <![CDATA[<script>window.jQuery || document.write('<script src="https://camarabp.sp.gov.br/site/js/vendor/jquery-3.2.1.min.js"><\/script>')</script>]]>
76 <![CDATA[<script type="text/javascript"> var LHCChatOptions = {}; LHCChatOptions.opt = {widget_height: 340, widget_width: 300, popup_height: 520, popup_width: 500}; (function () { var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; var referrer = (document.referrer) ? encodeURIComponent(document.referrer.substr(document.referrer.indexOf('://') + 1)) : ''; var location = (document.location) ? encodeURIComponent(window.location.href.substring(window.location.protocol.length)) : ''; po.src = '//cmbp/lhc_web/index.php/por/chat/getstatus/(click)/internal/(position)/bottom_right/(ma)/br/(top)/350/(units)/pixels/(leaveamessage)/true?r=' + referrer + '&l=' + location; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s); })(); </script>]]>
97 <![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 = 'https://connect.facebook.net/pt_BR/sdk.js#xfbml=1&version=v2.12&appId=420638358359540&autoLogAppEvents=1'; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script>]]>
1026 <![CDATA[<script> function DoFilter() { var params = { tipo_materia: $('select#tipo-materia').val(), numero: $('input#numero').val(), ano: $('input#ano-proje').val(), tipo_autoria: $('select#tipo-autoria').val(), autoria: $('select#autoria').val(), assunto: $('input#assunto').val(), docs: $('input#docs').is(':checked') ? 1 : 0 }; console.log(params); // if (!params.data_inicial && !params.data_final) { // location.href = "https://camarabp.sp.gov.br/atividades-legislativas"; // } else { location.href = "https://camarabp.sp.gov.br/atividades-legislativas?" + $.param(params); // } } function EnterFilter(event) { if (event.which == 13) { DoFilter(); } } function LoadListAutoria() { var select = $('select#autoria'); select.html('<option>Carregando Lista de Autoria</option>'); callMethod({ container: select, module: 'site', component: 'text', method: 'load_list_autoria', params: { ano: $('#ano-proje').val(), tipo_autoria: $('#tipo-autoria').val() } }); } function ClearForm() { $('select#tipo-materia').val(''); $('input#numero').val(''); $('input#ano-proje').val(''); $('select#tipo-autoria').val(''); $('select#autoria').val(''); $('input#assunto').val(''); $('input#docs').prop(':checked', false); } $(document).ready(function () { var endDate = '2023'; $('#ano-proje').datepicker({ language: 'pt-BR', minViewMode: 2, orientation: 'bottom', format: 'yyyy', endDate: endDate, autoclose: true }); }); </script>]]>
1203 <![CDATA[<script> function photoswipe(event, element) { var parent = $(element).parents('.ps-gallery'); var find = $('.photoswipe'); if (parent.length) { find = parent.find('.photoswipe'); } event.preventDefault(); var clicked = $(element).attr('href'); var index = 0; var images = []; find.each(function (i) { var a = $(this); images.push({ src: a.attr('href'), w: a.data('w'), h: a.data('h'), title: a.attr('title') }); if (clicked == a.attr('href')) { index = i; } }); var options = { index: index, bgOpacity: 0.8, zoomEl: false, shareEl: false }; var pswpElement = document.querySelectorAll('.pswp')[0]; var gallery = new PhotoSwipe(pswpElement, PhotoSwipeUI_Default, images, options); gallery.init(); } </script>]]>
1267 <![CDATA[<script> acceptLpgd = value => { let wrapper = document.getElementById('lgpd'); callMethod({ module: 'site', component: 'text', method: 'lgpd', params: {value}, callback: () => { wrapper.remove(); } }) } </script>]]>