|
Web design and Programming Discuss website creation and other programming topics. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||
|
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 |
#2
|
||
|
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> |
#4
|
||
|
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.
__________________
|
#5
|
||
|
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.
|
#6
|
||
|
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 |
#7
|
||
|
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) |
#8
|
|||
|
Quote:
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. |
#9
|
||
|
what you mean with "watermark" ???
sorry, im not familiar with english... |
#10
|
|||
|
Quote:
|
#11
|
|||
|
Quote:
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. |
#12
|
||
|
uh, a quick and effective solution, but not so smart...you know...anyway it could be a good way to prevent ripping....
|
#14
|
||
|
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 |
#15
|
||
|
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. |
#16
|
||
|
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!! |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
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 |