848
| <![CDATA[<script type="text/javascript">
function RedesSociais() {
$("#facebook").attr("href", "https://www.facebook.com/sharer/sharer.php?u=https://www.policiamilitar.sp.gov.br/noticias/noticia-interna/2021/6/2436/");
$("#twitter").attr("href", "https://twitter.com/home?status=https://www.policiamilitar.sp.gov.br/noticias/noticia-interna/2021/6/2436/");
$("#google").attr("href", "https://plus.google.com/share?url=https://www.policiamilitar.sp.gov.br/noticias/noticia-interna/2021/6/2436/");
$("#whatsApp").attr("href", "whatsapp://send?text=https://www.policiamilitar.sp.gov.br/noticias/noticia-interna/2021/6/2436/");
var bodyLinkedIn = "https://www.linkedin.com/shareArticle?mini=true {url} https://www.policiamilitar.sp.gov.br/noticias/noticia-interna/2021/6/2436/";
bodyLinkedIn = bodyLinkedIn.replace(' {url} ', '&url=');
$("#linkedIn").attr("href", bodyLinkedIn);
var bodyEmail = "mailto:?subject=DE OLHO NA SEGURANÇA {body} https://www.policiamilitar.sp.gov.br/noticias/noticia-interna/2021/6/2436/";
bodyEmail = bodyEmail.replace(' {body} ', '&body=');
$("#email").attr("href", bodyEmail);
}
$(function () {
$('.noticia-ancora').on('click', function () {
if ($(this).attr('data-tipo-conteudo') == 'E') {
window.open($(this).attr('data-url'), "_blank");
} else if ($(this).attr('data-tipo-conteudo') == 'I') {
javascript: location.href = ($(this).attr('data-url'));
}
});
});
</script>]]>
|