Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

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.

Replies are listed 'Best First'.
Re: Crude javascript solution
by Mr. Muskrat (Canon) 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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2018-05-26 14:49 GMT
Find Nodes?
    Voting Booth?