860
| <![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/2022/1/2461/");
$("#twitter").attr("href", "https://twitter.com/home?status=https://www.policiamilitar.sp.gov.br/noticias/noticia-interna/2022/1/2461/");
$("#google").attr("href", "https://plus.google.com/share?url=https://www.policiamilitar.sp.gov.br/noticias/noticia-interna/2022/1/2461/");
$("#whatsApp").attr("href", "whatsapp://send?text=https://www.policiamilitar.sp.gov.br/noticias/noticia-interna/2022/1/2461/");
var bodyLinkedIn = "https://www.linkedin.com/shareArticle?mini=true {url} https://www.policiamilitar.sp.gov.br/noticias/noticia-interna/2022/1/2461/";
bodyLinkedIn = bodyLinkedIn.replace(' {url} ', '&url=');
$("#linkedIn").attr("href", bodyLinkedIn);
var bodyEmail = "mailto:?subject=SIM O WHATSAPP PODE SALVAR A SUA VIDA {body} https://www.policiamilitar.sp.gov.br/noticias/noticia-interna/2022/1/2461/";
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>]]>
|