Go Back   Novahq.net Forum > Computers > Web design and Programming
FAQ Community Calendar Today's Posts Search

Web design and Programming Discuss website creation and other programming topics.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-05-2006, 10:14 AM
.::nØ燎ƒµEL::. is offline .::nØ燎ƒµEL::.
Registered User

Join Date: Apr 2005
Posts: 220

old html trick

uh, i remember i used to write just a few lines in html so that a popup window appeared when right-cliking anywhere on the page, mainly used to protect images from copy (just for dummies, i know, so a huge part of people websurfing...)

it was a little piece of html code that allowed you to associate right click with the popping-up of a custom window in where you could write anything like "images are (c) 2006 myname"....

ne1 remember how to do this??

thankyou
__________________

I am the bedtime of Reason
I am the reason for not to go to bed

Guns for the show, Knives for a pro!!

Reply With Quote
  #2  
Old 03-05-2006, 10:25 AM
the þrox™ is offline the þrox™
Registered User

Join Date: Aug 2003
Posts: 3,739

Send a message via ICQ to the þrox™ Send a message via AIM to the þrox™
This is what i found off Google, its not HTML its javascript, but it should work the same:
Code:
<SCRIPT LANGUAGE="JavaScript1.1">
<!-- Original:  Martin Webb (martin@irt.org) --> 
  
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com --> 
  
<!-- Begin
function right(e) {
if (navigator.appName == 'Netscape' &&
(e.which == 3 || e.which == 2))
return false;
else if (navigator.appName == 'Microsoft Internet Explorer' &&
(event.button == 2 || event.button == 3)) {
alert("I'm sorry, The Right click option on your mouse has been disabled for the download window pages.");
return false;
}
return true;
} 
  
document.onmousedown=right;
document.onmouseup=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (document.layers) window.captureEvents(Event.MOUSEUP);
window.onmousedown=right;
window.onmouseup=right;
//  End -->
</script>
However these tricks are by passible by simply holding down the right click on the mouse and just hitting enter when the message pops up, so its a good anti-dummy tool but if someone wants your image they can still get it.
__________________



----------------------------------------
[Presents: ++]

Sigs Made: [29]
Reply With Quote
  #3  
Old 03-05-2006, 12:54 PM
Jeff is offline Jeff
Registered User

Join Date: Jun 2005
Posts: 1,602

Send a message via AIM to Jeff
View>Page Source (Ctrl+U)

Easily beaten :P.. But like what was said, it's dummy proof.
__________________
Exit 13 - Web design and development.
My Blog - Read up on what i'm up to.
Reply With Quote
  #4  
Old 03-05-2006, 01:14 PM
Capers is offline Capers
Registered User

Join Date: Oct 2003
Posts: 158

Also, doing such a thing on right click is very very annoying for the user especially when the right click is accidental or to access items such as page refresh and adding to favourites.
__________________
Reply With Quote
  #5  
Old 03-05-2006, 07:22 PM
JonM is offline JonM
Registered User

Join Date: Jun 2004
Posts: 2,156

Personally you need things like hotlink protection, copy right images, and check stats. See what images are getting seen from where. Don't do the right click thing.
Reply With Quote
  #6  
Old 03-06-2006, 12:25 PM
.::nØ燎ƒµEL::. is offline .::nØ燎ƒµEL::.
Registered User

Join Date: Apr 2005
Posts: 220

ok, thanks proxy, that's exactly wat i needed, i know it's only dummy proof, but i need it just cos i'm having a personal photo expo in june and i'm developing a little support site, and most dummies won't copy my photographs hahahaha!!

anyway, what exactly is hotlink protection, copy right images, and check stats?? do i need to pay for this??

thanks for the help
__________________

I am the bedtime of Reason
I am the reason for not to go to bed

Guns for the show, Knives for a pro!!

Reply With Quote
  #7  
Old 03-06-2006, 12:34 PM
Steve is offline Steve
Steve's Avatar
Administrator

Join Date: Sep 2001
Location: 2077
Posts: 21,552

Send a message via ICQ to Steve
a nice watermark on the images would be good


fyi my fave way of getting an image it just click on it and drag to the address bar. it instantly removed the image from the site, puts the image address in the address bar and disables any scripts

(unless the image has a link embedded)
Reply With Quote
  #8  
Old 03-06-2006, 04:02 PM
Jeff is offline Jeff
Registered User

Join Date: Jun 2005
Posts: 1,602

Send a message via AIM to Jeff
Quote:
Originally posted by Steve
a nice watermark on the images would be good


fyi my fave way of getting an image it just click on it and drag to the address bar. it instantly removed the image from the site, puts the image address in the address bar and disables any scripts

(unless the image has a link embedded)
Nifty, never realized you could do that.. like macs.
Wait, lol now i just realized that won't help you at all with mac users.
They just click and hold with a one button mouse.
__________________
Exit 13 - Web design and development.
My Blog - Read up on what i'm up to.
Reply With Quote
  #9  
