1. How to add disable right click and 2. How to add a subject line to email links.
Posted: Sun Feb 02, 2020 9:16 pm
Is it possible to add disable right click coding or other copy protection to a Web Builder 14 website?
We tried using some Javascript between the head code in the html editor, but it does not work. Here is the code that we used.
--------------------------------------------
<script language=JavaScript>
<!--
<!--
//Disable right mouse click Script
//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
//For full source code, visit https://dynamicdrive.com
var message="Sorry, that function is disabled.\n\n";
message += "This page is copyrighted and all protected, ";
message += "Copyright 2020 We Are Puppeteers, All Rights Reserved.";
///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function("alert(message);return false")
// -->
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
<META HTTP-EQUIV="imagetoolbar" CONTENT="no" />
----------------------------------------------------------------------------
2. How to add a subject line to email links. Example: email links now open a blank email. We would like to add a specific Subject line.
Thank you!
We tried using some Javascript between the head code in the html editor, but it does not work. Here is the code that we used.
--------------------------------------------
<script language=JavaScript>
<!--
<!--
//Disable right mouse click Script
//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
//For full source code, visit https://dynamicdrive.com
var message="Sorry, that function is disabled.\n\n";
message += "This page is copyrighted and all protected, ";
message += "Copyright 2020 We Are Puppeteers, All Rights Reserved.";
///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function("alert(message);return false")
// -->
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
<META HTTP-EQUIV="imagetoolbar" CONTENT="no" />
----------------------------------------------------------------------------
2. How to add a subject line to email links. Example: email links now open a blank email. We would like to add a specific Subject line.
Thank you!