This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Problems with html code

Open 1 reply themetheme-vantage
11 years ago · Last reply by Andrew Misplon 11 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

1
  1. Andrew Misplon Staff 11 years, 2 months ago

    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.

Have a different question or issue?

Start New Thread