Old 03-06-2006, 06:24 PM
.::nØ燎ƒµEL::. is offline .::nØ燎ƒµEL::.
Registered User

Join Date: Apr 2005
Posts: 220

what you mean with "watermark" ???
sorry, im not familiar with english...
__________________

I am the bedtime of Reason
I am the reason for not to go to bed

Guns for the show, Knives for a pro!!

Reply With Quote
  #10  
Old 03-06-2006, 09:10 PM
the þrox™ is offline the þrox™
Registered User

Join Date: Aug 2003
Posts: 3,739

Send a message via ICQ to the þrox™ Send a message via AIM to the þrox™
Quote:
Originally posted by Steve
a nice watermark on the images would be good


fyi my fave way of getting an image it just click on it and drag to the address bar. it instantly removed the image from the site, puts the image address in the address bar and disables any scripts

(unless the image has a link embedded)
wow cool
__________________



----------------------------------------
[Presents: ++]

Sigs Made: [29]
Reply With Quote
  #11  
Old 03-07-2006, 05:50 AM
Steve is offline Steve
Steve's Avatar
Administrator

Join Date: Sep 2001
Location: 2077
Posts: 21,552

Send a message via ICQ to Steve
Quote:
Originally posted by .::nØ燎ƒµEL::.
what you mean with "watermark" ???
sorry, im not familiar with english...

quick sample off google (i.e. i didnt make this):



it's when soemone puts usually faint text over an image. it prevents other people from using it becasue no matter what they do to the image, u can generally see the 'watermark'. it's almost always faint so that anyone viewing the image can still see it pretty clearly.
Reply With Quote
  #12  
Old 03-07-2006, 12:59 PM
.::nØ燎ƒµEL::. is offline .::nØ燎ƒµEL::.
Registered User

Join Date: Apr 2005
Posts: 220

uh, a quick and effective solution, but not so smart...you know...anyway it could be a good way to prevent ripping....
__________________

I am the bedtime of Reason
I am the reason for not to go to bed

Guns for the show, Knives for a pro!!

Reply With Quote
  #13  
Old 03-07-2006, 02:07 PM
Jeff is offline Jeff
Registered User

Join Date: Jun 2005
Posts: 1,602

Send a message via AIM to Jeff
Could you elaborate on why it is not smart?
__________________
Exit 13 - Web design and development.
My Blog - Read up on what i'm up to.
Reply With Quote
  #14  
Old 03-08-2006, 08:54 AM
.::nØ燎ƒµEL::. is offline .::nØ燎ƒµEL::.
Registered User

Join Date: Apr 2005
Posts: 220

it's not smart because to preserve the image un-rippability (hahaha) you have to degrade it, expecially if the image is a photography, it is a smart solution in the case of a tutorial, or for an imege when its aim is not the the image's aesthetics itself.

i'm not saying it's not effective, tho, watermarks makes the image effectively un-rippable
__________________

I am the bedtime of Reason
I am the reason for not to go to bed

Guns for the show, Knives for a pro!!

Reply With Quote
  #15  
Old 03-08-2006, 09:32 AM
Steve is offline Steve
Steve's Avatar
Administrator

Join Date: Sep 2001
Location: 2077
Posts: 21,552

Send a message via ICQ to Steve
you can be smarter at how you do it though, in the case of you dont want to ruin an image.

example:



over the blue is the text 'british-paras.co.uk' repeatedly tiled. it's black but on 2% opacity.
i can still prove it's mine, but someone looking at it would be unlikely to see it.
Reply With Quote
  #16  
Old 03-08-2006, 03:18 PM
.::nØ燎ƒµEL::. is offline .::nØ燎ƒµEL::.
Registered User

Join Date: Apr 2005
Posts: 220

ah, ok , you're right, steve, the aim of it is that in case of ripping, you can prove the image is yours, so watermarking in a very light way is still effective, and even, an eventual ripper could not notice the watermark at all!!!!!

THIS IS SMART!!!!!!!!

and so on, in the case of a photograph, where no uniform color pattern is present, a watermark is impossible to remove!!
__________________

I am the bedtime of Reason
I am the reason for not to go to bed

Guns for the show, Knives for a pro!!

Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New dog old trick MERMITE Delta Force 0 08-15-2009 04:15 PM
Trick to positioing in CSS Acid Web design and Programming 0 02-28-2009 04:21 PM
Fun Java trick Lucky Web design and Programming 4 11-15-2006 05:53 PM
Cool Trick and Tip for Links .DareDevil. Web design and Programming 21 08-22-2004 12:59 PM
NEW BHD DEMO(time trick) HØWÁRÐ †hè Ðû¢k Delta Force 6 01-15-2003 07:51 AM


All times are GMT -5. The time now is 01:42 AM.




Powered by vBulletin®