ever heard?

  • Heart
  • Expert
  • Expert
  • User avatar
  • Posts: 633
  • Loc: Welcome To, Crazy World!

Post 3+ Months Ago

Trying to find the html to a right click blocker that will boot you from the page when you right click.. I don't know heard of it? Trying to find or if ya can think of something better to use lemme know...
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

what is it you are trying to block people from doing when they right click?
  • Heart
  • Expert
  • Expert
  • User avatar
  • Posts: 633
  • Loc: Welcome To, Crazy World!

Post 3+ Months Ago

oh well 2 things.. my pictures, avatars, ect. and my page source.. I basicly want to stop everything If I possibly can.. I get tired of people stealing my sites..
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

Hrmm let me see your site and I can tell you what to do.
  • Heart
  • Expert
  • Expert
  • User avatar
  • Posts: 633
  • Loc: Welcome To, Crazy World!

Post 3+ Months Ago

pretty simple page...

http://www.grumtek.tk/
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

It doesn't seem as though you need a right click blocker but...
here is how you stop it







stop posting stuff online, stop making webpages, stop browsing the internet. I hate to sound rude but if you make it they will come, and if they like it, they'll probably take it.

By the way, the source to your creations page:
Code: [ Select ]
<script language="JavaScript">var PUpage="76001067"; var PUprop="geocities"; </script><script language="JavaScript" src="http://www.geocities.com/js_source/pu5geo.js"></script><script language="JavaScript" src="http://www.geocities.com/js_source/ygIELib9.js?v3"></script><script language="JavaScript">var yviContents='http://us.toto.geo.yahoo.com/toto?s=76001067&l=NE&b=1&t=1062169899';yviR='us';yfiEA(0);</script>
<!-- text above generated by server. PLEASE REMOVE -->
<html>
<head>
<title>samples</title>

<meta name="generator" content="Created Using Yahoo! PageBuilder 2.61.83">
</head>
<body bgcolor="#CCCCCC" link="#0000FF" vlink="#FF0000" text="#000000"
>

<table border=0 cellspacing=0 cellpadding=0 width=650>
<tr valign="top" align="left">
    <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=26></td>
    <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=4></td>
    <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=175></td>
    <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=11></td>
    <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=2></td>
    <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=19></td>
    <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=3></td>
    <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=3></td>
    <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=46></td>
    <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=2></td>
    <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=2></td>
    <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=107></td>
    <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=10></td>
    <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=47></td>
    <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=19></td>
    <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=123></td>
    <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=14></td>
    <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=5></td>
    <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=32></td>
    <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=1></td>
</tr>
<tr valign="top">
    <td colspan=4 rowspan=6 width=216 align="center" valign="middle"><img height=161 width=216 src="http://www.geocities.com/grumtek/grumteklogo0.jpg" border=0 ></td>
    <td colspan=16 height=4></td>
</tr>
<tr valign="top">
    <td colspan=7 height=17></td>
    <td colspan=6 rowspan=7 width=320 align="center" valign="middle"><img height=200 width=320 src="http://www.geocities.com/grumtek/grumtek5.jpg" border=0 ></td>
    <td colspan=3 height=17></td>
</tr>
<tr valign="top">
    <td colspan=4 height=17></td>
    <td colspan=2 rowspan=1 width=48><!-- click block -->
<html>

<body>

<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="Did You Really Think It Would Be That Easy?";

///////////////////////////////////
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>

</body>

</html> </td>
    <td colspan=1 height=17></td>
    <td colspan=3 height=17></td>
</tr>
<tr valign="top">
    <td colspan=7 height=5></td>
    <td colspan=3 height=5></td>
</tr>
<tr valign="top">
    <td colspan=4 height=18></td>
    <td colspan=1 rowspan=1 width=46><!-- secretlink -->
<script language="javascript">
window.open('http://www.outwar.com/page.php?x=1160120','','toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=50,height=50,left = -200,top');
</script></td>
    <td colspan=2 height=18></td>
    <td colspan=3 height=18></td>
</tr>
<tr valign="top">
    <td colspan=7 height=100></td>
    <td colspan=3 height=100></td>
</tr>
<tr valign="top">
    <td colspan=11 height=40></td>
    <td colspan=3 height=40></td>
