Scripto
|
|
« on: January 17, 2009, 09:15:40 am » |
|
Change Where It Says "YOUR FORUM URL HERE" And "ANY TEXT HERE". Footer: </script></center> <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.comvar message="YOUR FORUM URL HERE - ANY TEXT HERE [Dont Steal Codes Nor Images ]"; /////////////////////////////////// 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></center> </div></td> <td> </td> </tr> </table> </br> </p> <script type="text/javascript">
|
|
|
|
|
Lawrence
Starter
Offline
Gender:
Posts: 14
Busy, busy, busy...
Badges: (View All)
|
|
« Reply #1 on: January 17, 2009, 10:18:37 am » |
|
Does this just mean that a user is not able to right click? And surely if they were to disable javascript, then they could take the codes, and pictures.
|
|
|
|
|
Exilis
Optimistic & Creative
Global Moderator
Offline
Posts: 929
Badges: (View All)
|
|
« Reply #2 on: January 17, 2009, 01:13:23 pm » |
|
Page-View source you can do that or something similar for pretty much any browser...
|
|
|
|
Celebrus
Artificially Conscious
Administrator
Offline
Gender:
Posts: 626
Badges: (View All)
|
|
« Reply #3 on: January 17, 2009, 10:17:21 pm » |
|
I like right-click a lot, disabling it is pointless since select->ctrl+c would work anyway.
|
|
|
|
shimmy shabby
|
|
« Reply #4 on: January 23, 2009, 07:27:12 pm » |
|
Right click disabling is kind of pointless. First of all, it stops them from doing things they need to with the right click. And if u don't have your image copyrighted or anything, they're allowed to take them anyways... Also, like celebrus said, unless u block ctrl + c also, they can just do that instead. What stinks with our forums though is that they can always just enable javascript and use that to their advantage. Nice code though. I believe celebrus has a code that e-mails you whenever someone removes your credits or something from your themes, and all the otherthings. I think last time i asked him he was working some bugs out of it though.
|
|
|
|
Mojobojo82
MVP
Offline
Gender:
Posts: 838
Badges: (View All)
|
|
« Reply #5 on: June 25, 2009, 02:16:07 am » |
|
Thx for the code. Friends at school keep doing View-Source. They wouldn't know if they disable javascript they can though. So it's good
|
|
|
|
Exilis
Optimistic & Creative
Global Moderator
Offline
Posts: 929
Badges: (View All)
|
|
« Reply #6 on: June 25, 2009, 06:20:37 am » |
|
That doesn't mean it's secure.
I never actually right click anymore to view the page source. I do Ctrl+U. I won't even know if someone has that script up and I try to view their source, because I won't get the popup.
|
|
« Last Edit: June 25, 2009, 06:22:20 am by SyntaxBlitz »
|
Report Spam
Logged
|
|
|
|
Mojobojo82
MVP
Offline
Gender:
Posts: 838
Badges: (View All)
|
|
« Reply #7 on: June 25, 2009, 07:47:52 am » |
|
Omg.. I never knew Ctrl+U gets it Hopefully they don't know
|
|
|
|
|
|