HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
how do I disable right clicking on my myspace?
Post new topic   Reply to topic    HTML Help Forum Index -> MySpace
View previous topic :: View next topic  
Author Message
kamanaka



Joined: 27 Apr 2006
Posts: 3

PostPosted: Thu Apr 27, 2006 8:53 pm     how do I disable right clicking on my myspace? Reply with quote

can you help me get the html to diable the right clicking feature on myspace? People keep stealing my icons and pictures and I need it to stop. plz remember javascript isn't allowed so plz post html

<3
degsy



Joined: 23 Feb 2005
Posts: 2440
Location: North East, UK

PostPosted: Fri Apr 28, 2006 11:36 am     Reply with quote

can't be done. Right click scripts are javascript, but that doesn't matter because javascript can be disabled and overwridden.
jayryder91



Joined: 13 May 2006
Posts: 1

PostPosted: Sat May 13, 2006 7:11 pm     allow javascript on myspace Reply with quote

how do you overide the java script on myspace
chrisxkelley



Joined: 07 Dec 2004
Posts: 246

PostPosted: Fri May 26, 2006 8:05 am     Reply with quote

you dont. its against their TOS and will get your account deleted. plus, you just cant. Razz
huntmdown



Joined: 27 Sep 2006
Posts: 11
Location: Illinois

PostPosted: Wed Sep 27, 2006 1:39 pm     Reply with quote

chris,
Thanks for the straight answer! I been surging the net for a solid answer!
romeo-dollarz



Joined: 29 Jan 2007
Posts: 2

PostPosted: Mon Jan 29, 2007 2:37 am     Re: how do I disable right clicking on my myspace? Reply with quote

kamanaka wrote:
can you help me get the html to diable the right clicking feature on myspace? People keep stealing my icons and pictures and I need it to stop plz remember javascript isn't allowed so plz post html

<3


can ya help me get the html to diable the right clicking features on myspace please?
Pattons3rd



Joined: 28 Dec 2006
Posts: 1212
Location: Colorado

PostPosted: Mon Jan 29, 2007 7:13 am     Reply with quote

I don't think it is possible with plain HTML and Myspace doesn't allow languages that can do this.
Tyler122



Joined: 17 Mar 2007
Posts: 1

PostPosted: Sat Mar 17, 2007 5:24 pm     Reply with quote

Actually it is rather simple, but it will not work on Myspace. Myspace does not allow CSS codes. I figured well how are they going to find me using the code out of 100 million other people. It isn't the fact that they need to find me it is the fact that they disable it somehow.

Take a visit to my website for more information.

http://www.dadsgold.com[/code]
pepper



Joined: 24 Mar 2007
Posts: 4

PostPosted: Sat Mar 24, 2007 10:12 pm     no right click Reply with quote

I don't know why they don't allow JavaScript but keep the code below in case you need it else where.


<!-- Start of NO RIGHT CLICK AT ALL -->
<script language=JavaScript>
<!--

//Disable right click script III- By Renigade (renigadeatmediaone.net)
//For full source code, visit http://www.dynamicdrive.com

var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false")
// -->
</script></head>
<!-- END of NO RIGHT CLICK AT ALL -->
squashpapa2000



Joined: 13 Sep 2007
Posts: 1

PostPosted: Thu Sep 13, 2007 7:20 pm     Reply with quote

Since javascript is disabled on myspace, you can't disable right-clicking for your page...

But this is a method to stop people from simply right-clicking on your images and saving them....

*notes:
a) this will only work for externally hosted images that you place into your main profile page... it will NOT work for images on your pics page(s)... it will not work for your default image, your friends images, or images in your comments...
b) users that know how to read html can view the source code for your page and get the urls of your images...
c) NOTHING can stop people from taking screenshots of stuff you post on your profile...
d) you will have to use this method for EACH image that you want to *protect*... there is no way to apply it to all images at once...

Normally you would post an image on your profile using the <img src="url"> code... anyone can right-click on the image and save it to their pc...

Basically the way to get around it is, instead of inserting that image into your page, you will insert a div... the div will contain a transparent gif image and your image will be set as the background... people will still be able to right-click and save the image, but the image they will be saving is the transparent gif... they won't be getting your precious image....

The only tricky bit is that you have to know the dimensions of your image in pixels... you can find that by simply right-clicking on the image and selecting "properties" from the menu... you'll have to enter the dimensions of the image into the code twice (once to set the size of the div, and once to set the size of the transparent gif)...

this is the code you will use:

<div style="width:XXXpx; height:YYYpx; background-image:url(http://YourImageUrlHere);">
<img src="http://x.myspace.com/images/clear.gif" width="XXXpx" height="YYYpx" border="0">
</div>

replace the red bits with the info of your image, and paste that code in your profile where you want your *protected* image to appear.....


you will have to use this for ALL images






Pattons3rd wrote:
I don't think it is possible with plain HTML and Myspace doesn't allow languages that can do this.
Pattons3rd



Joined: 28 Dec 2006
Posts: 1212
Location: Colorado

PostPosted: Fri Sep 14, 2007 5:53 am     Reply with quote

Yes that is a good method to help keep it down for people who wouldn't know how to do it, but you could pretty easily take a screenshot or look at the sourcee as you said.
But I guess it would be worth your time to try.
Aftershock



Joined: 31 Aug 2008
Posts: 1

PostPosted: Sun Aug 31, 2008 9:53 am     Reply with quote

The only way I can think of is maybe posting your photos in a slideshow or a flash application to prevent this from happening. Then go into where you keep your photos stored on myspace and change the settings to where nobody has access to them. Only an idea I use.
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> MySpace All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial