is there a way of disabling right clicking on some things but not others? :s
Printable View
is there a way of disabling right clicking on some things but not others? :s
Disabling right clicking is kind of pointless all round "/
i dont want noob rippers ripping
you can just click view >> soucre or File >> Save As
shhh your telling all the noobs ;)
Lol I suppose it stops all the freewebs users who just like to copy images into the site builder, the code is
<script LANGUAGE="JavaScript">
<!--
function click() {
if (event.button==2) {
alert('Habbox has disabled right-clicking.');
}
}
document.onmousedown=click
// -->
//-->
</script>
if your going to use one dont use the annoying javascrip popup ones, just deactiavete it.
just ad to the body tag so its
<body oncontextmenu="return false;">
That will disable it without the noobish js popups, athogh athogh still only cause annoyance and dosent stop anything IMO "/
ive actually already done that what mentor said i wanted to know how to allow right clicking on some images eg the links
Im not 100% if this will work, but try keeping that in the header, then attaching
oncontextmenu="return true;"
in to the images you want to be right clickable "/
i need that code thanks, all visitors steal me work :o :(
The code wont stop anyone you know "/
its stop real noob's who only know how to right click and copy but that isnt many. Also I only used that js one because it was the one sierk put up ages ago.
actaly most real noobs, just hold the mouse over the image till the copy icon comes up "/
If Your Sick Of Rippers Create Your Own Icon Say A H Or A Letter For Your Name And Put It At Corner Of Image And It's Copyright So Sue Them.
Most people dont enjoy paying 1000's and 1000's in caugt fee's for no real reason "/
very true