September 25, 2022, 12:06:51 pm
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to Revolution X, where Coding meets Graphics.
 
  Home Help Search Arcade Affiliates Staff List Calendar Members Login Register  

Stop People From Stealing Images Or Codes

Pages: [1]   Go Down
  Print  
Author Topic: Stop People From Stealing Images Or Codes  (Read 750 times)
Scripto
Newcomers!
Newcomers!
Offline Offline

Posts: 2


View Profile
Badges: (View All)
« on: January 17, 2009, 09:15:40 am »

Change Where It Says "YOUR FORUM URL HERE" And "ANY TEXT HERE".

Quote
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.com

var 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">
Report Spam   Logged

Share on Facebook Share on Twitter

Lawrence
Starter
Starter
Offline Offline

Gender: Male
Posts: 14


Busy, busy, busy...


View Profile
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. Wink
Report Spam   Logged

Exilis
Optimistic & Creative
Global Moderator
Global Moderator
Offline Offline

Posts: 929


View Profile
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...
Report Spam   Logged

Global Mod, (sort of) at your service.

http://twitter.com/timothyaveni

Celebrus
Artificially Conscious
Administrator
Adminitrator
Offline Offline

Gender: Male
Posts: 626



View Profile WWW
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.
Report Spam   Logged

shimmy shabby
Exclusive
Exclusive
Offline Offline

Posts: 432



View Profile
Badges: (View All)
« 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.
Report Spam   Logged




@Everypme: Yea my days of sig chatting are over, it's just so hard to go to my profile, and edit my signature everytime i see a response. Actually, it isn't, but... I'm just that lazy
Mojobojo82
MVP
MVP
Offline Offline

Gender: Male
Posts: 838


View Profile
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 Tongue  Afro
Report Spam   Logged






Exilis
Optimistic & Creative
Global Moderator
Global Moderator
Offline Offline

Posts: 929


View Profile
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

Global Mod, (sort of) at your service.

http://twitter.com/timothyaveni

Mojobojo82
MVP
MVP
Offline Offline

Gender: Male
Posts: 838


View Profile
Badges: (View All)
« Reply #7 on: June 25, 2009, 07:47:52 am »

Omg.. I never knew Ctrl+U gets it  Roll Eyes
Hopefully they don't know Tongue
Report Spam   Logged






Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy