7
| <![CDATA[<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-P1CTFSEFND');
</script>]]>
|
94
| <![CDATA[<script type="text/javascript">
document.addEventListener("DOMContentLoaded", function(){
/////// Prevent closing from click inside dropdown
document.querySelectorAll('.dropdown-menu').forEach(function(element){
element.addEventListener('click', function (e) {
e.stopPropagation();
});
})
});
// DOMContentLoaded end
</script>]]>
|
554
| <![CDATA[<script>
(function () {
var Contrast = {
storage: 'contrastState',
cssClass: 'contrast',
currentState: null,
check: checkContrast,
getState: getContrastState,
setState: setContrastState,
toogle: toogleContrast,
updateView: updateViewContrast
};
window.toggleContrast = function () { Contrast.toogle(); };
Contrast.check();
function checkContrast() {
this.updateView();
}
function getContrastState() {
return localStorage.getItem(this.storage) === 'true';
}
function setContrastState(state) {
localStorage.setItem(this.storage, '' + state);
this.currentState = state;
this.updateView();
}
function updateViewContrast() {
var body = document.body;
if (!body) return;
if (this.currentState === null)
this.currentState = this.getState();
if (this.currentState)
body.classList.add(this.cssClass);
else
body.classList.remove(this.cssClass);
}
function toogleContrast() {
this.setState(!this.currentState);
}
})();
</script>]]>
|
654
| <![CDATA[<script>
$(document).ready(function(){
$(document).on("click", ".open-addregistrando", function () {
var myBookId = $(this).data('id');
$("#bookId").val(myBookId);
});
$(document).on("click", ".anonimo", function () {
var str = parent.document.getElementById('bookId').value;
//alert(str);
$("#addmanifestacao").modal('show');
$("#addregistrando").modal('hide');
cam = str-1;
if (cam==0){
window.location.href = "https://barbacena.mg.gov.br/ouvidoria/ouvidoria_anonimo.php?id="+cam+"&base="+str;
}
if (cam==1){
window.location.href = "https://barbacena.mg.gov.br/ouvidoria/ouvidoria_anonimo.php?id="+cam+"&base="+str;
}
if (cam==2){
window.location.href = "https://barbacena.mg.gov.br/ouvidoria/ouvidoria_anonimo.php?id="+cam+"&base="+str;
}
if (cam==3){
window.location.href = "https://barbacena.mg.gov.br/ouvidoria/ouvidoria_anonimo.php?id="+cam+"&base="+str;
}
});
$(document).on("click", ".identificado", function () {
var str = parent.document.getElementById('bookId').value;
//alert(str);
$("#addmanifestacao").modal('show');
$("#addregistrando").modal('hide');
cam = str-1;
if (cam==0){
window.location.href = "https://barbacena.mg.gov.br/ouvidoria/ouvidoria_identificado.php?id="+cam+"&base="+str;
}
if (cam==1){
window.location.href = "https://barbacena.mg.gov.br/ouvidoria/ouvidoria_identificado.php?id="+cam+"&base="+str;
}
if (cam==2){
window.location.href = "http://barbacena.mg.gov.br/ouvidoria/ouvidoria_identificado.php?id="+cam+"&base="+str;
}
if (cam==3){
window.location.href = "https://barbacena.mg.gov.br/ouvidoria/ouvidoria_identificado.php?id="+cam+"&base="+str;
}
});
});
</script>]]>
|
746
| <![CDATA[<script>
$(document).ready(function () {
//localStorage.removeItem('pureJavaScriptCookies');
(() => {
if (!localStorage.pureJavaScriptCookies) {
document.querySelector(".box-cookies").classList.remove('hide');
}
const acceptCookies = () => {
document.querySelector(".box-cookies").classList.add('hide');
localStorage.setItem("pureJavaScriptCookies", "accept");
};
const btnCookies = document.querySelector(".btn-cookies");
btnCookies.addEventListener('click', acceptCookies);
})();
});
</script>]]>
|