Disabling clicks?
+2
CatherinaAndrea
JazeonX
6 posters
Page 1 of 1
Disabling clicks?
How do I disable both right and left clicks in my forum?
JazeonX- Forumember
- Posts : 215
Reputation : 1
Language :
Location : Philippines
Re: Disabling clicks?
I think you may want to disable only the right-click, cause how else are people gonna be able to click on links. But I wouldn't even suggest disabling the Right-Click ... (speaking from personal experience, had it on my own webby and it was annoying)
Just put this code in a widget and put it on a page you would like to disable the Right-Click:
Just put this code in a widget and put it on a page you would like to disable the Right-Click:
- Code:
<SCRIPT TYPE="text/javascript">
<!--
//Disable right click script
//visit http://www.rainbow.arch.scriptmania.com/scripts/
var message="Sorry, right-click has been disabled";
///////////////////////////////////
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.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</SCRIPT>
Re: Disabling clicks?
I dont know anything for left click?
But here is one for right click, Keep in mid if you add this it will not prevent people from seeing source code etc..
Also that you will not be able to right click either.
You will have to put this at the top your over all header template, hit save then go back and publish.
But here is one for right click, Keep in mid if you add this it will not prevent people from seeing source code etc..
Also that you will not be able to right click either.
You will have to put this at the top your over all header template, hit save then go back and publish.
- Code:
<script language=Javascript1.2> function ejs_nodroit() { alert('RIGHT CLICK DISABLED FOR THIS SITE');
return(false); } document.oncontextmenu = ejs_nodroit; </script>
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Re: Disabling clicks?
CatherinaAndrea wrote:But I wouldn't even suggest disabling the Right-Click ... (speaking from personal experience, had it on my own webby and it was annoying)
ikr, i think the only reason why people use this is to block people from access the scripts and forum images with inspect element
Re: Disabling clicks?
It never stops people getting the images or scripts or anything... for a start... I can disable javascript in my browser in less than 2 clicks... and many other people can too.
What your adding to your forum is amazingly pointless and amazingly silly.
Not to mention, both those codes are amazingly outdated, where the heck did you get those from?
What your adding to your forum is amazingly pointless and amazingly silly.
Not to mention, both those codes are amazingly outdated, where the heck did you get those from?
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Disabling clicks?
LGforum wrote:
Not to mention, both those codes are amazingly outdated, where the heck did you get those from?
lol
The code i got was from here probably posted a couple years ago,
I just noticed the code i put up, if you right click twice it comes up with a option to disable it. (silly).. i think it may be something that was added to the new firefox, idk... ???
Anyway whatever the case, To each is own if they want it added or not, Just be sure to give us the heads up so we can mark this as solved and move to archives.
Thanx
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Re: Disabling clicks?
LGforum wrote:It never stops people getting the images or scripts or anything... for a start... I can disable javascript in my browser in less than 2 clicks... and many other people can too.
What your adding to your forum is amazingly pointless and amazingly silly.
Not to mention, both those codes are amazingly outdated, where the heck did you get those from?
Lol,
-And Rideem3 i think his problem is solved cuz the disable right clicks code is posted and there is no disable left clicks code. that would be too silly to have that code on your forum
Re: Disabling clicks?
Solved
JazeonX- Forumember
- Posts : 215
Reputation : 1
Language :
Location : Philippines
Re: Disabling clicks?
JazeonX wrote:Solved
Topic Solved & Locked |
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Similar topics
» Disabling Right Clicks
» Script not counting the clicks
» Number Of Clicks On My Forum
» Member gets error when clicks on friend list
» Link to show when member clicks on thank you button
» Script not counting the clicks
» Number Of Clicks On My Forum
» Member gets error when clicks on friend list
» Link to show when member clicks on thank you button
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum