Omranic
01-18-2006, 10:00 PM
This product is no longer supported!
Discription: This Hack Give You Four Options for Restrict some User and System Preference (Disabling), These four options are:
Disable Image Toolbar script
Disable right mouse click on images
Disable right mouse click totaly with alert
Disable right mouse click totaly without alert
& you Have Two Options To Customise the MSG Alert Displayed for users when any of the 2nd & 3rd options selected.
Disable Image Toolbar script = Disable The Toolbar Appears When The Mouse Moves On Any Image
Disable right mouse click on images = Disable Right Click On Images & Displaying Customised Alert.
Disable right mouse click totaly with alert = Disable Mouse Right Click All Over The Forums Every Where & Displaying Customised Alert.
Disable right mouse click totaly without alert = Disable Mouse Right Click All Over The Forums Every Where Without Displaying Alert.
& you have the Option Not To Disable any Preference = Don't Disable any thing.
Stats:
1 Product Adds 4 Settings, 13 phrase.
Template Edits 2 in one template (headinclude)
Import the Attached Product File.
open headinclude & add before the first line of it the following code:
<if condition="$vboptions[disimagtool]">
<META HTTP-EQUIV="imagetoolbar" CONTENT="no">
</if>
open headinclude & after the last line in it add the following code:
<if condition="$vboptions[rightcrmode]==0">
<else />
<if condition="$vboptions[rightcrmode]==1">
<script language="JavaScript1.2">
/*
Disable right click script II (on images)- By Dynamicdrive.com
For full source, Terms of service, and 100s DTHML scripts
Visit http://www.dynamicdrive.com
*/
var clickmessage="$vboptions[rmcimagesalert]"
function disableclick(e) {
if (document.all) {
if (event.button==2||event.button==3) {
if (event.srcElement.tagName=="IMG"){
alert(clickmessage);
return false;
}
}
}
else if (document.layers) {
if (e.which == 3) {
alert(clickmessage);
return false;
}
}
else if (document.getElementById){
if (e.which==3&&e.target.tagName=="IMG"){
alert(clickmessage)
return false
}
}
}
function associateimages(){
for(i=0;i<document.images.length;i++)
document.images[i].onmousedown=disableclick;
}
if (document.all)
document.onmousedown=disableclick
else if (document.getElementById)
document.onmouseup=disableclick
else if (document.layers)
associateimages()
</script>
</if>
<else />
<if condition="$vboptions[rightcrmode]==2">
<script language=JavaScript>
<!--
//Disable right mouse click Script
//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com
var message="$vboptions[totalrightcalert]";
///////////////////////////////////
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")
// -->
</script>
</if>
<else />
<if condition="$vboptions[rightcrmode]==3">
<script language=JavaScript>
<!--
//Disable right click script III- By Renigade (renigade@mediaone.net)
//For full source code, visit http://www.dynamicdrive.com
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document. onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontext menu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</script>
</if>
</if>
Note: all Java Scripts Here Are Submited From www.dynamicdrive.com
This Is the Initial Version with Limited Features So I Hope You All Suggest More Features To Be Added In This Hack.
Note:
All Features Tested & Works Perfectly on IE (InterNet Explorer)
All Features Tested on Firfox but there is one Feature Hasn't Effect (Disabling Image Tool Bar) & The second Feature Doesn't work Perfectly (Disable Right Click on Images) It displays the alert but after you submit the alert it opens the drop down menu for the right click.
Not Tested On other Explorers.
Don't Forget To Click INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=105714)
Discription: This Hack Give You Four Options for Restrict some User and System Preference (Disabling), These four options are:
Disable Image Toolbar script
Disable right mouse click on images
Disable right mouse click totaly with alert
Disable right mouse click totaly without alert
& you Have Two Options To Customise the MSG Alert Displayed for users when any of the 2nd & 3rd options selected.
Disable Image Toolbar script = Disable The Toolbar Appears When The Mouse Moves On Any Image
Disable right mouse click on images = Disable Right Click On Images & Displaying Customised Alert.
Disable right mouse click totaly with alert = Disable Mouse Right Click All Over The Forums Every Where & Displaying Customised Alert.
Disable right mouse click totaly without alert = Disable Mouse Right Click All Over The Forums Every Where Without Displaying Alert.
& you have the Option Not To Disable any Preference = Don't Disable any thing.
Stats:
1 Product Adds 4 Settings, 13 phrase.
Template Edits 2 in one template (headinclude)
Import the Attached Product File.
open headinclude & add before the first line of it the following code:
<if condition="$vboptions[disimagtool]">
<META HTTP-EQUIV="imagetoolbar" CONTENT="no">
</if>
open headinclude & after the last line in it add the following code:
<if condition="$vboptions[rightcrmode]==0">
<else />
<if condition="$vboptions[rightcrmode]==1">
<script language="JavaScript1.2">
/*
Disable right click script II (on images)- By Dynamicdrive.com
For full source, Terms of service, and 100s DTHML scripts
Visit http://www.dynamicdrive.com
*/
var clickmessage="$vboptions[rmcimagesalert]"
function disableclick(e) {
if (document.all) {
if (event.button==2||event.button==3) {
if (event.srcElement.tagName=="IMG"){
alert(clickmessage);
return false;
}
}
}
else if (document.layers) {
if (e.which == 3) {
alert(clickmessage);
return false;
}
}
else if (document.getElementById){
if (e.which==3&&e.target.tagName=="IMG"){
alert(clickmessage)
return false
}
}
}
function associateimages(){
for(i=0;i<document.images.length;i++)
document.images[i].onmousedown=disableclick;
}
if (document.all)
document.onmousedown=disableclick
else if (document.getElementById)
document.onmouseup=disableclick
else if (document.layers)
associateimages()
</script>
</if>
<else />
<if condition="$vboptions[rightcrmode]==2">
<script language=JavaScript>
<!--
//Disable right mouse click Script
//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com
var message="$vboptions[totalrightcalert]";
///////////////////////////////////
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")
// -->
</script>
</if>
<else />
<if condition="$vboptions[rightcrmode]==3">
<script language=JavaScript>
<!--
//Disable right click script III- By Renigade (renigade@mediaone.net)
//For full source code, visit http://www.dynamicdrive.com
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document. onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontext menu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</script>
</if>
</if>
Note: all Java Scripts Here Are Submited From www.dynamicdrive.com
This Is the Initial Version with Limited Features So I Hope You All Suggest More Features To Be Added In This Hack.
Note:
All Features Tested & Works Perfectly on IE (InterNet Explorer)
All Features Tested on Firfox but there is one Feature Hasn't Effect (Disabling Image Tool Bar) & The second Feature Doesn't work Perfectly (Disable Right Click on Images) It displays the alert but after you submit the alert it opens the drop down menu for the right click.
Not Tested On other Explorers.
Don't Forget To Click INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=105714)