50
| <![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', '812038709508785');
fbq('track', 'PageView');
</script>]]>
|
113
| <![CDATA[<script>
document.addEventListener("DOMContentLoaded", function(){
var url1 = "https://www.jequie.ba.gov.br/assets/css/claro.css";
var url2 = "https://www.jequie.ba.gov.br/assets/css/escuro.css";
var botao = document.getElementById("botao_acess");
var css = localStorage.getItem("css");
if(!css){
criaTag(url1);
}else{
if(css == url2){
botao.value = 2;
botao.textContent = "Contraste";
}
criaTag(css);
}
function criaTag(url){
var estilo = document.createElement("link");
estilo.rel = "stylesheet";
estilo.type = "text/css";
estilo.className = "acess";
estilo.href = url;
document.body.appendChild(estilo);
}
botao.onclick = function(){
var tag = document.getElementsByClassName("acess");
if(this.value == 1){
this.textContent = "Contraste";
this.value = 2;
tag[0].href = url2;
localStorage.setItem("css", url2);
}else{
this.textContent = "Contraste";
this.value = 1;
tag[0].href = url1;
localStorage.setItem("css", url1);
}
}
});
</script>]]>
|
162
| <![CDATA[<script>
// Funções de manipulação de cookies
function setCookie(name, value, days) {
var expires = "";
if (days) {
var date = new Date();
date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
expires = "; expires=" + date.toUTCString();
}
document.cookie = name + "=" + value + expires + "; path=/";
}
function getCookie(name) {
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for (var i = 0; i < ca.length; i++) {
var c = ca[i];
while (c.charAt(0) == ' ') c = c.substring(1, c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);
}
return null;
}
function acceptCookies() {
setCookie("cookies_accepted", "true", 30);
hideCookieBar();
}
function declineCookies() {
setCookie("cookies_accepted", "false", 30);
hideCookieBar();
}
function hideCookieBar() {
var cookieBar = document.querySelector(".cookie-bar");
cookieBar.style.display = "none";
}
function checkCookie() {
var cookieAccepted = getCookie("cookies_accepted");
if (cookieAccepted === "true") {
hideCookieBar();
}
}
// Funções de manipulação do tamanho da fonte
window.onload = function() {
var elementBody = document.querySelector('body');
var elementBtnIncreaseFont = document.getElementById('increase-font');
var elementBtnDecreaseFont = document.getElementById('decrease-font');
// Padrão de tamanho, equivale a 100% do valor definido no Body
var fontSize = 100;
// Valor de incremento ou decremento, equivale a 10% do valor do Body
var increaseDecrease = 10;
// Evento de click para aumentar a fonte
elementBtnIncreaseFont.addEventListener('click', function(event) {
fontSize = fontSize + increaseDecrease;
elementBody.style.fontSize = fontSize + '%';
});
// Evento de click para diminuir a fonte
elementBtnDecreaseFont.addEventListener('click', function(event) {
fontSize = fontSize - increaseDecrease;
elementBody.style.fontSize = fontSize + '%';
});
checkCookie();
}
</script>]]>
|
1222
| <![CDATA[<script>document.write(new Date().getFullYear());</script>]]>
|
1325
| <![CDATA[<script>
new window.VLibras.Widget('https://vlibras.gov.br/app');
</script>]]>
|
1331
| <![CDATA[<script type="text/javascript">
var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date();
(function(){
var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0];
s1.async=true;
s1.src='https://embed.tawk.to/63c7358ec2f1ac1e202e37d8/1gn12idp0';
s1.charset='UTF-8';
s1.setAttribute('crossorigin','*');
s0.parentNode.insertBefore(s1,s0);
})();
</script>]]>
|