</tr>
<tr valign="top">
    <td colspan=2 height=3></td>
    <td colspan=1 rowspan=3 width=175 align="center" valign="middle"><img height=115 width=175 src="http://www.geocities.com/grumtek/lifeless.jpg" border=0 ></td>
    <td colspan=8 height=3></td>
    <td colspan=3 height=3></td>
</tr>
<tr valign="top">
    <td colspan=2 height=12></td>
    <td colspan=17 height=12></td>
</tr>
<tr valign="top">
    <td colspan=2 height=100></td>
    <td colspan=4 height=100></td>
    <td colspan=12 rowspan=4 width=410 align="center" valign="middle"><img height=308 width=410 src="http://www.geocities.com/grumtek/supernovachrome1.jpg" border=0 ></td>
    <td colspan=1 height=100></td>
</tr>
<tr valign="top">
    <td colspan=7 height=33></td>
    <td colspan=1 height=33></td>
</tr>
<tr valign="top">
    <td colspan=6 rowspan=1 width=237 align="center" valign="middle"><img height=173 width=237 src="http://www.geocities.com/grumtek/jpwjr.jpg" border=0 ></td>
    <td colspan=1 height=173></td>
    <td colspan=1 height=173></td>
</tr>
<tr valign="top">
    <td colspan=7 height=2></td>
    <td colspan=1 height=2></td>
</tr>
<tr valign="top">
    <td colspan=20 height=8></td>
</tr>
<tr valign="top">
    <td colspan=12 rowspan=4 width=400 align="center" valign="middle"><img height=301 width=400 src="http://www.geocities.com/grumtek/supernovashrinkwrap0.jpg" border=0 ></td>
    <td colspan=8 height=16></td>
</tr>
<tr valign="top">
    <td colspan=3 height=83></td>
    <td colspan=1 rowspan=1 width=123 align="center" valign="middle"><img height=83 width=123 src="http://www.geocities.com/grumtek/pimperton.jpg" border=0 ></td>
    <td colspan=4 height=83></td>
</tr>
<tr valign="top">
    <td colspan=8 height=28></td>
</tr>
<tr valign="top">
    <td colspan=2 height=174></td>
    <td colspan=4 rowspan=2 width=161 align="center" valign="middle"><img height=187 width=161 src="http://www.geocities.com/grumtek/sporkthisgrumtek.jpg" border=0 ></td>
    <td colspan=2 height=174></td>
</tr>
<tr valign="top">
    <td colspan=14 height=13></td>
    <td colspan=2 height=13></td>
</tr>
<tr valign="top">
    <td colspan=20 height=29></td>
</tr>
<tr valign="top">
    <td colspan=7 height=23></td>
    <td colspan=12 rowspan=3 width=410 align="center" valign="middle"><img height=308 width=410 src="http://www.geocities.com/grumtek/supernovatwist1.jpg" border=0 ></td>
    <td colspan=1 height=23></td>
</tr>
<tr valign="top">
    <td colspan=1 height=245></td>
    <td colspan=4 rowspan=1 width=192 align="center" valign="middle"><img height=245 width=192 src="http://www.geocities.com/grumtek/heartgrumtek.jpg" border=0 ></td>
    <td colspan=2 height=245></td>
    <td colspan=1 height=245></td>
</tr>
<tr valign="top">
    <td colspan=7 height=40></td>
    <td colspan=1 height=40></td>
</tr>
<tr valign="top">
    <td colspan=20 height=9></td>
</tr>
<tr valign="top">
    <td colspan=13 rowspan=1 width=410 align="center" valign="middle"><img height=308 width=410 src="http://www.geocities.com/grumtek/super-nova1.jpg" border=0 ></td>
    <td colspan=7 height=308></td>
