Decreto 01-2021 – Prefeitura de Lagoa da Prata
Decreto nº 01/2021. “Define protocolos sanitários para funcionamento das atividades que menciona com vistas ao enfrentamento da pandemia provocada
Read Morevar image_save_msg='You are not allowed to save images!'; var no_menu_msg='Context Menu disabled!'; var smessage = "Copias desativadas."; function disableEnterKey(e) { var elemtype = e.target.tagName; elemtype = elemtype.toUpperCase(); if (elemtype == "TEXT" || elemtype == "TEXTAREA" || elemtype == "INPUT" || elemtype == "" || elemtype == "SELECT" || elemtype == "OPTION" || elemtype == "EMBED") { elemtype = 'TEXT'; } if (e.ctrlKey){ var key; if(window.event) key = window.event.keyCode; //IE else key = e.which; //firefox (97) //if (key != 17) alert(key); if (elemtype!= 'TEXT' && (key == 97 || key == 65 || key == 67 || key == 99 || key == 88 || key == 120 || key == 26 || key == 85 || key == 86 || key == 83 || key == 43 || key == 73)) { if(wc_free_iscontenteditable(e)) return true; show_wp_message('You are not allowed to copy content or view source'); return false; }else return true; } } /*For contenteditable tags*/ function wc_free_iscontenteditable(e) { var e = e || window.event; // also there is no e.target property in IE. instead IE uses window.event.srcElement var target = e.target || e.srcElement; var elemtype = e.target.nodeName; elemtype = elemtype.toUpperCase(); var iscontenteditable = "false"; if(typeof target.getAttribute!="undefined" ) iscontenteditable = target.getAttribute("contenteditable"); // Return true or false as string var iscontenteditable2 = false; if(typeof target.isContentEditable!="undefined" ) iscontenteditable2 = target.isContentEditable; // Return true or false as boolean if(target.parentElement.isContentEditable) iscontenteditable2 = true; if (iscontenteditable == "true" || iscontenteditable2 == true) { if(typeof target.style!="undefined" ) target.style.cursor = "text"; return true; } } //////////////////////////////////// function disable_copy(e) { var e = e || window.event; // also there is no e.target property in IE. instead IE uses window.event.srcElement var elemtype = e.target.tagName; elemtype = elemtype.toUpperCase(); if (elemtype == "TEXT" || elemtype == "TEXTAREA" || elemtype == "INPUT" || elemtype == "" || elemtype == "SELECT" || elemtype == "OPTION" || elemtype == "EMBED") { elemtype = 'TEXT'; } if(wc_free_iscontenteditable(e)) return true; var isSafari = /Safari/.test(navigator.Agent) && /Apple Computer/.test(navigator.vendor); var checker_IMG = ''; if (elemtype == "IMG" && checker_IMG == 'checked' && e.detail >= 2) {show_wp_message(alertMsg_IMG);return false;} if (elemtype != "TEXT") { if (smessage !== "" && e.detail == 2) show_wp_message(smessage); if (isSafari) return true; else return false; } } ////////////////////////////////////////// function disable_copy_ie() { var e = e || window.event; var elemtype = window.event.srcElement.nodeName; elemtype = elemtype.toUpperCase(); if(wc_free_iscontenteditable(e)) return true; if (elemtype == "IMG") {show_wp_message(alertMsg_IMG);return false;} if (elemtype != "TEXT" && elemtype != "TEXTAREA" && elemtype != "INPUT" && elemtype != "" && elemtype != "SELECT" && elemtype != "OPTION" && elemtype != "EMBED") { return false; } } function reEnable() { return true; } document.onkeydown = disableEnterKey; document.onselectstart = disable_copy_ie; if(navigator.Agent.indexOf('MSIE')==-1) { document.onmousedown = disable_copy; document.onclick = reEnable; } function disableSelection(target) { //For IE This code will work if (typeof target.onselectstart!="undefined") target.onselectstart = disable_copy_ie; //For Firefox This code will work else if (typeof target.style.MozSelect!="undefined") {target.style.MozSelect="none";} //All other (ie: Opera) This code will work else target.onmousedown=function(){return false} target.style.cursor = "default"; } //Calling the JS function directly just after body load window.onload = function(){disableSelection(document.body);}; //////////////////special for safari Start//////////////// var onlongtouch; var timer; var touchduration = 1000; //length of time we want the to touch before we do something var elemtype = ""; function touchstart(e) { var e = e || window.event; // also there is no e.target property in IE. // instead IE uses window.event.srcElement var target = e.target || e.srcElement; elemtype = window.event.srcElement.nodeName; elemtype = elemtype.toUpperCase(); if(!wc_pro_is_ive()) e.preventDefault(); if (!timer) { timer = setTimeout(onlongtouch, touchduration); } } function touchend() { //stops short touches from firing the event if (timer) { clearTimeout(timer); timer = null; } onlongtouch(); } onlongtouch = function(e) { //this will clear the current selection if anything selected if (elemtype != "TEXT" && elemtype != "TEXTAREA" && elemtype != "INPUT" && elemtype != "" && elemtype != "SELECT" && elemtype != "EMBED" && elemtype != "OPTION") { if (window.getSelection) { if (window.getSelection().empty) { // Chrome window.getSelection().empty(); } else if (window.getSelection().removeAllRanges) { // Firefox window.getSelection().removeAllRanges(); } } else if (document.selection) { // IE? document.selection.empty(); } return false; } }; document.addEventListener("DOMContentLoaded", function(event) { window.addEventListener("touchstart", touchstart, false); window.addEventListener("touchend", touchend, false); }); function wc_pro_is_ive() { var cold = false, hike = function() {}; try { const object1 = {}; var aid = Object.defineProperty(object1, 'ive', { get() {cold = true} }); window.addEventListener('test', hike, aid); window.removeEventListener('test', hike, aid); } catch (e) {} return cold; } /*special for safari End*/
Decreto nº 01/2021. “Define protocolos sanitários para funcionamento das atividades que menciona com vistas ao enfrentamento da pandemia provocada
Read MoreMais duas regiões do Estado regridem para a onda vermelha do Minas Consciente. Centro e Oeste se unem a outras
Read More(Foto: Arquivo pessoal do grupo de ciclistas. Ano de 2019) Neste mês de Outubro, comemora-se o dia de Nossa Senhora
Read MoreFoi enviado dia 28 de agosto à Câmara Municipal de Lagoa da Prata, relatórios finais de uma auditoria realizada pelo
Read MoreA imagem que ilustra a matéria é do boletim do dia 13/08/2020 de Lagoa da Prata. Semana triste para cidade
Read MoreEsse será o tema da Semana Mundial do Aleitamento Materno que acontece nos período 01 a 07 de Agosto. O
Read MoreFonte AMBPublicado em 19 de julho de 2020 em https://www.facebook.com/AMBoficial/photos/a.280434002096466/1808545315951986/ A Associação Médica Brasileira acompanha diversos estudos e pesquisas sobre
Read MoreA novela do Corona Vírus – Covid-19 – Cronologia – Primeiros 6 meses da Pandemia Começa a acontecer mortes na
Read MoreDiante do recente aumento dos casos de pessoas infectadas pela COVID-19 em Lagoa da Prata, nas últimas semanas, fiscais da
Read MoreO comitê de enfrentamento ao COVID-19 acaba de confirmar o primeiro óbito pelo corona vírus em Lagoa da Prata. O
Read More