6
| <![CDATA[<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-P1CTFSEFND');
</script>]]>
|
731
| <![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>]]>
|
834
| <![CDATA[<script type="text/javascript">
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 + '%';
});
}
</script>]]>
|
861
| <![CDATA[<script language="JavaScript">
shortcut.add("CTRL+e",function()
{
window.location.href = "http://esus.barbacena.mg.gov.br:8383/";
});
shortcut.add("e",function()
{
window.location.href = "http://esus.barbacena.mg.gov.br:8383/";
});
shortcut.add("d",function()
{
window.location.href = "http://intranet.barbacena.mg.gov.br:8484/doc/";
});
shortcut.add("CTRL+x",function()
{
window.location.href = "http://intranet.barbacena.mg.gov.br:8484/email.php";
});
shortcut.add("s",function()
{
window.location.href = "http://sitgeo.barbacena.mg.gov.br/";
});
shortcut.add("g",function()
{
window.location.href = "http://suporte.barbacena.mg.gov.br:8585";
});
shortcut.add("r",function()
{
window.location.href = "https://187.85.82.34/roundcube/";
});
shortcut.add("i",function()
{
window.location.href = "http://intranet.barbacena.mg.gov.br:8484/verify.php";
});
shortcut.add("CTRL+m",function()
{
window.location.href = "http://sitgeo.barbacena.mg.gov.br";
});
shortcut.add("CTRL+d",function()
{
window.location.href = "https://barbacena.mg.gov.br/downloads/";
});
shortcut.add("CTRL+shift+t",function()
{
});
document.addEventListener("keydown", function(e){
if (e.keyCode == 83 && (navigator.platform.match("Mac") ? e.metaKey : e.ctrlKey)){
e.preventDefault();
window.location.href = "http://suporte.barbacena.mg.gov.br:8585";
}
}, false);
</script>]]>
|
967
| <![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>]]>
|