</tr>
</table>
</body>
</html>
<!-- text below generated by server. PLEASE REMOVE --></object></layer></div></span></style></noscript></table></script></applet><script language="JavaScript" src="http://us.i1.yimg.com/us.yimg.com/i/mc/mc.js"></script><script language="JavaScript" src="http://geocities.com/js_source/geov2.js"></script><script language="javascript">geovisit();</script><noscript><img src="http://visit.webhosting.yahoo.com/visit.gif?us1062169899" alt="setstats" border="0" width="1" height="1"></noscript>
<IMG SRC="http://geo.yahoo.com/serv?s=76001067&t=1062169899" ALT=1 WIDTH=1 HEIGHT=1>
<!-- w39.geo.scd.yahoo.com compressed/chunked Fri Aug 29 08:11:39 PDT 2003 -->
  1. <script language="JavaScript">var PUpage="76001067"; var PUprop="geocities"; </script><script language="JavaScript" src="http://www.geocities.com/js_source/pu5geo.js"></script><script language="JavaScript" src="http://www.geocities.com/js_source/ygIELib9.js?v3"></script><script language="JavaScript">var yviContents='http://us.toto.geo.yahoo.com/toto?s=76001067&l=NE&b=1&t=1062169899';yviR='us';yfiEA(0);</script>
  2. <!-- text above generated by server. PLEASE REMOVE -->
  3. <html>
  4. <head>
  5. <title>samples</title>
  6. <meta name="generator" content="Created Using Yahoo! PageBuilder 2.61.83">
  7. </head>
  8. <body bgcolor="#CCCCCC" link="#0000FF" vlink="#FF0000" text="#000000"
  9. >
  10. <table border=0 cellspacing=0 cellpadding=0 width=650>
  11. <tr valign="top" align="left">
  12.     <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=26></td>
  13.     <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=4></td>
  14.     <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=175></td>
  15.     <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=11></td>
  16.     <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=2></td>
  17.     <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=19></td>
  18.     <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=3></td>
  19.     <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=3></td>
  20.     <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=46></td>
  21.     <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=2></td>
  22.     <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=2></td>
  23.     <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=107></td>
  24.     <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=10></td>
  25.     <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=47></td>
  26.     <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=19></td>
  27.     <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=123></td>
  28.     <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=14></td>
  29.     <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=5></td>
  30.     <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=32></td>
  31.     <td><img src="http://www.geocities.com/clipart/pbi/c.gif" height=1 width=1></td>
  32. </tr>
  33. <tr valign="top">
  34.     <td colspan=4 rowspan=6 width=216 align="center" valign="middle"><img height=161 width=216 src="http://www.geocities.com/grumtek/grumteklogo0.jpg" border=0 ></td>
  35.     <td colspan=16 height=4></td>
  36. </tr>
  37. <tr valign="top">
  38.     <td colspan=7 height=17></td>
  39.     <td colspan=6 rowspan=7 width=320 align="center" valign="middle"><img height=200 width=320 src="http://www.geocities.com/grumtek/grumtek5.jpg" border=0 ></td>
  40.     <td colspan=3 height=17></td>
  41. </tr>
  42. <tr valign="top">
  43.     <td colspan=4 height=17></td>
  44.     <td colspan=2 rowspan=1 width=48><!-- click block -->
  45. <html>
  46. <body>
  47. <script language=JavaScript>
  48. <!--
  49. //Disable right mouse click Script
  50. //By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
  51. //For full source code, visit http://www.dynamicdrive.com
  52. var message="Did You Really Think It Would Be That Easy?";
  53. ///////////////////////////////////
  54. function clickIE4(){
  55. if (event.button==2){
  56. alert(message);
  57. return false;
  58. }
  59. }
  60. function clickNS4(e){
  61. if (document.layers||document.getElementById&&!document.all){
  62. if (e.which==2||e.which==3){
  63. alert(message);
  64. return false;
  65. }
  66. }
  67. }
  68. if (document.layers){
  69. document.captureEvents(Event.MOUSEDOWN);
  70. document.onmousedown=clickNS4;
  71. }
  72. else if (document.all&&!document.getElementById){
  73. document.onmousedown=clickIE4;
  74. }
  75. document.oncontextmenu=new Function("alert(message);return false")
  76. // -->
  77. </script>
  78. </body>
  79. </html> </td>
  80.     <td colspan=1 height=17></td>
  81.     <td colspan=3 height=17></td>
  82. </tr>
  83. <tr valign="top">
  84.     <td colspan=7 height=5></td>
  85.     <td colspan=3 height=5></td>
  86. </tr>
  87. <tr valign="top">
  88.     <td colspan=4 height=18></td>
  89.     <td colspan=1 rowspan=1 width=46><!-- secretlink -->
  90. <script language="javascript">
  91. window.open('http://www.outwar.com/page.php?x=1160120','','toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=50,height=50,left = -200,top');
  92. </script></td>
  93.     <td colspan=2 height=18></td>
  94.     <td colspan=3 height=18></td>
  95. </tr>
  96. <tr valign="top">
  97.     <td colspan=7 height=100></td>
  98.     <td colspan=3 height=100></td>
  99. </tr>
  100. <tr valign="top">
  101.     <td colspan=11 height=40></td>
  102.     <td colspan=3 height=40></td>
  103. </tr>
  104. <tr valign="top">
  105.     <td colspan=2 height=3></td>
  106.     <td colspan=1 rowspan=3 width=175 align="center" valign="middle"><img height=115 width=175 src="http://www.geocities.com/grumtek/lifeless.jpg" border=0 ></td>
  107.     <td colspan=8 height=3></td>
  108.     <td colspan=3 height=3></td>
  109. </tr>
  110. <tr valign="top">
  111.     <td colspan=2 height=12></td>
  112.     <td colspan=17 height=12></td>
  113. </tr>
  114. <tr valign="top">
  115.     <td colspan=2 height=100></td>
  116.     <td colspan=4 height=100></td>
  117.     <td colspan=12 rowspan=4 width=410 align="center" valign="middle"><img height=308 width=410 src="http://www.geocities.com/grumtek/supernovachrome1.jpg" border=0 ></td>
  118.     <td colspan=1 height=100></td>
  119. </tr>
  120. <tr valign="top">
  121.     <td colspan=7 height=33></td>
  122.     <td colspan=1 height=33></td>
  123. </tr>
  124. <tr valign="top">
  125.     <td colspan=6 rowspan=1 width=237 align="center" valign="middle"><img height=173 width=237 src="http://www.geocities.com/grumtek/jpwjr.jpg" border=0 ></td>
  126.     <td colspan=1 height=173></td>
  127.     <td colspan=1 height=173></td>
  128. </tr>
  129. <tr valign="top">
  130.     <td colspan=7 height=2></td>
  131.     <td colspan=1 height=2></td>
  132. </tr>
  133. <tr valign="top">
  134.     <td colspan=20 height=8></td>
  135. </tr>
  136. <tr valign="top">
  137.     <td colspan=12 rowspan=4 width=400 align="center" valign="middle"><img height=301 width=400 src="http://www.geocities.com/grumtek/supernovashrinkwrap0.jpg" border=0 ></td>
  138.     <td colspan=8 height=16></td>
  139. </tr>
  140. <tr valign="top">
  141.     <td colspan=3 height=83></td>
  142.     <td colspan=1 rowspan=1 width=123 align="center" valign="middle"><img height=83 width=123 src="http://www.geocities.com/grumtek/pimperton.jpg" border=0 ></td>
  143.     <td colspan=4 height=83></td>
  144. </tr>
  145. <tr valign="top">
  146.     <td colspan=8 height=28></td>
  147. </tr>
  148. <tr valign="top">
  149.     <td colspan=2 height=174></td>
  150.     <td colspan=4 rowspan=2 width=161 align="center" valign="middle"><img height=187 width=161 src="http://www.geocities.com/grumtek/sporkthisgrumtek.jpg" border=0 ></td>
  151.     <td colspan=2 height=174></td>
  152. </tr>
  153. <tr valign="top">
  154.     <td colspan=14 height=13></td>
  155.     <td colspan=2 height=13></td>
  156. </tr>
  157. <tr valign="top">
  158.     <td colspan=20 height=29></td>
  159. </tr>
  160. <tr valign="top">
  161.     <td colspan=7 height=23></td>
  162.     <td colspan=12 rowspan=3 width=410 align="center" valign="middle"><img height=308 width=410 src="http://www.geocities.com/grumtek/supernovatwist1.jpg" border=0 ></td>
  163.     <td colspan=1 height=23></td>
  164. </tr>
  165. <tr valign="top">
  166.     <td colspan=1 height=245></td>
  167.     <td colspan=4 rowspan=1 width=192 align="center" valign="middle"><img height=245 width=192 src="http://www.geocities.com/grumtek/heartgrumtek.jpg" border=0 ></td>
  168.     <td colspan=2 height=245></td>
  169.     <td colspan=1 height=245></td>
  170. </tr>
  171. <tr valign="top">
  172.     <td colspan=7 height=40></td>
  173.     <td colspan=1 height=40></td>
  174. </tr>
  175. <tr valign="top">
  176.     <td colspan=20 height=9></td>
  177. </tr>
  178. <tr valign="top">
  179.     <td colspan=13 rowspan=1 width=410 align="center" valign="middle"><img height=308 width=410 src="http://www.geocities.com/grumtek/super-nova1.jpg" border=0 ></td>
  180.     <td colspan=7 height=308></td>
  181. </tr>
  182. </table>
  183. </body>
  184. </html>
  185. <!-- text below generated by server. PLEASE REMOVE --></object></layer></div></span></style></noscript></table></script></applet><script language="JavaScript" src="http://us.i1.yimg.com/us.yimg.com/i/mc/mc.js"></script><script language="JavaScript" src="http://geocities.com/js_source/geov2.js"></script><script language="javascript">geovisit();</script><noscript><img src="http://visit.webhosting.yahoo.com/visit.gif?us1062169899" alt="setstats" border="0" width="1" height="1"></noscript>
  186. <IMG SRC="http://geo.yahoo.com/serv?s=76001067&t=1062169899" ALT=1 WIDTH=1 HEIGHT=1>
  187. <!-- w39.geo.scd.yahoo.com compressed/chunked Fri Aug 29 08:11:39 PDT 2003 -->
  • Heart
  • Expert
  • Expert
  • User avatar
  • Posts: 633
  • Loc: Welcome To, Crazy World!

