83
| <![CDATA[<script>
var tempUrl = "https://www.camacari.ba.gov.br/wp-content/themes/camacari";
</script>]]>
|
609
| <![CDATA[<script>
$(document).ready(function () {
$('.video,a[href^="https://www.youtube.com"]').not('.forcar-abrir').magnificPopup({
type: 'iframe',
closeBtnInside: false,
mainClass: 'mfp-with-zoom',
removalDelay: 300,
closeOnContentClick: false,
closeOnBgClick: false,
iframe: {
markup: '<div class="jsMediaPlayer" data-type="youtube" data-video-id=""></div>'
},
callbacks: {
updateStatus: function (data) {
if (data.status === "ready") {
window.dispatchEvent(new Event("resize"));
}
},
resize: function () {
setTimeout(function () {
plyr.setup(".jsMediaPlayer");
}, 0);
},
open: function () {
$('.jsMediaPlayer')[0].dataset.videoId = $(this)[0].currItem.el[0].dataset.vid;
var titleItem = $(this)[0].currItem.el[0].dataset.title;
$('.mfp-container').append(
'<div class="mfp-top">' +
'<div class="row no-gap">' +
'<div class="mfp-img-logo col-md-1 col-lg-1 hidden-sm-down"><img src="https://www.camacari.ba.gov.br/wp-content/themes/camacari/assets/images/logo-pc-mini-gallery.png" alt="" /><span></span></div>' +
'<div class="mfp-title-top col-md-9 ">' + titleItem + '</div>' +
'</div>' +
'</div>');
}
}
});
});
</script>]]>
|
662
| <![CDATA[<script type="text/javascript">
/*<![CDATA[*/
document.oncontextmenu = function(event) {
if (event.target.tagName != 'INPUT' && event.target.tagName != 'TEXTAREA') {
event.preventDefault();
}
};
document.ondragstart = function() {
if (event.target.tagName != 'INPUT' && event.target.tagName != 'TEXTAREA') {
event.preventDefault();
}
};
/*]]>*/
</script>]]>
|
676
| <![CDATA[<script type="text/javascript">
jQuery(document).ready(function ($) {
//$( document ).ajaxStart(function() {
//});
for (var i = 0; i < document.forms.length; ++i) {
var form = document.forms[i];
if ($(form).attr("method") != "get") { $(form).append('<input type="hidden" name="BOikVrafQMz-Tb_" value="8HjXV_pR" />'); }
if ($(form).attr("method") != "get") { $(form).append('<input type="hidden" name="goFWGDiLj" value="MPsXhDcf4an9" />'); }
if ($(form).attr("method") != "get") { $(form).append('<input type="hidden" name="mvHOgdeNVJ_qcWpX" value="DKxG9s_k02" />'); }
}
$(document).on('submit', 'form', function () {
if ($(this).attr("method") != "get") { $(this).append('<input type="hidden" name="BOikVrafQMz-Tb_" value="8HjXV_pR" />'); }
if ($(this).attr("method") != "get") { $(this).append('<input type="hidden" name="goFWGDiLj" value="MPsXhDcf4an9" />'); }
if ($(this).attr("method") != "get") { $(this).append('<input type="hidden" name="mvHOgdeNVJ_qcWpX" value="DKxG9s_k02" />'); }
return true;
});
jQuery.ajaxSetup({
beforeSend: function (e, data) {
//console.log(Object.getOwnPropertyNames(data).sort());
//console.log(data.type);
if (data.type !== 'POST') return;
if (typeof data.data === 'object' && data.data !== null) {
data.data.append("BOikVrafQMz-Tb_", "8HjXV_pR");
data.data.append("goFWGDiLj", "MPsXhDcf4an9");
data.data.append("mvHOgdeNVJ_qcWpX", "DKxG9s_k02");
}
else {
data.data = data.data + '&BOikVrafQMz-Tb_=8HjXV_pR&goFWGDiLj=MPsXhDcf4an9&mvHOgdeNVJ_qcWpX=DKxG9s_k02';
}
}
});
});
</script>]]>
|