Disabling Right Click on Myspace
Powered by Google
Home  |  Browse  |  Search  |  Invite  |  Film  |  Mail  |  Blog  |  Favorites  |  Forum  |  Groups  |  Events  |  Videos  |  Music  |  Comedy  |  Classifieds

Groups » BBZ2 » Topics » Disable Right-Click On Images

Click here to go back to the BBZ/Katamari Myspace Code Index
Listing 1-1 of 1    1   of  1
Author Message


M/29
myspace,
NORTH CAROLINA
Instant Message
Send Message
Reply with this quote Reply to this Post Posted:  Dec 31, 2006 6:12 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.....

here... try to steal the kitty....

***remember, nothing you post on the internet (and especially on myspace) can be secured.... the only way to keep your images from being copied is not to put them online....
Listing 1-1 of 1    1   of  1

dspPostReplies - myspace_forums_post

About | FAQ | Terms | Privacy | Safety Tips | Contact MySpace | Report Abuse |   Promote! | Advertise | MySpace International
©2003-2007 MySpace.com. All Rights Reserved.