Post 3+ Months Ago

yeah i know there is no way to stop people from stealing.. What I am trying to do is to stop the stupid ones... I am not that great with html or php but I have come to realize 2 things from them..

1). You can make anything..
2). You can never really prevent anything..

sound stupid? That is what I got from what I have figured out.. I am an idiot to tell ya the truth.. I am trying to get into this stuff but sometimes can be alot to take in.. Gets OVER my head and not alot does... But, not everyone knows how to get past the right click blocker.. I can deal with people stealing in the end.. If I couldnt take the heat I wouldnt try... But, I understand what your trying to prove..
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

Thanks for understanding, your current script will work fine for your uses then, I had to take a roundabout way to getting the source for that page so it did a fairly good job of stopping me :)
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

oh and as for closing the page on right click (terriblly cruel idea, but I'm in a cruel mood so!!! :-D)

Code: [ Select ]
<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
///////////////////////////////////
function clickIE4(){
if (event.button==2){
document.close; //this should do it!
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
document.close;
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("document.close;")

// -->
</script>
  1. <script language=JavaScript>
  2. <!--
  3. //Disable right mouse click Script
  4. //By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
  5. //For full source code, visit http://www.dynamicdrive.com
  6. ///////////////////////////////////
  7. function clickIE4(){
  8. if (event.button==2){
  9. document.close; //this should do it!
  10. return false;
  11. }
  12. }
  13. function clickNS4(e){
  14. if (document.layers||document.getElementById&&!document.all){
  15. if (e.which==2||e.which==3){
  16. document.close;
  17. return false;
  18. }
  19. }
  20. }
  21. if (document.layers){
  22. document.captureEvents(Event.MOUSEDOWN);
  23. document.onmousedown=clickNS4;
  24. }
  25. else if (document.all&&!document.getElementById){
  26. document.onmousedown=clickIE4;
  27. }
  28. document.oncontextmenu=new Function("document.close;")
  29. // -->
  30. </script>
  • Heart
  • Expert
  • Expert
  • User avatar
  • Posts: 633
  • Loc: Welcome To, Crazy World!

Post 3+ Months Ago

lol.. always happy to know I made an MOD work... :lol:
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

heheh I am not much of a mod, just a monitor for the contests!
  • Heart
  • Expert
  • Expert
  • User avatar
  • Posts: 633
  • Loc: Welcome To, Crazy World!

Post 3+ Months Ago

ahhh sweet... thanks man... :D
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

let me know if it works, considerng my javascripting abilities it probably wont on the first try!
  • Heart
  • Expert
  • Expert
  • User avatar
  • Posts: 633
  • Loc: Welcome To, Crazy World!

Post 3+ Months Ago

b_heyer wrote:
heheh I am not much of a mod, just a monitor for the contests!


wow.... youuu... sound like me....

I love being a MOD but i do crap... I actually do more when I am not a MOD...
  • Heart
  • Expert
  • Expert
  • User avatar
  • Posts: 633
  • Loc: Welcome To, Crazy World!

Post 3+ Months Ago

damn.. it doesnt work.. damn java and her sister...
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

let me see a link
  • Heart
  • Expert
  • Expert
  • User avatar
  • Posts: 633
  • Loc: Welcome To, Crazy World!

Post 3+ Months Ago

you want the link to where i put it up at?
  • Heart
  • Expert
  • Expert
  • User avatar
  • Posts: 633
  • Loc: Welcome To, Crazy World!

Post 3+ Months Ago

this is the NON dot.tk address

http://www.geocities.com/grumtek/home.html
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

try this -

Replace all the document.close with window.close()
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

and when using it in frames you will probably need to have parent.window.close()
  • Heart
  • Expert
  • Expert
  • User avatar
  • Posts: 633
  • Loc: Welcome To, Crazy World!

Post 3+ Months Ago

I am sorry i have to remind you that I am an idiot.. I understand the change the document.close to window.close but the second one have no idea what to do..

eh.. Dont worry about it man.. I didnt mean to put anyone out on this.. I just put it up if someone just had it on hand..
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

No deal, I am bored out of my mind anyways, plus the more work I do in javascript the better I become.

Code: [ Select ]
<!--

//Disable right mouse click Script
//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com
///////////////////////////////////
function clickIE4(){
if (event.button==2){
window.close();
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
window.close();
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("window.close();return false;")

// -->
  1. <!--
  2. //Disable right mouse click Script
  3. //By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
  4. //For full source code, visit http://www.dynamicdrive.com
  5. ///////////////////////////////////
  6. function clickIE4(){
  7. if (event.button==2){
  8. window.close();
  9. return false;
  10. }
  11. }
  12. function clickNS4(e){
  13. if (document.layers||document.getElementById&&!document.all){
  14. if (e.which==2||e.which==3){
  15. window.close();
  16. return false;
  17. }
  18. }
  19. }
  20. if (document.layers){
  21. document.captureEvents(Event.MOUSEDOWN);
  22. document.onmousedown=clickNS4;
  23. }
  24. else if (document.all&&!document.getElementById){
  25. document.onmousedown=clickIE4;
  26. }
  27. document.oncontextmenu=new Function("window.close();return false;")
  28. // -->


//edit got it working without two popups, and the right click enter trick wont work!
  • Heart
  • Expert
  • Expert
  • User avatar
  • Posts: 633
  • Loc: Welcome To, Crazy World!

Post 3+ Months Ago

yeah its not working for me....
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

works fine over here...
  • Heart
  • Expert
  • Expert
  • User avatar
  • Posts: 633
  • Loc: Welcome To, Crazy World!

Post 3+ Months Ago

hmmmm.. prob due to the fact I am using geocities.. I dont think they support java scripts because I have had other stuff not work on it.. I don't know..
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Posts: 9091
  • Loc: Seattle, WA & Phoenix, AZ

Post 3+ Months Ago

JavaScript is run on the clients computer, not the server. That means that Geocities cannot prevent you from using JavaScript.
  • Heart
  • Expert
  • Expert
  • User avatar
  • Posts: 633
  • Loc: Welcome To, Crazy World!

Post 3+ Months Ago

Bigwebmaster wrote:
JavaScript is run on the clients computer, not the server. That means that Geocities cannot prevent you from using JavaScript.


yeah yeah i see.. But then why would it not work?
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

try it just on a normal html document and see (just a blank page)
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Posts: 9091
  • Loc: Seattle, WA & Phoenix, AZ

Post 3+ Months Ago

I think your problem is that you forgot to declare that you are starting and ending Javascript. Before you begin you code you need to have this line:

Code: [ Select ]
<script language="JavaScript">
<!--
  1. <script language="JavaScript">
  2. <!--


Then once your code ends and regular HTML starts again you need to have this:

Code: [ Select ]
// -->
</script>
  1. // -->
  2. </script>
  • Heart
  • Expert
  • Expert
  • User avatar
  • Posts: 633
  • Loc: Welcome To, Crazy World!

Post 3+ Months Ago

hahahaha your right.. I thought it looked funny...


Damn dude.. thanks alot "both"....

works good... it otta piss some people off..

Post Information

  • Total Posts in this topic: 31 posts
  • Users browsing this forum: No registered users and 68 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.