Home>Support>Problems with html code

Problems with html code

Hello! I am trying to put a html code into my website in order to block the possibility of copying my content without my authorization. However this is not working! I put the following code in appearance>editor>header.php above but I didn´t succeed. Not even one of them work!
{code]
function click() {
if (event.button==2||event.button==3) {
oncontextmenu=’return false’;
}
}
document.onmousedown=click
document.oncontextmenu = new Function(“return false;”)
{/code]
{code]
function bloquear(e){return false}
function desbloquear(){return true}
document.onselectstart=new Function (“return false”)
if (window.sidebar){document.onmousedown=bloquear
document.onclick=desbloquear}
{/code]

<script language='JavaScript'>

//Bloqueador de Tecla CTRL - iceBreaker http://www.icebreaker.com.br/

function checartecla (evt)

{if (evt.keyCode == '17')

{alert("Comando Desativado")

return false}

return true}

</script>

<script language='javascript'>

function validateKey (evt)

{if (evt.keyCode == '17')

{alert("Comando Desativado")

return false}

return true}

</script>

PS: I lost my premium order number! It was in my email but I definitely don´t know what happens! A big amount of emails simply disappear! How can I recover my order number? Can Origin send me other email?

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 9 months ago Andrew Misplon
    Hi, I Work Here

    Hi Airam

    Have you considered rather using a plugin to handle this?

    Here are a few you could choose from:

    https://wordpress.org/plugins/search.php?q=content+copy+protection

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More