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

Sites Pertecentes a (o) SC

Endereço Nota Erros Avisos

agenciaal.alesc.sc.gov.br/index.php/tval/assista_tval

74.02 50 58
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 4 19 55 65 130
19 <![CDATA[<script> !function(f,b,e,v,n,t,s) {if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)}; if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t,s)}(window,document,'script', 'https://connect.facebook.net/en_US/fbevents.js'); fbq('init', '112577216089012'); fbq('track', 'PageView'); </script>]]>
55 <![CDATA[<script type="text/javascript"> soundManager.setup({ url: 'https://agenciaal.alesc.sc.gov.br/player-mp3/swf/', debugMode: false, debugFlash: false }); </script>]]>
65 <![CDATA[<script> window.dataLayer = window.dataLayer || []; function gtag() {dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-BB7JW9RK4B'); </script>]]>
130 <![CDATA[<script> /** * Sample JavaScript code for youtube.playlistItems.list * See instructions for running APIs Explorer code samples locally: * https://developers.google.com/explorer-help/code-samples#javascript */ function loadClient() { gapi.client.setApiKey("AIzaSyAjai2UmqSoRTSWN-j2ADyLM7cNUeRcjj8"); return gapi.client.load("https://content.googleapis.com/discovery/v1/apis/youtube/v3/rest") .then(function() { execute(); console.log("GAPI client loaded for API"); }, function(err) { console.error("Error loading GAPI client for API", err); }); } // Make sure the client is loaded and sign-in is complete before calling this method. function execute() { return gapi.client.youtube.playlistItems.list({ "playlistId": "PLNmz4ds5UGCwqj2NWlZQC9cRcGi_BGQOY" }) .then(function(response) { // Handle the results here (response.result has the parsed body). if (response['result']['pageInfo']['totalResults'] > 1){ document.getElementById('video2').hidden = false; } else { document.getElementById('video2').hidden = true; } }, function(err) { console.error("Execute error", err); }); } gapi.load("client:auth2", function() { gapi.auth2.init({client_id: "1019836934955-gja9d0860nhdvcj1au8671mfq69pqub9.apps.googleusercontent.com"}); }); window.onload = function(){loadClient();}; </script>]]>