Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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: </code> Right click on their images and try to save them.

Comment on Crude javascript solution
Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2015-11-26 17:59 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (705 votes), past polls