Ok THis is what i'm talkin about there was a code on Xanga that Made the Xanga Non Right clickable.and would make the one who clicked right. Be redirect to a diffrent page I was wondering if There was a way to make the code that worked on xanga work on Myspace? (well it wasn't Disable right click but it made you not able to RIght Click lol)
Code from Xanga(It was a script): %26lt;script LANGUAGE="JavaScript"%26gt;
// Right Click Infinate Warning
document.onmousedown=click
var times=0
var times2=10
function click() {
if ((event.button==2) || (event.button==3)) {
if (times%26gt;=1) { bye() }
alert("First message goes here");
times++ } }
function bye() {
alert("Second message goes here");
bye() }
%26lt;/SCRIPT%26gt;
The Xanga code
Myspace Question About Disabling Right CLick.?windows nt
no javascript on myspace.
but you can google
for "301 Redirect" concept.
Myspace Question About Disabling Right CLick.?windows 95 internet explorer
Of course you can't add JavaScript to myspace!
But you can add css to put the images in background.
%26lt;img src = "clear.gif" style="background-image: url(real.gif)" width="100" height="100"%26gt;
the right click will save the clear gif instead!
well here is the link and you might find some of the other stuff useful, have a great day.
http://www.myspace-codes.com/myspace_the...
The no right click thing is pretty useless and will more than likely just tick people off.
First most people use their right button for opening a link in a new tab, back, forward and to bookmark a page. I like full page view and use my right button all the time, and several of my Firefox plugins work by right clicking. When I come across a site that disables my right click, I just leave that site never to return.
What are you trying to accomplish, hiding your code? Did you ever hear of view source, save page, hotlinking, screen capture etc.
You can encode your source code, you can watermark your graphics, you can even copyright your content, but disabling right clicking is totally useless. Besides that all someone has to do is disable Java and they can right click all they want.
No comments:
Post a Comment