63
| <![CDATA[<script type="text/javascript">
var contraste = 'ativar';
const url = "/zbox/contraste";
$("#pluginContrasteIsAtivo").click(function(){
let dataPost = {
contraste: contraste,
};
let xhr = $.ajax({
headers: {"Access-Control-Allow-Origin": "*"},
url: url,
method: "POST",
data: dataPost,
dataType: "json"
});
xhr.setRequestHeader("Access-Control-Allow-Origin", "*");
xhr.setRequestHeader("Access-Control-Allow-Credentials", "true");
xhr.setRequestHeader("Access-Control-Allow-Methods", "GET,HEAD,OPTIONS,POST,PUT");
xhr.setRequestHeader("Access-Control-Allow-Headers", "Access-Control-Allow-Headers, Origin,Accept, X-Requested-With, Content-Type, Access-Control-Request-Method, Access-Control-Request-Headers");
xhr.complete(function () {
location.reload();
});
});
</script>]]>
|
131
| <![CDATA[<script type="text/javascript">
$(function() {
//$('#topo-tempo').hide();
console.log('https://www.fecam.org.br/tempo.php?codPrevisao=3676');
$.ajax({
url: 'https://www.fecam.org.br/tempo.php?codPrevisao=3676',
jsonpCallback: 'jsonCallback',
contentType: "application/json",
dataType: 'jsonp',
cache: 'false',
success: function(data){
data = data['tempo'];
dc = 0; //Contador de dias;
while(dc <= 1){
prefix = "#previsao-tempo-dia-"+(dc+1);
dia = data['previsao'][dc];
$(prefix).html(dia['diaSemana']);
$(prefix+'-max').html(dia['maxima']+"C");
$(prefix+"-min").html(dia['minima']+"C");
$(prefix+"-icone img").attr("src","/styles/layouts/pm/default/images/previsao-tempo/"+dia['tempo']+".png");
$(prefix+"-previsao").html(dia['condicao']);
console.log(dia);
dc++;
}
}
});
});
</script>]]>
|
258
| <![CDATA[<script type="text/javascript">var addthis_config = {"data_track_addressbar":false};</script>]]>
|
419
| <![CDATA[<script>
$(".tags-rel .tags li.principal").prependTo($(".tags-rel .tags"));
</script>]]>
|
422
| <![CDATA[<script type="text/javascript">
$(document).ready(function(){
window.setTimeout(function(){
bodySize = parseInt($("body").width());
if (bodySize >= 995 || $.browser.mobile === false) {
var coluna1 = 0;
var coluna2 = 0;
var coluna3 = 0;
$(".bloco").each(function(){
console.log(coluna1+" - "+coluna2+" - "+coluna3);
if (coluna1 === 0 || (coluna1 <= coluna2 && coluna1 <= coluna3)) {
$(this).appendTo(".coluna-1");
} else if (coluna2 === 0 || (coluna2 <= coluna1 && coluna2 <= coluna3)) {
$(this).appendTo(".coluna-2");
} else if (coluna3 === 0 || (coluna3 <= coluna2 && coluna3 <= coluna1)) {
$(this).appendTo(".coluna-3");
}
coluna1 = $(".coluna-1").height();
coluna2 = $(".coluna-2").height();
coluna3 = $(".coluna-3").height();
});
$(".coluna-temp").remove();
}
}, 500);
});
</script>]]>
|
575
| <![CDATA[<script type='text/javascript'>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-20438101-36']);
_gaq.push(['_trackPageview'], '/noticias/ver/2020/05/boletim-atualizado-15052020');
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
jQuery(document).ajaxComplete(function(e, xhr, settings){
_gaq.push(['_trackPageview', settings.url]);
});
</script>]]>
|