relay
inherit
-333074
0
May 4, 2024 7:42:58 GMT -8
relay
0
January 1970
GUEST
|
Post by relay on Feb 17, 2006 0:57:46 GMT -8
Forum URL: http://.proboards.com
i have looked in the database but i cant find the code for preventing right clicking on my forum, can someone give me a link to the code please?
|
|
inherit
27353
0
Nov 30, 2013 13:08:47 GMT -8
xiØn
6 years is a long time.
16,973
July 2004
xi0n
|
Post by xiØn on Feb 17, 2006 1:08:59 GMT -8
<script language=JavaScript> <!--
var message="Function Disabled!";
/////////////////////////////////// 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>
|
|
inherit
The Jedi Master of Proboards PBS Oscars: Most Unique
6777
0
Nov 19, 2012 0:15:08 GMT -8
Tommy Huynh
Coffee isn't my cup of tea.
19,374
January 2003
swg2
|
Post by Tommy Huynh on Feb 17, 2006 1:16:38 GMT -8
The code, by the way, goes in your headers.
|
|
inherit
27353
0
Nov 30, 2013 13:08:47 GMT -8
xiØn
6 years is a long time.
16,973
July 2004
xi0n
|
Post by xiØn on Feb 17, 2006 1:20:17 GMT -8
My bad. Thanks Tommy.
|
|
relay
inherit
-333078
0
May 4, 2024 7:42:58 GMT -8
relay
0
January 1970
GUEST
|
Post by relay on Feb 17, 2006 1:33:15 GMT -8
brilliant, thanks. ;D
|
|
inherit
27353
0
Nov 30, 2013 13:08:47 GMT -8
xiØn
6 years is a long time.
16,973
July 2004
xi0n
|
Post by xiØn on Feb 17, 2006 1:44:01 GMT -8
Anytime.
|
|