Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Crude javascript solution

by nop (Hermit)
on Nov 13, 2002 at 19:20 UTC ( #212667=note: print w/ replies, xml ) Need Help??


in reply to Mangling HTML to protect content, and finding stolen HTML content

This is nop again. OK, this is really simple and crude, but this small javascript hack does slow down the basic click-and-save image grabbers. Yes, they can view source and get the image URL there, but that's more inconvenient, plus (as our pages are graphics-rich with images, banners, logos, nav elements, etc) it takes a few moments to find the right IMG tag in the source. Here's a site using it: http://www.marvelcreations.com/priv15.html </code> Right click on their images and try to save them.


Comment on Crude javascript solution
Re: Crude javascript solution
by Mr. Muskrat (Abbot) on Nov 13, 2002 at 19:32 UTC

    I hate to be harsh nop but it is very crude indeed, as it doesn't work with all browsers. I viewed that page with Phoenix 0.4 and was able to right-click all I wanted. It doesn't stop someone from saving the page and the images (most modern browsers do this). It also doesn't stop some one from using software other than a browser to download everything.

      Yep. Basically stops the IE crowd. As I said, it isn't a "solution" by any means.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://212667]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2014-09-20 19:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (160 votes), past polls