| View previous topic :: View next topic |
| Author |
Message |
kamanaka
Joined: 27 Apr 2006 Posts: 3
|
Posted: Thu Apr 27, 2006 8:53 pm how do I disable right clicking on my myspace? |
|
|
|
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
|
Posted: Fri Apr 28, 2006 11:36 am |
|
|
|
| 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
|
Posted: Sat May 13, 2006 7:11 pm allow javascript on myspace |
|
|
|
| how do you overide the java script on myspace |
|
chrisxkelley
Joined: 07 Dec 2004 Posts: 246
|
Posted: Fri May 26, 2006 8:05 am |
|
|
|
you dont. its against their TOS and will get your account deleted. plus, you just cant.  |
|
huntmdown

Joined: 27 Sep 2006 Posts: 11 Location: Illinois
|
Posted: Wed Sep 27, 2006 1:39 pm |
|
|
|
chris,
Thanks for the straight answer! I been surging the net for a solid answer! |
|
romeo-dollarz
Joined: 29 Jan 2007 Posts: 2
|
Posted: Mon Jan 29, 2007 2:37 am Re: how do I disable right clicking on my myspace? |
|
|
|
| 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
|
Posted: Mon Jan 29, 2007 7:13 am |
|
|
|
| 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
|
Posted: Sat Mar 17, 2007 5:24 pm |
|
|
|
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
|
Posted: Sat Mar 24, 2007 10:12 pm no right click |
|
|
|
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
|
Posted: Thu Sep 13, 2007 7:20 pm |
|
|
|
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
|
Posted: Fri Sep 14, 2007 5:53 am |
|
|
|
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
|
Posted: Sun Aug 31, 2008 9:53 am |
|
|
|
| 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. |
|
|